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

ASGI with Starlette (p. 230) #12

Open
labdmitriy opened this issue Feb 14, 2023 · 0 comments
Open

ASGI with Starlette (p. 230) #12

labdmitriy opened this issue Feb 14, 2023 · 0 comments

Comments

@labdmitriy
Copy link

Hi Matt,

When I try to reproduce the example of the counter based on the web sockets (start the server and open HTML page), I have the following error (I'm using Python 3.10.4):
TypeError: As of 3.10, the *loop* parameter was removed from Lock() since it is no longer necessary

It seems that this recommendation is working, and when I upgrade websockets package from 9.1 to 10.4 version (the latest version), it is working as expected.

Thank you.

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

1 participant