We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd7a62a commit beb05cdCopy full SHA for beb05cd
uplink/converters/pydantic_v1.py
@@ -18,7 +18,7 @@ def _encode_pydantic_v1(obj: Any) -> Any:
18
# json containers
19
if isinstance(obj, dict):
20
return {_encode_pydantic_v1(k): _encode_pydantic_v1(v) for k, v in obj.items()}
21
- if isinstance(obj, list):
+ if isinstance(obj, list | tuple):
22
return [_encode_pydantic_v1(i) for i in obj]
23
24
# pydantic v1 types
0 commit comments