-
Notifications
You must be signed in to change notification settings - Fork 183
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
Add get_event_loop_policy() to all get_event_loop() calls #415
Conversation
Codecov ReportBase: 93.97% // Head: 93.88% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #415 +/- ##
==========================================
- Coverage 93.97% 93.88% -0.10%
==========================================
Files 102 102
Lines 11085 11085
Branches 1302 1516 +214
==========================================
- Hits 10417 10407 -10
- Misses 586 595 +9
- Partials 82 83 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Start using
loop = asyncio.get_event_loop_policy().get_event_loop()
since it may be safer as indicated by https://bugs.python.org/issue39529.Plus we're using it in mode-streaming, so let's be consistent.
TO REVIEW AFTER MERGING #366.