clan-cli: Ignore new type hints in api/serde.py

clan-cli: Ignore new type hints in api/serde.py

clan-cli: Ignore new type hints in api/serde.py

clan-cli: Ignore new type hints in api/serde.py
This commit is contained in:
Qubasa
2025-01-06 15:41:20 +01:00
parent 6f5aadcba5
commit 26ff5aa1e1
8 changed files with 27 additions and 24 deletions

View File

@@ -302,7 +302,7 @@ def construct_dataclass(
field_value = data.get(data_field_name)
if field_value is None and (
field.type is None or is_type_in_union(field.type, type(None))
field.type is None or is_type_in_union(field.type, type(None)) # type: ignore
):
field_values[field.name] = None
else: