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
Response.serializer() return type is dict[str, Any] but should be Any as overriding serializer() is the way to extend orjson for any type. Currently I need a #type: ignore for a subclass:
Response.serializer()
passed toorjson.dumps()
inResponse.render()
:Response.serializer()
return type isdict[str, Any]
but should beAny
as overridingserializer()
is the way to extend orjson for any type. Currently I need a#type: ignore
for a subclass:Otherwise mypy gives us:
The text was updated successfully, but these errors were encountered: