Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 714 for pydantic (0.04 seconds)

  1. fastapi/utils.py

        Validator,
        annotation_is_pydantic_v1,
    )
    from fastapi.datastructures import DefaultPlaceholder, DefaultType
    from fastapi.exceptions import FastAPIDeprecationWarning, PydanticV1NotSupportedError
    from pydantic import BaseModel
    from pydantic.fields import FieldInfo
    from typing_extensions import Literal
    
    from ._compat import v2
    
    if TYPE_CHECKING:  # pragma: nocover
        from .routing import APIRoute
    
    # Cache for `create_cloned_field`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. docs/en/docs/how-to/separate-openapi-schemas.md

    Since **Pydantic v2** was released, the generated OpenAPI is a bit more exact and **correct** than before. 😎
    
    In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**.
    
    Let's see how that works and how to change it if you need to do that.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. docs/fr/docs/deployment/versions.md

    ## À propos de Pydantic
    
    Pydantic inclut des tests pour **FastAPI** avec ses propres tests, ainsi les nouvelles versions de Pydantic (au-dessus
    de `1.0.0`) sont toujours compatibles avec **FastAPI**.
    
    Vous pouvez épingler Pydantic à toute version supérieure à `1.0.0` qui fonctionne pour vous et inférieure à `2.0.0`.
    
    Par exemple :
    
    ```txt
    pydantic>=1.2.0,<2.0.0
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. docs/de/docs/advanced/path-operation-advanced-configuration.md

    Das könnte man mit `openapi_extra` machen:
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial006_py39.py hl[19:36, 39:40] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Vous pouvez le faire avec `openapi_extra` :
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial006.py hl[20:37,39:40] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  6. docs/ko/docs/deployment/versions.md

    서로다른 버전의 **FastAPI**가 구체적이고 새로운 버전의 Starlette을 사용할 것입니다.
    
    그러므로 **FastAPI**가 알맞은 Starlette 버전을 사용하도록 하십시오.
    
    ## Pydantic에 대해
    
    Pydantic은 **FastAPI** 를 위한 검사를 포함하고 있습니다. 따라서, 새로운 버전의 Pydantic(`1.0.0`이상)은 항상 FastAPI와 호환됩니다.
    
    작업을 하고 있는 `1.0.0` 이상의 모든 버전과 `2.0.0` 이하의 Pydantic 버전을 표시할 수 있습니다.
    
    예를 들어 다음과 같습니다:
    
    ```txt
    pydantic>=1.2.0,<2.0.0
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/body-fields.md

    ## Імпорт `Field`
    
    Спочатку вам потрібно імпортувати це:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning
    
    Зверніть увагу, що `Field` імпортується прямо з `pydantic`, а не з `fastapi`, як всі інші (`Query`, `Path`, `Body` тощо).
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  8. docs/fr/docs/features.md

    ## Fonctionnalités de Pydantic
    
    **FastAPI** est totalement compatible avec (et basé sur) <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>. Le code utilisant Pydantic que vous ajouterez fonctionnera donc aussi.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/path-operation-advanced-configuration.md

    You could do that with `openapi_extra`:
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial006_py39.py hl[19:36, 39:40] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/cookie-param-models.md

    Diese gleiche Technik gilt für `Query`, `Cookie` und `Header`. 😎
    
    ///
    
    ## Cookies mit einem Pydantic-Modell { #cookies-with-a-pydantic-model }
    
    Deklarieren Sie die **Cookie**-Parameter, die Sie benötigen, in einem **Pydantic-Modell**, und deklarieren Sie dann den Parameter als `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 13:54:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top