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:
@@ -119,7 +119,9 @@ def type_to_dict(
|
||||
f.type, str
|
||||
), f"Expected field type to be a type, got {f.type}, Have you imported `from __future__ import annotations`?"
|
||||
properties[f.metadata.get("alias", f.name)] = type_to_dict(
|
||||
f.type, f"{scope} {t.__name__}.{f.name}", type_map
|
||||
f.type,
|
||||
f"{scope} {t.__name__}.{f.name}", # type: ignore
|
||||
type_map, # type: ignore
|
||||
)
|
||||
|
||||
required = set()
|
||||
|
||||
Reference in New Issue
Block a user