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

Subscribe : https://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ

#python

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