Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for field_annotation_is_complex (0.3 seconds)

  1. fastapi/_compat/shared.py

            or is_dataclass(annotation)
        )
    
    
    def field_annotation_is_complex(annotation: 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 (
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. fastapi/_compat/__init__.py

    Sofie Van Landeghem <******@****.***> 1773575079 +0100
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  3. fastapi/dependencies/utils.py

    Sofie Van Landeghem <******@****.***> 1773575079 +0100
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
Back to Top