- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 442 for tutorial009c_py39 (0.12 seconds)
-
docs/ru/docs/advanced/path-operation-advanced-configuration.md
Нужно убедиться, что он уникален для каждой операции. {* ../../docs_src/path_operation_advanced_configuration/tutorial001_py39.py hl[6] *} ### Использование имени функции-обработчика пути как operationId { #using-the-path-operation-function-name-as-the-operationid }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 11.5K bytes - Click Count (0) -
docs/es/docs/advanced/additional-responses.md
Por ejemplo, para declarar otro response con un código de estado `404` y un modelo Pydantic `Message`, puedes escribir: {* ../../docs_src/additional_responses/tutorial001_py39.py hl[18,22] *} /// note | Nota Ten en cuenta que debes devolver el `JSONResponse` directamente. /// /// info | Información La clave `model` no es parte de OpenAPI.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
Um beispielsweise eine weitere Response mit dem Statuscode `404` und einem Pydantic-Modell `Message` zu deklarieren, können Sie schreiben: {* ../../docs_src/additional_responses/tutorial001_py39.py hl[18,22] *} /// note | Hinweis Beachten Sie, dass Sie die `JSONResponse` direkt zurückgeben müssen. /// /// info | Info Der `model`-Schlüssel ist nicht Teil von OpenAPI.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 example, to declare another response with a status code `404` and a Pydantic model `Message`, you can write: {* ../../docs_src/additional_responses/tutorial001_py39.py hl[18,22] *} /// note Keep in mind that you have to return the `JSONResponse` directly. /// /// info The `model` key is not part of OpenAPI.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/es/docs/tutorial/extra-models.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 7.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/request-files.md
## 多文件上传 FastAPI 支持同时上传多个文件。 可用同一个「表单字段」发送含多个文件的「表单数据」。 上传多个文件时,要声明含 `bytes` 或 `UploadFile` 的列表(`List`): {* ../../docs_src/request_files/tutorial002_py39.py hl[8,13] *} 接收的也是含 `bytes` 或 `UploadFile` 的列表(`list`)。 /// note | 技术细节 也可以使用 `from starlette.responses import HTMLResponse`。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.3K bytes - Click Count (0) -
tests/test_tutorial/test_custom_response/test_tutorial009.py
from pathlib import Path from fastapi.testclient import TestClient from docs_src.custom_response import tutorial009_py39 from docs_src.custom_response.tutorial009_py39 import app client = TestClient(app) def test_get(tmp_path: Path): file_path: Path = tmp_path / "large-video-file.mp4" tutorial009_py39.some_file_path = str(file_path) test_content = b"Fake video bytes" file_path.write_bytes(test_content)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 502 bytes - Click Count (0) -
docs/es/docs/tutorial/path-operation-configuration.md
En estos casos, podría tener sentido almacenar las tags en un `Enum`. **FastAPI** soporta eso de la misma manera que con strings normales: {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *} ## Resumen y Descripción { #summary-and-description } Puedes añadir un `summary` y `description`: {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/path-operation-configuration.md
Nestes casos, pode fazer sentido armazenar as tags em um `Enum`. **FastAPI** suporta isso da mesma maneira que com strings simples: {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *} ## Resumo e descrição { #summary-and-description } Você pode adicionar um `summary` e uma `description`: {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/pt/docs/advanced/behind-a-proxy.md
Nesse caso, o path original `/app` seria servido em `/api/v1/app`. Embora todo o seu código esteja escrito assumindo que existe apenas `/app`. {* ../../docs_src/behind_a_proxy/tutorial001_py39.py hl[6] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.2K bytes - Click Count (0)