Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TypeAdapter (0.2 sec)

  1. fastapi/_compat.py

            @property
            def type_(self) -> Any:
                return self.field_info.annotation
    
            def __post_init__(self) -> None:
                self._type_adapter: TypeAdapter[Any] = TypeAdapter(
                    Annotated[self.field_info.annotation, self.field_info]
                )
    
            def get_default(self) -> Any:
                if self.field_info.is_required():
                    return Undefined
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top