Skip to content

Commit

Permalink
Fix: use asyncio.run instead of loop variable (#26098)
Browse files Browse the repository at this point in the history
Co-authored-by: wonhyeongseo <wonhseo@kakao.com>

Co-authored-by: kyc5644 <kyc5644>
  • Loading branch information
kyc5644 authored Oct 7, 2022
1 parent a93af9f commit 937adc1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,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 @@ -117,5 +117,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 @@ -122,5 +122,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 @@ -176,5 +176,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 @@ -118,5 +118,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 @@ -164,5 +164,4 @@ async def main():


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

0 comments on commit 937adc1

Please sign in to comment.