I'm trying to use latest pysher version, however the example in README.md is not working:
error from callback <bound method Connection._on_open of <Connection(PysherEventLoop, started daemon 139662709860096)>>: _on_open() takes exactly 2 arguments (1 given) error from callback <bound method Connection._on_message of <Connection(PysherEventLoop, started daemon 139662709860096)>>: _on_message() takes exactly 3 arguments (2 given) error from callback <bound method Connection._on_error of <Connection(PysherEventLoop, started daemon 139662709860096)>>: _on_error() takes exactly 3 arguments (2 given) Connection: Connection closed
Versions:
websocket-client==0.53.0
Pysher Version: 1.0.3
in addition, the example code misses imports of time and sys.
I'm trying to use latest pysher version, however the example in README.md is not working:
error from callback <bound method Connection._on_open of <Connection(PysherEventLoop, started daemon 139662709860096)>>: _on_open() takes exactly 2 arguments (1 given) error from callback <bound method Connection._on_message of <Connection(PysherEventLoop, started daemon 139662709860096)>>: _on_message() takes exactly 3 arguments (2 given) error from callback <bound method Connection._on_error of <Connection(PysherEventLoop, started daemon 139662709860096)>>: _on_error() takes exactly 3 arguments (2 given) Connection: Connection closedVersions:
websocket-client==0.53.0
Pysher Version: 1.0.3
in addition, the example code misses imports of time and sys.