- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for field_annotation_is_complex (0.09 sec)
-
fastapi/_compat/shared.py
or is_dataclass(annotation) ) def field_annotation_is_complex(annotation: Union[type[Any], None]) -> bool: origin = get_origin(annotation) if origin is Union or origin is UnionType: return any(field_annotation_is_complex(arg) for arg in get_args(annotation)) if origin is Annotated: return field_annotation_is_complex(get_args(annotation)[0]) return (
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 6.7K bytes - Viewed (0)