Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for __pydantic_core_schema__ (0.16 sec)

  1. fastapi/_compat.py

            return any(field_annotation_is_complex(arg) for arg in get_args(annotation))
    
        return (
            _annotation_is_complex(annotation)
            or _annotation_is_complex(origin)
            or hasattr(origin, "__pydantic_core_schema__")
            or hasattr(origin, "__get_pydantic_core_schema__")
        )
    
    
    def field_annotation_is_scalar(annotation: Any) -> bool:
        # handle Ellipsis here to make tuple[int, ...] work nicely
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top