Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 690 for ITEM (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/uk/docs/how-to/separate-openapi-schemas.md

    ### Модель для введення та виведення в документації { #model-for-input-and-output-in-docs }
    
    Якщо відкрити всі наявні Схеми (схеми JSON) в OpenAPI, то ви побачите дві: `Item-Input` і `Item-Output`.
    
    Для `Item-Input` поле `description` **не є обов'язковим** - червоної зірочки немає.
    
    А для `Item-Output` `description` **є обов'язковим** - є червона зірочка.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    </div>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. docs/tr/docs/how-to/separate-openapi-schemas.md

    OpenAPI içindeki tüm kullanılabilir Schema'lara (JSON Schema'lara) bakarsanız, iki tane olduğunu göreceksiniz: biri `Item-Input`, diğeri `Item-Output`.
    
    `Item-Input` için `description` **required değildir**, kırmızı yıldız yoktur.
    
    Ama `Item-Output` için `description` **required**'dır, kırmızı yıldız vardır.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:43:38 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. docs/fr/docs/how-to/separate-openapi-schemas.md

    Et si vous consultez tous les schémas disponibles (schémas JSON) dans OpenAPI, vous verrez qu'il y en a deux, un `Item-Input` et un `Item-Output`.
    
    Pour `Item-Input`, `description` n'est **pas requis**, il n'a pas d'astérisque rouge.
    
    Mais pour `Item-Output`, `description` est **requis**, il a un astérisque rouge.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. docs/ko/docs/advanced/templates.md

    ///
    
    ## 템플릿 작성하기 { #writing-templates }
    
    그런 다음 `templates/item.html`에 템플릿을 작성할 수 있습니다. 예를 들면:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### 템플릿 컨텍스트 값 { #template-context-values }
    
    다음과 같은 HTML에서:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...이는 전달한 "컨텍스트" `dict`에서 가져온 `id`를 표시합니다:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  5. docs_src/response_model/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 595 bytes
    - Click Count (0)
  6. docs/de/docs/how-to/separate-openapi-schemas.md

    Und wenn Sie alle verfügbaren Schemas (JSON-Schemas) in OpenAPI überprüfen, werden Sie feststellen, dass es zwei gibt, ein `Item-Input` und ein `Item-Output`.
    
    Für `Item-Input` ist `description` **nicht erforderlich**, es hat kein rotes Sternchen.
    
    Aber für `Item-Output` ist `description` **erforderlich**, es hat ein rotes Sternchen.
    
    <div class="screenshot">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. docs/ru/docs/how-to/separate-openapi-schemas.md

    ### Модели для входа и выхода в документации { #model-for-input-and-output-in-docs }
    
    Если посмотреть все доступные схемы (JSON Schema) в OpenAPI, вы увидите две: `Item-Input` и `Item-Output`.
    
    Для `Item-Input` поле `description` **не является обязательным** — красной звёздочки нет.
    
    А для `Item-Output` `description` **обязательно** — красная звёздочка есть.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Jan 20 23:03:07 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/body-updates.md

    Si quieres recibir actualizaciones parciales, es muy útil usar el parámetro `exclude_unset` en el `.model_dump()` del modelo de Pydantic.
    
    Como `item.model_dump(exclude_unset=True)`.
    
    Eso generaría un `dict` solo con los datos que se establecieron al crear el modelo `item`, excluyendo los valores por defecto.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/templates.md

    ///
    
    ## テンプレートの作成 { #writing-templates }
    
    例えば、`templates/item.html` に次のようなテンプレートを書きます:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### テンプレートのコンテキスト値 { #template-context-values }
    
    次のような HTML 内で:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...渡した "context" の `dict` から取得した `id` が表示されます:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  10. docs/en/docs/release-notes.md

    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    class ItemV2(BaseModelV2):
        title: str
        summary: str | None = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    def create_item(item: Item):
        return {"title": item.name, "summary": item.description}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top