- Sort Score
- Result 10 results
- Languages All
Results 1821 - 1830 of 2,058 for py$ (0.12 sec)
-
docs/pt/docs/advanced/openapi-callbacks.md
Essa parte é bastante normal, a maior parte do código provavelmente já é familiar para você: {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[7:11,34:51] *} /// tip | Dica O parâmetro de consulta `callback_url` usa um tipo Pydantic <a href="https://docs.pydantic.dev/latest/api/networks/" class="external-link" target="_blank">Url</a>. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 20:32:40 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-fields.md
## `Field`のインポート まず、以下のようにインポートします: {* ../../docs_src/body_fields/tutorial001.py hl[4] *} /// warning | 注意 `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。 /// ## モデルの属性の宣言 以下のように`Field`をモデルの属性として使用することができます: {* ../../docs_src/body_fields/tutorial001.py hl[11,12,13,14] *} `Field`は`Query`や`Path`、`Body`と同じように動作し、全く同様のパラメータなどを持ちます。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Jun 22 14:34:53 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-forms.md
例如,`pip install python-multipart`。 /// ## 导入 `Form` 从 `fastapi` 导入 `Form`: {* ../../docs_src/request_forms/tutorial001.py hl[1] *} ## 定义 `Form` 参数 创建表单(`Form`)参数的方式与 `Body` 和 `Query` 一样: {* ../../docs_src/request_forms/tutorial001.py hl[7] *} 例如,OAuth2 规范的 "密码流" 模式规定要通过表单字段发送 `username` 和 `password`。 <abbr title="specification">该规范</abbr>要求字段必须命名为 `username` 和 `password`,并通过表单字段发送,不能用 JSON。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/zh/docs/fastapi-cli.md
```console $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u> <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server 🚀 Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/uk/docs/index.md
</div> <details markdown="1"> <summary>Про команди <code>uvicorn main:app --reload</code>...</summary> Команда `uvicorn main:app` посилається на: * `main`: файл `main.py` ("Модуль" Python). * `app`: об’єкт створений усередині `main.py` рядком `app = FastAPI()`. * `--reload`: перезапускає сервер після зміни коду. Використовуйте виключно для розробки. </details> ### Перевірте
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 24.2K bytes - Viewed (0) -
docs/zh/docs/advanced/testing-events.md
# 测试事件:启动 - 关闭 使用 `TestClient` 和 `with` 语句,在测试中运行事件处理器(`startup` 与 `shutdown`)。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 205 bytes - Viewed (0) -
docs/ko/docs/advanced/testing-events.md
# 이벤트 테스트: 시작 - 종료 테스트에서 이벤트 핸들러(`startup` 및 `shutdown`)를 실행해야 하는 경우, `with` 문과 함께 `TestClient`를 사용할 수 있습니다.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 262 bytes - Viewed (0) -
docs/de/docs/advanced/response-directly.md
In diesen Fällen können Sie den `jsonable_encoder` verwenden, um Ihre Daten zu konvertieren, bevor Sie sie an eine Response übergeben: {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *} /// note | Technische Details Sie könnten auch `from starlette.responses import JSONResponse` verwenden.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/en/docs/tutorial/cookie-param-models.md
Declare the **cookie** parameters that you need in a **Pydantic model**, and then declare the parameter as `Cookie`: {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *} **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined. ## Check the Docs { #check-the-docs }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/es/docs/advanced/response-directly.md
Para esos casos, puedes usar el `jsonable_encoder` para convertir tus datos antes de pasarlos a un response: {* ../../docs_src/response_directly/tutorial001_py310.py hl[5:6,20:21] *} /// note | Detalles técnicos También podrías usar `from starlette.responses import JSONResponse`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.4K bytes - Viewed (0)