We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a243ba commit 449f512Copy full SHA for 449f512
example.py
@@ -29,5 +29,5 @@ async def main():
29
print(client.metrics)
30
31
32
-loop = asyncio.get_event_loop()
33
-loop.run_until_complete(main())
+if __name__ == "__main__":
+ asyncio.run(main())
0 commit comments