- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for 65 (0.18 sec)
-
docs/zh/docs/advanced/async-sql-databases.md
### 注意 `response_model=List[Note]` `response_model=List[Note]` 使用的是 `typing.List`。 它以笔记(`Note`)列表的形式存档(及验证、序列化、筛选)输出的数据。 ## 创建笔记 创建新建笔记的*路径操作函数*: ```Python hl_lines="61-65" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` !!! Note "笔记" 注意,本例与数据库通信时使用 `await`,因此要把*路径操作函数*声明为异步函数(`asnyc`)。 ### 关于 `{**note.dict(), "id": last_record_id}`
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Mar 30 22:44:40 GMT 2024 - 4.3K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
The `scopes` parameter receives a `dict` with each scope as a key and the description as the value: === "Python 3.10+" ```Python hl_lines="62-65" {!> ../../../docs_src/security/tutorial005_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="62-65" {!> ../../../docs_src/security/tutorial005_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="63-66"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 20.5K bytes - Viewed (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
Der `scopes`-Parameter erhält ein `dict` mit jedem Scope als Schlüssel und dessen Beschreibung als Wert: === "Python 3.10+" ```Python hl_lines="62-65" {!> ../../../docs_src/security/tutorial005_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="62-65" {!> ../../../docs_src/security/tutorial005_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="63-66"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:26:08 GMT 2024 - 22.8K bytes - Viewed (0) -
docs/em/docs/advanced/async-sql-databases.md
### 👀 `response_model=List[Note]` ⚫️ ⚙️ `typing.List`. 👈 📄 (& ✔, 🎻, ⛽) 🔢 💽, `list` `Note`Ⓜ. ## ✍ 🗒 ✍ *➡ 🛠️ 🔢* ✍ 🗒: ```Python hl_lines="61-65" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` !!! Note 👀 👈 👥 🔗 ⏮️ 💽 ⚙️ `await`, *➡ 🛠️ 🔢* 📣 ⏮️ `async`. ### 🔃 `{**note.dict(), "id": last_record_id}`
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 4K bytes - Viewed (0) -
docs/en/docs/how-to/async-sql-encode-databases.md
That documents (and validates, serializes, filters) the output data, as a `list` of `Note`s. ## Create notes Create the *path operation function* to create notes: ```Python hl_lines="61-65" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` !!! info In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.3K bytes - Viewed (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
{!../../../docs_src/security/tutorial005.py!} ``` 下面,我们逐步说明修改的代码内容。 ## OAuth2 安全方案 第一个修改的地方是,使用两个作用域 `me` 和 `items ` 声明 OAuth2 安全方案。 `scopes` 参数接收**字典**,键是作用域、值是作用域的描述: ```Python hl_lines="62-65" {!../../../docs_src/security/tutorial005.py!} ``` 因为声明了作用域,所以登录或授权时会在 API 文档中显示。 此处,选择给予访问权限的作用域: `me` 和 `items`。 这也是使用脸书、谷歌、GitHub 登录时的授权机制。 <img src="/img/tutorial/security/image11.png">
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 22:43:35 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/en/docs/img/deployment/https/https.drawio
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 25.7K bytes - Viewed (0) -
docs/en/docs/img/deployment/https/https08.drawio
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 20.9K bytes - Viewed (0) -
docs/em/docs/advanced/security/oauth2-scopes.md
``` 🔜 ➡️ 📄 👈 🔀 🔁 🔁. ## Oauth2️⃣ 💂♂ ⚖ 🥇 🔀 👈 🔜 👥 📣 Oauth2️⃣ 💂♂ ⚖ ⏮️ 2️⃣ 💪 ↔, `me` & `items`. `scopes` 🔢 📨 `dict` ⏮️ 🔠 ↔ 🔑 & 📛 💲: ```Python hl_lines="62-65" {!../../../docs_src/security/tutorial005.py!} ``` ↩️ 👥 🔜 📣 📚 ↔, 👫 🔜 🎦 🆙 🛠️ 🩺 🕐❔ 👆 🕹-/✔. & 👆 🔜 💪 🖊 ❔ ↔ 👆 💚 🤝 🔐: `me` & `items`. 👉 🎏 🛠️ ⚙️ 🕐❔ 👆 🤝 ✔ ⏪ 🚨 ⏮️ 👱📔, 🇺🇸🔍, 📂, ♒️:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 11.1K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* Trigger Docker images build on Travis CI automatically. PR [#65](https://github.com/tiangolo/fastapi/pull/65). ## 0.7.0 * Add support for `UploadFile` in `File` parameter annotations. * This includes a file-like interface.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Apr 28 00:28:00 GMT 2024 - 385.5K bytes - Viewed (1)