- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 70 for 17 (0.13 sec)
-
docs/em/docs/advanced/path-operation-advanced-configuration.md
& 👆 💪 👉 🚥 💽 🆎 📨 🚫 🎻. 🖼, 👉 🈸 👥 🚫 ⚙️ FastAPI 🛠️ 🛠️ ⚗ 🎻 🔗 ⚪️➡️ Pydantic 🏷 🚫 🏧 🔬 🎻. 👐, 👥 📣 📨 🎚 🆎 📁, 🚫 🎻: ```Python hl_lines="17-22 24" {!../../../docs_src/path_operation_advanced_configuration/tutorial007.py!} ``` 👐, 👐 👥 🚫 ⚙️ 🔢 🛠️ 🛠️, 👥 ⚙️ Pydantic 🏷 ❎ 🏗 🎻 🔗 💽 👈 👥 💚 📨 📁.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.7K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
The value of the *path parameter* will be an *enumeration member*. #### Compare *enumeration members* You can compare it with the *enumeration member* in your created enum `ModelName`: ```Python hl_lines="17" {!../../../docs_src/path_params/tutorial005.py!} ``` #### Get the *enumeration value* You can get the actual value (a `str` in this case) using `model_name.value`, or in general, `your_enum_member.value`:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/ko/docs/tutorial/body.md
=== "Python 3.10+" ```Python hl_lines="15-16" {!> ../../../docs_src/body/tutorial003_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="17-18" {!> ../../../docs_src/body/tutorial003.py!} ``` ## 요청 본문 + 경로 + 쿼리 매개변수 **본문**, **경로** 그리고 **쿼리** 매개변수 모두 동시에 선언할 수도 있습니다. **FastAPI**는 각각을 인지하고 데이터를 옳바른 위치에 가져올 것입니다.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/path-params.md
API 文档会显示预定义*路径参数*的可用值: <img src="/img/tutorial/path-params/image03.png"> ### 使用 Python _枚举类型_ *路径参数*的值是枚举的元素。 #### 比较*枚举元素* 枚举类 `ModelName` 中的*枚举元素*支持比较操作: ```Python hl_lines="17" {!../../../docs_src/path_params/tutorial005.py!} ``` #### 获取*枚举值* 使用 `model_name.value` 或 `your_enum_member.value` 获取实际的值(本例中为**字符串**): ```Python hl_lines="20"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 01 05:35:40 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/response-model.md
## 返回与输入相同的数据 现在我们声明一个 `UserIn` 模型,它将包含一个明文密码属性。 ```Python hl_lines="9 11" {!../../../docs_src/response_model/tutorial002.py!} ``` 我们正在使用此模型声明输入数据,并使用同一模型声明输出数据: ```Python hl_lines="17-18" {!../../../docs_src/response_model/tutorial002.py!} ``` 现在,每当浏览器使用一个密码创建用户时,API 都会在响应中返回相同的密码。 在这个案例中,这可能不算是问题,因为用户自己正在发送密码。 但是,如果我们在其他的*路径操作*中使用相同的模型,则可能会将用户的密码发送给每个客户端。 !!! danger
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-model.md
# レスポンスモデル *path operations* のいずれにおいても、`response_model`パラメータを使用して、レスポンスのモデルを宣言することができます: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * など。 ```Python hl_lines="17" {!../../../docs_src/response_model/tutorial001.py!} ``` !!! note "備考" `response_model`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数* のパラメータではありません。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.3K bytes - Viewed (0) -
docs/de/docs/tutorial/path-operation-configuration.md
=== "Python 3.10+" ```Python hl_lines="17-25" {!> ../../../docs_src/path_operation_configuration/tutorial004_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="19-27"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:07:48 GMT 2024 - 5.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
=== "파이썬 3.7 이상" ```Python hl_lines="19-22 26-27" {!> ../../../docs_src/security/tutorial002.py!} ``` === "파이썬 3.10 이상" ```Python hl_lines="17-20 24-25" {!> ../../../docs_src/security/tutorial002_py310.py!} ``` ## 현재 유저 주입하기 이제 *경로 작동*에서 `get_current_user`와 동일한 `Depends`를 사용할 수 있습니다. === "파이썬 3.7 이상" ```Python hl_lines="31"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-operation-configuration.md
=== "Python 3.10+" ```Python hl_lines="17-25" {!> ../../../docs_src/path_operation_configuration/tutorial004_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="19-27"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 8K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-multiple-params.md
しかし、追加のボディパラメータを宣言したときのように、キー `item` を持つ JSON とその中のモデルの内容を期待したい場合は、特別な `Body` パラメータ `embed` を使うことができます: ```Python item: Item = Body(..., embed=True) ``` 以下において: ```Python hl_lines="17" {!../../../docs_src/body_multiple_params/tutorial005.py!} ``` この場合、**FastAPI** は以下のようなボディを期待します: ```JSON hl_lines="2" { "item": { "name": "Foo",
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 15 15:48:41 GMT 2024 - 5.8K bytes - Viewed (0)