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
The Python reference documentation doesn't clearly show a method as being a coroutine.
Why is this important to you?
We used to have a note in the description clarifying that it needs to be awaited, but it was removed for simplicity. Making it clearer again can be helpful to users.
How are you currently working around this?
The IDE's autocomplete should show the return type as being a coroutine:
In the reference you can notice that if it raises errors, then it's a coroutine because coroutines are only the methods that make a request to the API, which can return an error. It's also only when a simple value is returned (e.g., str primitive).
Activity