Skip to content

Commit

Permalink
fix: use asyncio.run instead of loop variable (Azure#26094)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonhyeongseo authored and mccoyp committed Sep 22, 2022
1 parent 5da8175 commit 3227609
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,5 +297,4 @@ async def main():


if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
asyncio.run(main())
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,4 @@ async def main():


if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
asyncio.(main())
Original file line number Diff line number Diff line change
Expand Up @@ -482,5 +482,4 @@ async def main():


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

0 comments on commit 3227609

Please sign in to comment.