There are some situations where you want to use an async funciton without await. The reason you’d do this is because you can’t find a synchronous version of the function to run. In this video I’ll show you how you can use asyncio.run to do this.

Get the code here: https://prettyprinted.com/l/KXu

#python #progamming #developer

How to Call a Async Function From Synchronous Code in Python
2.60 GEEK