- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for 25 (0.17 sec)
-
docs/en/docs/tutorial/security/get-current-user.md
=== "Python 3.10+" ```Python hl_lines="25" {!> ../../../docs_src/security/tutorial002_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="25" {!> ../../../docs_src/security/tutorial002_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="26"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/em/docs/how-to/extending-openapi.md
``` ### 💾 🗄 🔗 👆 💪 ⚙️ 🏠 `.openapi_schema` "💾", 🏪 👆 🏗 🔗. 👈 🌌, 👆 🈸 🏆 🚫 ✔️ 🏗 🔗 🔠 🕰 👩💻 📂 👆 🛠️ 🩺. ⚫️ 🔜 🏗 🕴 🕐, & ⤴️ 🎏 💾 🔗 🔜 ⚙️ ⏭ 📨. ```Python hl_lines="13-14 24-25" {!../../../docs_src/extending_openapi/tutorial001.py!} ``` ### 🔐 👩🔬 🔜 👆 💪 ❎ `.openapi()` 👩🔬 ⏮️ 👆 🆕 🔢. ```Python hl_lines="28" {!../../../docs_src/extending_openapi/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 2.7K bytes - Viewed (1) -
docs/zh/docs/tutorial/security/get-current-user.md
创建 `get_current_user` 依赖项。 还记得依赖项支持子依赖项吗? `get_current_user` 使用 `oauth2_scheme` 作为依赖项。 与之前直接在路径操作中的做法相同,新的 `get_current_user` 依赖项从子依赖项 `oauth2_scheme` 中接收 `str` 类型的 `token`: ```Python hl_lines="25" {!../../../docs_src/security/tutorial002.py!} ``` ## 获取用户 `get_current_user` 使用创建的(伪)工具函数,该函数接收 `str` 类型的令牌,并返回 Pydantic 的 `User` 模型: ```Python hl_lines="19-22 26-27"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:46:46 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/get-current-user.md
`get_current_user`는 이전에 생성한 것과 동일한 `oauth2_scheme`과 종속성을 갖게 됩니다. 이전에 *경로 작동*에서 직접 수행했던 것과 동일하게 새 종속성 `get_current_user`는 하위 종속성 `oauth2_scheme`에서 `str`로 `token`을 수신합니다. === "파이썬 3.7 이상" ```Python hl_lines="25" {!> ../../../docs_src/security/tutorial002.py!} ``` === "파이썬 3.10 이상" ```Python hl_lines="23" {!> ../../../docs_src/security/tutorial002_py310.py!} ``` ## 유저 가져오기
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/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/en/docs/how-to/async-sql-encode-databases.md
Here, this section would run directly, right before starting your **FastAPI** application. * Create an `engine`. * Create all the tables from the `metadata` object. ```Python hl_lines="25-28" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` ## Create models Create Pydantic models for: * Notes to be created (`NoteIn`). * Notes to be returned (`Note`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.3K 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/de/docs/tutorial/security/get-current-user.md
=== "Python 3.10+" ```Python hl_lines="25" {!> ../../../docs_src/security/tutorial002_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="25" {!> ../../../docs_src/security/tutorial002_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="26"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:08:05 GMT 2024 - 8.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/schema-extra-example.md
``` === "Python 3.8+ non-Annotated" !!! tip Заметка Рекомендуется использовать версию с `Annotated`, если это возможно. ```Python hl_lines="20-25" {!> ../../../docs_src/schema_extra_example/tutorial003.py!} ``` ### Аргумент "example" в UI документации С любым из вышеуказанных методов это будет выглядеть так в `/docs`:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-multiple-params.md
{!> ../../../docs_src/body_multiple_params/tutorial004_an.py!} ``` === "Python 3.10+ non-Annotated" !!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="25" {!> ../../../docs_src/body_multiple_params/tutorial004_py310.py!} ``` === "Python 3.8+ non-Annotated" !!! tip Prefer to use the `Annotated` version if possible.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 7.7K bytes - Viewed (0)