Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for is_pydantic_v1_model_class (0.1 seconds)

  1. fastapi/_compat/shared.py

    
    def annotation_is_pydantic_v1(annotation: Any) -> bool:
        if is_pydantic_v1_model_class(annotation):
            return True
        origin = get_origin(annotation)
        if origin is Union or origin is UnionType:
            for arg in get_args(annotation):
                if is_pydantic_v1_model_class(arg):
                    return True
        if field_annotation_is_sequence(annotation):
    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/encoders.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
    - 10.9K bytes
    - Click Count (0)
Back to Top