You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
leads to the following error: object dict can't be used in 'await' expression
After some googling I found that the sdk class needs to implement __await__() dunder function to make it awaitable and hence asynchronous.
I also tried a different implementation here by removing await before the sdk method call.
After running some tests I found that the execution time and order of execution were similar to that of the synchronous one. So I am not really sure if its truly asynchronous. Any thoughts regarding this issue? or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
While using the following syntax to call appwrite's methods:
leads to the following error:
object dict can't be used in 'await' expression
After some googling I found that the sdk class needs to implement
__await__()
dunder function to make itawaitable
and hence asynchronous.I also tried a different implementation here by removing
await
before the sdk method call.After running some tests I found that the execution time and order of execution were similar to that of the synchronous one. So I am not really sure if its truly asynchronous. Any thoughts regarding this issue? or am I doing something wrong?
The text was updated successfully, but these errors were encountered: