We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11ce2c commit a062befCopy full SHA for a062bef
examples/api.py
@@ -15,6 +15,4 @@ async def main():
15
16
17
if __name__ == "__main__":
18
- loop = asyncio.new_event_loop()
19
- asyncio.set_event_loop(loop)
20
- loop.run_until_complete(main())
+ asyncio.run(main())
0 commit comments