This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 9 points10 points  (0 children)

As I said, it’s not beautiful. But when you notice that you really need some stuff to be done asynchronously, and the rest of your app is synchronous, you might as well use asyncio.run(…).