- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,062 for body (0.14 sec)
-
docs/ru/docs/tutorial/body-nested-models.md
=== "Python 3.10+" ```Python hl_lines="12" {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="14" {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="14" {!> ../../../docs_src/body_nested_models/tutorial002.py!} ``` ## Типы множеств
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.9K bytes - Viewed (0) -
docs/em/docs/tutorial/body-multiple-params.md
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 5K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-nested-models.md
```Python hl_lines="14" {!../../../docs_src/body_nested_models/tutorial001.py!} ``` 이는 `tags`를 항목 리스트로 만듭니다. 각 항목의 타입을 선언하지 않더라도요. ## 타입 매개변수가 있는 리스트 필드 하지만 파이썬은 내부의 타입이나 "타입 매개변수"를 선언할 수 있는 특정 방법이 있습니다: ### typing의 `List` 임포트 먼저, 파이썬 표준 `typing` 모듈에서 `List`를 임포트합니다: ```Python hl_lines="1" {!../../../docs_src/body_nested_models/tutorial002.py!} ``` ### 타입 매개변수로 `List` 선언
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-multiple-params.md
## ボディ内の単数値 クエリとパスパラメータの追加データを定義するための `Query` と `Path` があるのと同じように、 **FastAPI** は同等の `Body` を提供します。 例えば、前のモデルを拡張して、同じボディに `item` と `user` の他にもう一つのキー `importance` を入れたいと決めることができます。 単数値なのでそのまま宣言すると、**FastAPI** はそれがクエリパラメータであるとみなします。 しかし、`Body`を使用して、**FastAPI** に別のボディキーとして扱うように指示することができます: ```Python hl_lines="23" {!../../../docs_src/body_multiple_params/tutorial003.py!} ``` この場合、**FastAPI** は以下のようなボディを期待します:
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Mon Jan 15 15:48:41 GMT 2024 - 5.8K bytes - Viewed (0) -
tests/test_union_body.py
} } }, }, }, "summary": "Save Union Body", "operationId": "save_union_body_items__post", "requestBody": { "content": { "application/json": { "schema": {
Python - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-multiple-params.md
=== "Python 3.10+" ```Python hl_lines="18-20" {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="18-20" {!> ../../../docs_src/body_multiple_params/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="19-21" {!> ../../../docs_src/body_multiple_params/tutorial001_an.py!} ``` === "Python 3.10+ non-Annotated"
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 11.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/body-nested-models.md
=== "Python 3.10+" ```Python hl_lines="12" {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="14" {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="14" {!> ../../../docs_src/body_nested_models/tutorial002.py!} ``` ## Set 类型
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.3K bytes - Viewed (0) -
docs/em/docs/tutorial/body-nested-models.md
=== "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="14" {!> ../../../docs_src/body_nested_models/tutorial002.py!} ``` === "🐍 3️⃣.9️⃣ & 🔛" ```Python hl_lines="14" {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="12" {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!} ``` ## ⚒ 🆎
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-multiple-params.md
## 본문 내의 단일 값 쿼리 및 경로 매개변수에 대한 추가 데이터를 정의하는 `Query`와 `Path`와 같이, **FastAPI**는 동등한 `Body`를 제공합니다. 예를 들어 이전의 모델을 확장하면, `item`과 `user`와 동일한 본문에 또 다른 `importance`라는 키를 갖도록 할 수있습니다. 단일 값을 그대로 선언한다면, **FastAPI**는 쿼리 매개변수로 가정할 것입니다. 하지만, **FastAPI**의 `Body`를 사용해 다른 본문 키로 처리하도록 제어할 수 있습니다: ```Python hl_lines="23" {!../../../docs_src/body_multiple_params/tutorial003.py!} ``` 이 경우에는 **FastAPI**는 본문을 이와 같이 예측할 것입니다:
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Sun Feb 11 13:48:31 GMT 2024 - 5.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-nested-models.md
```Python hl_lines="12" {!../../../docs_src/body_nested_models/tutorial001.py!} ``` これにより、各項目の型は宣言されていませんが、`tags`はある項目のリストになります。 ## タイプパラメータを持つリストのフィールド しかし、Pythonには型や「タイプパラメータ」を使ってリストを宣言する方法があります: ### typingの`List`をインポート まず、Pythonの標準の`typing`モジュールから`List`をインポートします: ```Python hl_lines="1" {!../../../docs_src/body_nested_models/tutorial002.py!} ``` ### タイプパラメータを持つ`List`の宣言
Plain Text - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.7K bytes - Viewed (0)