Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is this realtime package you are using? #1

Open
mitchbregs opened this issue Nov 23, 2022 · 3 comments
Open

What is this realtime package you are using? #1

mitchbregs opened this issue Nov 23, 2022 · 3 comments

Comments

@mitchbregs
Copy link

requirements = ['pip>=21.1', 'termcolor>=1.1.0', 'discord-webhook>=0.16.3', 'realtime>=0.0.4']

Getting an error:

Traceback (most recent call last):
  File "main.py", line 13, in <module>
    Client = OpenseaStreamClient(OPENSEA_API_KEY, Network.TESTNET)
  File "/home/ec2-user/src/opensea_stream.py", line 9, in __init__
    self.socket = Socket(socketUrl)
  File "/home/ec2-user/src/venv/lib64/python3.7/site-packages/realtime/connection.py", line 51, in __init__
    self.channels = cast(defaultdict[str, List[Channel]], self.channels)
TypeError: 'type' object is not subscriptable
@mitchbregs
Copy link
Author

Nevermind, I found it (https://github.com/supabase-community/realtime-py)... but still confused about the err

@mitchbregs
Copy link
Author

Looks like updates to 0.0.5 caused issues. Reverting back to 0.0.4 worked!

@anselal
Copy link

anselal commented Sep 29, 2023

Looks like updates to 0.0.5 caused issues. Reverting back to 0.0.4 worked!

thnx for the feedback, had the same problem and reverting back to 0.0.4 from 1.0.0 did the trick ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants