Skip to content

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

Open
yyunikov wants to merge 1 commit into
kave:masterfrom
yyunikov:master
Open

Removing deprecation warning from asyncio.wait in advanced websockets example#4
yyunikov wants to merge 1 commit into
kave:masterfrom
yyunikov:master

Conversation

@yyunikov
Copy link
Copy Markdown

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