feat: use asyncio.run instead of loop variable
@@ -66,5 +66,4 @@ async def main():
await sample.get_token()
if __name__ == '__main__':
- loop = asyncio.get_event_loop()
- loop.run_until_complete(main())
+ asyncio.run(main())
