- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 429 for python3 (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
fastapi/security/oauth2.py
Read more about it in the [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/). ## Example ```python from typing import Annotated from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordRequestForm app = FastAPI() @app.post("/login")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 22K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/index.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.7K bytes - Click Count (0) -
.github/dependabot.yml
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Apr 19 00:41:55 GMT 2024 - 311 bytes - Click Count (0) -
docs/es/docs/advanced/additional-responses.md
Para esos casos, puedes usar la técnica de Python de "desempaquetar" un `dict` con `**dict_to_unpack`: ```Python old_dict = { "old key": "old value", "second old key": "second old value", } new_dict = {**old_dict, "new key": "new value"} ``` Aquí, `new_dict` contendrá todos los pares clave-valor de `old_dict` más el nuevo par clave-valor: ```Python { "old key": "old value",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.3K bytes - Click Count (0) -
docs/de/docs/advanced/additional-responses.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10K bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
For those cases, you can use the Python technique of "unpacking" a `dict` with `**dict_to_unpack`: ```Python old_dict = { "old key": "old value", "second old key": "second old value", } new_dict = {**old_dict, "new key": "new value"} ``` Here, `new_dict` will contain all the key-value pairs from `old_dict` plus the new key-value pair: ```Python { "old key": "old value",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params.md
http://127.0.0.1:8000/items/?skip=0&limit=10 ``` ……查询参数为: * `skip`:值为 `0` * `limit`:值为 `10` 这些值都是 URL 的组成部分,因此,它们的类型**本应**是字符串。 但声明 Python 类型(上例中为 `int`)之后,这些值就会转换为声明的类型,并进行类型校验。 所有应用于路径参数的流程也适用于查询参数: * (显而易见的)编辑器支持 * 数据<abbr title="将来自 HTTP 请求的字符串转换为 Python 数据类型">**解析**</abbr> * 数据校验 * API 文档 ## 默认值 查询参数不是路径的固定内容,它是可选的,还支持默认值。 上例用 `skip=0` 和 `limit=10` 设定默认值。 访问 URL: ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.3K bytes - Click Count (0) -
ci/official/containers/ml_build/builder.requirements.txt
# For wheel verification, and uploading auditwheel ~= 6.1.0 twine ~= 6.1.0 id urllib3 requests # For XLA pyyaml # For JAX build ~= 1.2.2 # uv is faster than pip for installing Python packages. uv ~= 0.5.30 # For running wheel verification script
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Oct 30 20:25:44 GMT 2025 - 271 bytes - Click Count (0) -
docs/en/docs/reference/templating.md
Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/). You can import it directly from `fastapi.templating`: ```python from fastapi.templating import Jinja2Templates ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 365 bytes - Click Count (0) -
docs/en/docs/reference/uploadfile.md
# `UploadFile` class You can define *path operation function* parameters to be of the type `UploadFile` to receive files from the request. You can import it directly from `fastapi`: ```python from fastapi import UploadFile ``` ::: fastapi.UploadFile options: members: - file - filename - size - headers - content_type - readCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 472 bytes - Click Count (0)