- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for score (0.14 sec)
-
docs/en/docs/alternatives.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/zh/docs/advanced/custom-request-and-route.md
```Python hl_lines="18-26" {!../../../docs_src/custom_request_and_route/tutorial001.py!} ``` !!! note "技术细节" `Request` 的 `request.scope` 属性是包含关联请求元数据的字典。 `Request` 的 `request.receive` 方法是**接收**请求体的函数。 `scope` 字典与 `receive` 函数都是 ASGI 规范的内容。 `scope` 与 `receive` 也是创建新的 `Request` 实例所需的。
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Mar 30 22:45:40 GMT 2024 - 3.8K bytes - Viewed (0) -
.gitignore
.coverage coverage.xml .netlify test.db log.txt Pipfile.lock env3.* env docs_build site_build venv docs.zip archive.zip # vim temporary files *~ .*.sw? .cache # macOS
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 13:11:35 GMT 2023 - 268 bytes - Viewed (0) -
docs/em/docs/advanced/security/oauth2-scopes.md
`security_scopes` 🎚 (🎓 `SecurityScopes`) 🚚 `scope_str` 🔢 ⏮️ 👁 🎻, 🔌 👈 ↔ 👽 🚀 (👥 🔜 ⚙️ ⚫️). 👥 ✍ `HTTPException` 👈 👥 💪 🏤-⚙️ (`raise`) ⏪ 📚 ☝. 👉 ⚠, 👥 🔌 ↔ 🚚 (🚥 🙆) 🎻 👽 🚀 (⚙️ `scope_str`). 👥 🚮 👈 🎻 ⚗ ↔ `WWW-Authenticate` 🎚 (👉 🍕 🔌). ```Python hl_lines="105 107-115" {!../../../docs_src/security/tutorial005.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 11.1K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
And the `--root-path` command line option provides that `root_path`. ### Checking the current `root_path` You can get the current `root_path` used by your application for each request, it is part of the `scope` dictionary (that's part of the ASGI spec). Here we are including it in the message just for demonstration purposes. ```Python hl_lines="8" {!../../../docs_src/behind_a_proxy/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 11.6K bytes - Viewed (2) -
docs/en/docs/tutorial/response-model.md
But if we use the same model for another *path operation*, we could be sending our user's passwords to every client. !!! danger Never store the plain password of a user or send it in a response like this, unless you know all the caveats and you know what you are doing. ## Add an output model
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0) -
docs/pl/docs/index.md
## Opinie "_[...] I'm using **FastAPI** a ton these days. [...] I'm actually planning to use it for all of my team's **ML services at Microsoft**. Some of them are getting integrated into the core **Windows** product and some **Office** products._"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 19.4K bytes - Viewed (0) -
docs/it/docs/index.md
## Recensioni "_[...] I'm using **FastAPI** a ton these days. [...] I'm actually planning to use it for all of my team's **ML services at Microsoft**. Some of them are getting integrated into the core **Windows** product and some **Office** products._"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 19.3K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
``` !!! note "Technical Details" A `Request` has a `request.scope` attribute, that's just a Python `dict` containing the metadata related to the request. A `Request` also has a `request.receive`, that's a function to "receive" the body of the request. The `scope` `dict` and `receive` function are both part of the ASGI specification. And those two things, `scope` and `receive`, are what is needed to create a new `Request` instance.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
不过也不用担心,前端仍可以显示终端用户所需的名称。 数据库模型也可以使用所需的名称。 但对于登录*路径操作*,则要使用兼容规范的 `username` 和 `password`,(例如,实现与 API 文档集成)。 该规范要求必须以表单数据形式发送 `username` 和 `password`,因此,不能使用 JSON 对象。 ### `Scope`(作用域) OAuth2 还支持客户端发送**`scope`**表单字段。 虽然表单字段的名称是 `scope`(单数),但实际上,它是以空格分隔的,由多个**scope**组成的长字符串。 **作用域**只是不带空格的字符串。 常用于声明指定安全权限,例如: * 常见用例为,`users:read` 或 `users:write` * 脸书和 Instagram 使用 `instagram_basic`
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)