Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 212 for Item (0.15 sec)

  1. docs/tr/docs/index.md

    Şimdi aşağıdaki satırı değiştirmeyi deneyin:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...bundan:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...buna:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ...ve editörünün veri tiplerini bildiğini ve otomatik tamamladığını göreceksiniz:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  2. docs/uk/docs/index.md

    Спробуйте змінити рядок:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...із:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...на:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ...і побачите, як ваш редактор автоматично заповнюватиме атрибути та знатиме їхні типи:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/body-multiple-params.md

    ## 단일 본문 매개변수 삽입하기
    
    Pydantic 모델 `Item`의 `item`을 본문 매개변수로 오직 한개만 갖고있다고 하겠습니다.
    
    기본적으로 **FastAPI**는 직접 본문으로 예측할 것입니다.
    
    하지만, 만약 모델 내용에 `item `키를 가진 JSON으로 예측하길 원한다면, 추가적인 본문 매개변수를 선언한 것처럼 `Body`의 특별한 매개변수인 `embed`를 사용할 수 있습니다:
    
    ```Python hl_lines="17"
    {!../../../docs_src/body_multiple_params/tutorial005.py!}
    ```
    
    아래 처럼:
    
    ```Python
    item: Item = Body(..., embed=True)
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs/fr/docs/index.md

    Essayez de changer la ligne contenant :
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ... de :
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ... vers :
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ... et voyez comment votre éditeur complétera automatiquement les attributs et connaîtra leurs types :
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  5. README.md

    Try changing the line with:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...from:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...to:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ...and see how your editor will auto-complete the attributes and know their types:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. docs/em/docs/index.md

    ---
    
    👥 🖌 🧽, ✋️ 👆 ⏪ 🤚 💭 ❔ ⚫️ 🌐 👷.
    
    🔄 🔀 ⏸ ⏮️:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...⚪️➡️:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ...& 👀 ❔ 👆 👨‍🎨 🔜 🚘-🏁 🔢 & 💭 👫 🆎:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. docs/pt/docs/index.md

    ---
    
    Nós arranhamos apenas a superfície, mas você já tem idéia de como tudo funciona.
    
    Experimente mudar a seguinte linha:
    
    ```Python
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    ...de:
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ...para:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/body-multiple-params.md

    Предположим, у вас есть только один body-параметр `item` из Pydantic модели `Item`.
    
    По умолчанию, **FastAPI** ожидает получить тело запроса напрямую.
    
    Но если вы хотите чтобы он ожидал JSON с ключом `item` с содержимым модели внутри, также как это происходит при объявлении дополнительных body-параметров, вы можете использовать специальный параметр `embed` у типа `Body`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. docs/de/docs/external-links.md

    ## {{ section_name }}
    
    {% for lang_name, lang_content in section_content.items() %}
    
    ### {{ lang_name }}
    
    {% for item in lang_content %}
    
    * <a href="{{ item.link }}" class="external-link" target="_blank">{{ item.title }}</a> by <a href="{{ item.author_link }}" class="external-link" target="_blank">{{ item.author }}</a>.
    
    {% endfor %}
    {% endfor %}
    {% endfor %}
    
    ## Projekte
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Feb 21 22:23:00 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. docs/ja/docs/external-links.md

    ## {{ section_name }}
    
    {% for lang_name, lang_content in section_content.items() %}
    
    ### {{ lang_name }}
    
    {% for item in lang_content %}
    
    * <a href="{{ item.link }}" class="external-link" target="_blank">{{ item.title }}</a> by <a href="{{ item.author_link }}" class="external-link" target="_blank">{{ item.author }}</a>.
    
    {% endfor %}
    {% endfor %}
    {% endfor %}
    
    ## プロジェクト
    
    `fastapi`トピックの最新のGitHubプロジェクト:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Oct 22 07:35:13 GMT 2023
    - 1.2K bytes
    - Viewed (0)
Back to top