Browse Source

🔨 changed encode_dict parameter typing

pull/13982/head
Ben Brady 2 weeks ago
parent
commit
f3a01033d6
  1. 3
      fastapi/encoders.py

3
fastapi/encoders.py

@ -350,7 +350,7 @@ def encode_value(
def encode_dict(
obj: Any,
obj: Dict[Any, Any],
include: Optional[IncEx] = None,
exclude: Optional[IncEx] = None,
by_alias: bool = True,
@ -375,7 +375,6 @@ def encode_dict(
continue
if key not in allowed_keys:
continue
encoded_key = encode_value(
key,
by_alias=by_alias,

Loading…
Cancel
Save