Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Amazing (0.04 sec)

  1. fastapi/_compat/v2.py

                exclude_defaults=exclude_defaults,
                exclude_none=exclude_none,
            )
    
        def __hash__(self) -> int:
            # Each ModelField is unique for our purposes, to allow making a dict from
            # ModelField to its JSON Schema.
            return id(self)
    
    
    def _has_computed_fields(field: ModelField) -> bool:
        computed_fields = field._type_adapter.core_schema.get("schema", {}).get(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    
    @app.post("/items/", response_model=ItemV2)
    def create_item(item: Item):
        return {"title": item.name, "summary": item.description}
    ```
    
    Adding this feature was a big effort with the main objective of making it easier for the few applications still stuck in Pydantic v1 to migrate to Pydantic v2.
    
    And with this, support for **Pydantic v1 is now deprecated** and will be **removed** from FastAPI in a future version soon.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top