Skip to content

Commit 03d60c5

Browse files
committed
Linting
1 parent 7f2bd9a commit 03d60c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nisystemlink/clients/core/_uplink/_base_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ def decoder(response: Response | Any) -> Any:
7979
return adapter.validate_python(response, by_alias=True, strict=True)
8080

8181
origin = get_origin(_class)
82-
modelable_origin = origin is Union or origin is UnionType or origin is dict or origin is list
82+
modelable_origin = (
83+
origin is Union or origin is UnionType or origin is dict or origin is list
84+
)
8385
if modelable_origin or utils.is_subclass(_class, JsonModel):
8486
if _type_adapters.get(_class) is None:
8587
_type_adapters[_class] = TypeAdapter(_class)

0 commit comments

Comments
 (0)