- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 151 for tutorial001_02_py310 (0.26 sec)
-
tests/test_tutorial/test_request_files/test_tutorial001_02.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial001_02_py39"), pytest.param("tutorial001_02_py310", marks=needs_py310), pytest.param("tutorial001_02_an_py39"), pytest.param("tutorial001_02_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-files.md
这不是 **FastAPI** 的问题,而是 HTTP 协议的规定。 /// ## 可选文件上传 您可以通过使用标准类型注解并将 None 作为默认值的方式将一个文件参数设为可选: {* ../../docs_src/request_files/tutorial001_02_py310.py hl[7,14] *} ## 带有额外元数据的 `UploadFile` 您也可以将 `File()` 与 `UploadFile` 一起使用,例如,设置额外的元数据: {* ../../docs_src/request_files/tutorial001_03.py hl[13] *} ## 多文件上传 FastAPI 支持同时上传多个文件。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.3K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
You can use **type annotations** the same way you would for input data in function **parameters**, you can use Pydantic models, lists, dictionaries, scalar values like integers, booleans, etc. {* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *} FastAPI will use this return type to: * **Validate** the returned data.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *} O FastAPI usará este tipo de retorno para: * **Validar** os dados retornados.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.3K bytes - Viewed (0) -
docs_src/cookie_param_models/tutorial001_an_py310.py
Sebastián Ramírez <******@****.***> 1726599250 +0200
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 343 bytes - Viewed (0) -
docs/uk/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *} FastAPI використовуватиме цей тип, щоб: * **Перевірити правильність** повернених даних.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Jun 24 19:14:01 UTC 2025 - 24.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-model.md
Вы можете использовать **аннотации типов** так же, как и для входных данных в **параметрах** функции: Pydantic-модели, списки, словари, скалярные значения (целые числа, булевы и т.д.). {* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *} FastAPI будет использовать этот тип ответа для: * **Валидации** возвращаемых данных.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 25.8K bytes - Viewed (0) -
docs_src/request_files/tutorial001_02_py39.py
Sebastián Ramírez <******@****.***> 1766004103 -0800
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 508 bytes - Viewed (0) -
docs/de/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *} FastAPI wird diesen Rückgabetyp verwenden, um: * Die zurückzugebenden Daten zu **validieren**.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 17.5K bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_an_py310.py
Nils Lindemann <******@****.***> 1713485500 +0200
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 788 bytes - Viewed (0)