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
However, if silent is False, as is the default, this is overbroad, since it will always return t.Any. This is problematic in calling code, since you'll get a type checking error if you do something like this:
The type signature for
Response.get_json
is currently:However, if
silent
isFalse
, as is the default, this is overbroad, since it will always returnt.Any
. This is problematic in calling code, since you'll get a type checking error if you do something like this:This can be fixed by using an
overload
from thetyping
module whensilent
is theLiteral[False]
Environment:
The text was updated successfully, but these errors were encountered: