ATM, when we do:
fut = async_task()
print(fut.task)
We will get an attribute error as the task property will not be immediately available as we fire an asyncio.create_task so that we do not block the event-loop.
So the user might need to wait for < 1s to get the task info.
This might cause a race condition and needs to be pfixed appropriately
ATM, when we do:
We will get an attribute error as the
taskproperty will not be immediately available as we fire anasyncio.create_taskso that we do not block theevent-loop.So the user might need to wait for
< 1sto get the task info.This might cause a race condition and needs to be pfixed appropriately