How to Call a Async Function From Synchronous Code in Python

Опубликовано: 24 Ноябрь 2020
на канале: Pretty Printed
13,139
290

Use an async function with ayncio.run without await when you can't find a synchronous version of the function to run.

WORK WITH ME👇🏼

✅ Implement features and fix bugs in your app: Live, one-on-one screenshare
https://prettyprinted.com/coaching/?u...

💻 Code written in video
https://prettyprinted.com/l/KXu