Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 516 for model2 (0.06 sec)

  1. docs/zh-hant/docs/tutorial/query-param-models.md

    **FastAPI** 將會從請求的**查詢參數**中**提取**出**每個欄位**的資料,並將其提供給你定義的 Pydantic 模型。
    
    ## 查看文件
    
    你可以在 `/docs` 頁面的 UI 中查看查詢參數:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## 禁止額外的查詢參數
    
    在一些特殊的使用場景中(可能不是很常見),你可能希望**限制**你要收到的查詢參數。
    
    你可以使用 Pydantic 的模型設定來 `forbid`(禁止)任何 `extra`(額外)欄位:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Nov 27 22:14:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body.md

    Es verbessert die Editor-Unterstützung für Pydantic-Modelle, mit:
    
    * Code-Vervollständigung
    * Typüberprüfungen
    * Refaktorisierung
    * Suchen
    * Inspektionen
    
    ///
    
    ## Das Modell verwenden
    
    Innerhalb der Funktion können Sie alle Attribute des Modells direkt verwenden:
    
    {* ../../docs_src/body/tutorial002_py310.py hl[19] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/path-operation-advanced-configuration.md

    Using this same trick, you could use a Pydantic model to define the JSON Schema that is then included in the custom OpenAPI schema section for the *path operation*.
    
    And you could do this even if the data type in the request is not JSON.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/cookie-param-models.md

    ## Перевірка у документації
    
    Ви можете побачити визначені cookie в інтерфейсі документації за адресою `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info | Інформація
    
    Майте на увазі, що оскільки **браузери обробляють cookie** особливим чином і "за лаштунками", вони **не** дозволяють **JavaScript** легко з ними працювати.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Mar 19 17:03:38 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/dataclasses.md

    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/body-updates.md

    * Fügen Sie diese in ein Pydantic-Modell ein.
    * Erzeugen Sie aus dem empfangenen Modell ein `dict` ohne Defaultwerte (mittels `exclude_unset`).
        * So ersetzen Sie nur die tatsächlich vom Benutzer gesetzten Werte, statt dass bereits gespeicherte Werte mit Defaultwerten des Modells überschrieben werden.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/cookie-param-models.md

    **FastAPI**는 요청에서 받은 **쿠키**에서 **각 필드**에 대한 데이터를 **추출**하고 정의한 Pydantic 모델을 줍니다.
    
    ## 문서 확인하기
    
    문서 UI `/docs`에서 정의한 쿠키를 볼 수 있습니다:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info | 정보
    
    명심하세요, 내부적으로 **브라우저는 쿠키를 특별한 방식으로 처리**하기 때문에 **자바스크립트**가 쉽게 쿠키를 건드릴 수 **없습니다**.
    
    `/docs`에서 **API 문서 UI**로 이동하면 *경로 작업*에 대한 쿠키의 **문서**를 볼 수 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:47:02 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

    You can declare examples of the data your app can receive.
    
    Here are several ways to do it.
    
    ## Extra JSON Schema data in Pydantic models { #extra-json-schema-data-in-pydantic-models }
    
    You can declare `examples` for a Pydantic model that will be added to the generated JSON Schema.
    
    //// tab | Pydantic v2
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. docs/fr/docs/project-generation.md

    ...viendra surement plus tard, suivant le temps que j'ai.  😅 🎉
    
    ## Modèles d'apprentissage automatique avec spaCy et FastAPI
    
    GitHub : <a href="https://github.com/microsoft/cookiecutter-spacy-fastapi" class="external-link" target="_blank">https://github.com/microsoft/cookiecutter-spacy-fastapi</a>
    
    ## Modèles d'apprentissage automatique avec spaCy et FastAPI - Fonctionnalités
    
    * Intégration d'un modèle NER **spaCy**.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top