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

switch to get_running_loop from get_event_loop to clear deprecation warning in python 3.10 #690

Closed

Conversation

Narendra-Neerukonda
Copy link

Fixes #686

@Narendra-Neerukonda Narendra-Neerukonda changed the title switch to get_running_loop from get_event_loop to clear deprecation warning switch to get_running_loop from get_event_loop to clear deprecation warning in python 3.10 Jun 19, 2021
@Red-M
Copy link
Member

Red-M commented Feb 6, 2022

Can a python version check be added as asyncio.get_running_loop() is new in python 3.7 and will break older versions of python. This is simply a convenience for older versions of python.

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.

Python 3.10 : Deprecation warning regarding no current event loop
2 participants