- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for 58 (0.21 sec)
-
docs/en/docs/how-to/async-sql-encode-databases.md
```Python hl_lines="42 45-47 50-52" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` ## Read notes Create the *path operation function* to read notes: ```Python hl_lines="55-58" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` !!! note Notice that as we communicate with the database using `await`, the *path operation function* is declared with `async`.
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/de/docs/tutorial/security/simple-oauth2.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:08:44 GMT 2024 - 14.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
使之仅在当前用户为激活状态时,才能获取 `current_user`。 为此,要再创建一个依赖项 `get_current_active_user`,此依赖项以 `get_current_user` 依赖项为基础。 如果用户不存在,或状态为未激活,这两个依赖项都会返回 HTTP 错误。 因此,在端点中,只有当用户存在、通过身份验证、且状态为激活时,才能获得该用户: ```Python hl_lines="58-67 69-72 90" {!../../../docs_src/security/tutorial003.py!} ``` !!! info "说明" 此处返回值为 `Bearer` 的响应头 `WWW-Authenticate` 也是规范的一部分。 任何 401**UNAUTHORIZED**HTTP(错误)状态码都应返回 `WWW-Authenticate` 响应头。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.8K bytes - Viewed (0) -
docs/em/docs/tutorial/security/simple-oauth2.md
👯♂️ 👉 🔗 🔜 📨 🇺🇸🔍 ❌ 🚥 👩💻 🚫 🔀, ⚖️ 🚥 🔕. , 👆 🔗, 👥 🔜 🕴 🤚 👩💻 🚥 👩💻 🔀, ☑ 🔓, & 🦁: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="58-66 69-72 90" {!> ../../../docs_src/security/tutorial003.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="55-64 67-70 88" {!> ../../../docs_src/security/tutorial003_py310.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/zh/docs/advanced/async-sql-databases.md
* 创建 `FastAPI` 应用 * 创建事件处理器,执行数据库连接与断开操作 ```Python hl_lines="42 45-47 50-52" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` ## 读取笔记 创建读取笔记的*路径操作函数*: ```Python hl_lines="55-58" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` !!! Note "笔记" 注意,本例与数据库通信时使用 `await`,因此*路径操作函数*要声明为异步函数(`asnyc`)。 ### 注意 `response_model=List[Note]`
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/ru/docs/async.md
если рабочая нагрузка предполагает **ограничение по процессору**, как, например, в системах машинного обучения. <!--http://new.gramota.ru/spravka/punctum?layout=item&id=58_329--> Необходимо также отметить, что Python является главным языком в области <abbr title="наука о данных (data science)">**дата-сайенс**</abbr>, машинного обучения и, особенно, глубокого обучения. Всё это делает FastAPI
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 39.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/simple-oauth2.md
이러한 의존성 모두, 사용자가 존재하지 않거나 비활성인 경우 HTTP 오류를 반환합니다. 따라서 엔드포인트에서는 사용자가 존재하고 올바르게 인증되었으며 활성 상태인 경우에만 사용자를 얻습니다: === "파이썬 3.7 이상" ```Python hl_lines="58-66 69-72 90" {!> ../../../docs_src/security/tutorial003.py!} ``` === "파이썬 3.10 이상" ```Python hl_lines="55-64 67-70 88" {!> ../../../docs_src/security/tutorial003_py310.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 22:37:23 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
## CRUD utils Now let's see the file `sql_app/crud.py`. ### Create all the CRUD utils Create all the same CRUD utils as in the SQLAlchemy tutorial, all the code is very similar: ```Python hl_lines="1 4-5 8-9 12-13 16-20 23-24 27-30" {!../../../docs_src/sql_databases_peewee/sql_app/crud.py!} ``` There are some differences with the code for the SQLAlchemy tutorial.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (1) -
docs/em/docs/how-to/sql-databases-peewee.md
## 💩 🇨🇻 🔜 ➡️ 👀 📁 `sql_app/crud.py`. ### ✍ 🌐 💩 🇨🇻 ✍ 🌐 🎏 💩 🇨🇻 🇸🇲 🔰, 🌐 📟 📶 🎏: ```Python hl_lines="1 4-5 8-9 12-13 16-20 23-24 27-30" {!../../../docs_src/sql_databases_peewee/sql_app/crud.py!} ``` 📤 🔺 ⏮️ 📟 🇸🇲 🔰.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 19.2K bytes - Viewed (0)