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
I use run_sync and get a little annoyed that it erases types (turns them into Any). I am wondering why it does not have the same type as sync_to_async.
I did the change I am thinking about here, considering submitting it as a PR but I would like to know if there is a reason not to first.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I use
run_sync
and get a little annoyed that it erases types (turns them intoAny
). I am wondering why it does not have the same type assync_to_async
.I did the change I am thinking about here, considering submitting it as a PR but I would like to know if there is a reason not to first.
Beta Was this translation helpful? Give feedback.
All reactions