mirror of
https://github.com/xcat2/confluent.git
synced 2026-02-18 21:54:25 +00:00
Bring to current asyncio run best practices
This commit is contained in:
@@ -331,4 +331,4 @@ async def main():
|
||||
sys.exit(rcode)
|
||||
|
||||
if __name__ == '__main__':
|
||||
asyncio.get_event_loop().run_until_complete(main())
|
||||
asyncio.run(main())
|
||||
|
||||
Reference in New Issue
Block a user