Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for __post_init__ (0.09 sec)

  1. fastapi/_compat/v2.py

        @property
        def default(self) -> Any:
            return self.get_default()
    
        @property
        def type_(self) -> Any:
            return self.field_info.annotation
    
        def __post_init__(self) -> None:
            with warnings.catch_warnings():
                # Pydantic >= 2.12.0 warns about field specific metadata that is unused
                # (e.g. `TypeAdapter(Annotated[int, Field(alias='b')])`). In some cases, we
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top