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 7f2bd9a commit 03d60c5Copy full SHA for 03d60c5
nisystemlink/clients/core/_uplink/_base_client.py
@@ -79,7 +79,9 @@ def decoder(response: Response | Any) -> Any:
79
return adapter.validate_python(response, by_alias=True, strict=True)
80
81
origin = get_origin(_class)
82
- modelable_origin = origin is Union or origin is UnionType or origin is dict or origin is list
+ modelable_origin = (
83
+ origin is Union or origin is UnionType or origin is dict or origin is list
84
+ )
85
if modelable_origin or utils.is_subclass(_class, JsonModel):
86
if _type_adapters.get(_class) is None:
87
_type_adapters[_class] = TypeAdapter(_class)
0 commit comments