I have seen running a blocking code using
loop = asyncio.get_running_loop() await loop.run_in_executor(None, blockingfunc)
And