Skip to content

Removing deprecation warning from asyncio.wait in advanced websockets example #4

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yyunikov
Copy link

Additions

  • None

Removals

  • None

Changes

  • advance_websocket.py: adding asyncio.create_task() fixes deprecation warning "DeprecationWarning: The explicit passing of coroutine objects to asyncio.wait(). Based on official docs this will be removed in version 3.11.

Testing Steps

  • run advance_websocket.py along with advance_client.html and play with the app. no warning should appear no longer.

Notes

@yyunikov yyunikov changed the title Removing deprecation warning from asyncio.wait in advanced websockets… Removing deprecation warning from asyncio.wait in advanced websockets example Feb 18, 2022
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

Successfully merging this pull request may close these issues.

1 participant