Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao committed Nov 6, 2024
1 parent c11ce2c commit a062bef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ async def main():


if __name__ == "__main__":
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
loop.run_until_complete(main())
asyncio.run(main())

0 comments on commit a062bef

Please sign in to comment.