- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for field_annotation_is_sequence (5.62 sec)
-
fastapi/_compat.py
return False return lenient_issubclass(annotation, sequence_types) def field_annotation_is_sequence(annotation: Union[Type[Any], None]) -> bool: origin = get_origin(annotation) if origin is Union or origin is UnionType: for arg in get_args(annotation): if field_annotation_is_sequence(arg): return True return False
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:36:32 UTC 2024 - 23.4K bytes - Viewed (0)