Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 395 for Pydantic (0.06 sec)

  1. docs/en/docs/features.md

    * 100% test coverage.
    * 100% type annotated codebase.
    
    ## Pydantic features { #pydantic-features }
    
    **FastAPI** is fully compatible with (and based on) <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>. So, any additional Pydantic code you have, will also work.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. docs/pt/docs/how-to/separate-openapi-schemas.md

    Ao usar **Pydantic v2**, o OpenAPI gerado é um pouco mais exato e **correto** do que antes. 😎
    
    Inclusive, em alguns casos, ele terá até **dois JSON Schemas** no OpenAPI para o mesmo modelo Pydantic, para entrada e saída, dependendo se eles possuem **valores padrão**.
    
    Vamos ver como isso funciona e como alterar se for necessário.
    
    ## Modelos Pydantic para Entrada e Saída
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. docs/id/docs/index.md

    Dependensi opsional tambahan Pydantic:
    
    * <a href="https://docs.pydantic.dev/latest/usage/pydantic_settings/" target="_blank"><code>pydantic-settings</code></a> - untuk manajemen setting.
    * <a href="https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/" target="_blank"><code>pydantic-extra-types</code></a> - untuk tipe tambahan yang digunakan dengan Pydantic.
    
    Dependensi tambahan opsional FastAPI:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/extra-models.md

    ### Sobre `**user_in.dict()`
    
    #### O `.dict()` do Pydantic
    
    `user_in` é um modelo Pydantic da classe `UserIn`.
    
    Os modelos Pydantic possuem um método `.dict()` que retorna um `dict` com os dados do modelo.
    
    Então, se criarmos um objeto Pydantic `user_in` como:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/extra-models.md

    ### Про `**user_in.dict()`
    
    #### `.dict()` из Pydantic
    
    `user_in` - это Pydantic-модель класса `UserIn`.
    
    У Pydantic-моделей есть метод `.dict()`, который возвращает `dict` с данными модели.
    
    Поэтому, если мы создадим Pydantic-объект `user_in` таким способом:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/query-param-models.md

    # 쿼리 매개변수 모델
    
    연관된 쿼리 **매개변수** 그룹이 있다면 **Pydantic 모델** 을 사용해 선언할 수 있습니다.
    
    이렇게 하면 **여러 곳**에서 **모델을 재사용**할 수 있을 뿐만 아니라, 매개변수에 대한 검증 및 메타데이터도 한 번에 선언할 수 있습니다. 😎
    
    /// note | 참고
    
    이 기능은 FastAPI 버전 `0.115.0`부터 제공됩니다. 🤓
    
    ///
    
    ## 쿼리 매개변수와 Pydantic 모델
    
    필요한 **쿼리 매개변수**를 **Pydantic 모델** 안에 선언한 다음, 모델을 `Query`로 선언합니다.
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Nov 20 19:24:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/header-param-models.md

    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Header Parameters with a Pydantic Model { #header-parameters-with-a-pydantic-model }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. docs/pl/docs/features.md

    * 100% pokrycie testami.
    * 100% adnotacji typów.
    
    ## Cechy Pydantic
    
    **FastAPI** jest w pełni kompatybilny z (oraz bazuje na) <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>. Tak więc każdy dodatkowy kod Pydantic, który posiadasz, również będzie działał.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/body-nested-models.md

    JSON은 오직 `str`형 키만 지원한다는 것을 염두에 두세요.
    
    하지만 Pydantic은 자동 데이터 변환이 있습니다.
    
    즉, API 클라이언트가 문자열을 키로 보내더라도 해당 문자열이 순수한 정수를 포함하는한 Pydantic은 이를 변환하고 검증합니다.
    
    그러므로 `weights`로 받은 `dict`는 실제로 `int` 키와 `float` 값을 가집니다.
    
    ///
    
    ## 요약
    
    **FastAPI**를 사용하면 Pydantic 모델이 제공하는 최대 유연성을 확보하면서 코드를 간단하고 짧게, 그리고 우아하게 유지할 수 있습니다.
    
    물론 아래의 이점도 있습니다:
    
    * 편집기 지원 (자동완성이 어디서나!)
    * 데이터 변환 (일명 파싱/직렬화)
    * 데이터 검증
    * 스키마 문서화
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/query-param-models.md

    # クエリパラメータモデル
    
    もし関連する**複数のクエリパラメータ**から成るグループがあるなら、それらを宣言するために、**Pydanticモデル**を作成できます。
    
    こうすることで、**複数の場所**で**そのPydanticモデルを再利用**でき、バリデーションやメタデータを、すべてのクエリパラメータに対して一度に宣言できます。😎
    
    /// note | 備考
    
    この機能は、FastAPIのバージョン `0.115.0` からサポートされています。🤓
    
    ///
    
    ## クエリパラメータにPydanticモデルを使用する
    
    必要な**複数のクエリパラメータ**を**Pydanticモデル**で宣言し、さらに、それを `Query` として宣言しましょう:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:18:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top