Skip to content

Consumer example not working #42

@pkovanen

Description

@pkovanen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions