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 252017c commit 88490a9Copy full SHA for 88490a9
example.py
@@ -24,5 +24,5 @@ async def main():
24
print("Disk values:", data.values)
25
26
27
-loop = asyncio.get_event_loop()
28
-loop.run_until_complete(main())
+if __name__ == "__main__":
+ asyncio.run(main())
0 commit comments