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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user