- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 83 for tutorial003_04_py310 (0.07 sec)
-
docs/es/docs/tutorial/header-param-models.md
Si por alguna razón necesitas desactivar esta conversión automática, también puedes hacerlo para los modelos Pydantic de parámetros de header. {* ../../docs_src/header_param_models/tutorial003_an_py310.py hl[19] *} /// warning | Advertencia Antes de establecer `convert_underscores` a `False`, ten en cuenta que algunos proxies y servidores HTTP no permiten el uso de headers con guiones bajos. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 2.8K bytes - Viewed (0) -
docs/en/docs/tutorial/header-params.md
You will receive all the values from the duplicate header as a Python `list`. For example, to declare a header of `X-Token` that can appear more than once, you can write: {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *} If you communicate with that *path operation* sending two HTTP headers like: ``` X-Token: foo X-Token: bar ``` The response would be like: ```JSON {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial003.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial003_py39"), pytest.param("tutorial003_py310", marks=needs_py310), pytest.param("tutorial003_an_py39"), pytest.param("tutorial003_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module( f"docs_src.query_params_str_validations.{request.param}" )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.1K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial003.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial003_py39"), pytest.param("tutorial003_py310", marks=needs_py310), pytest.param("tutorial003_an_py39"), pytest.param("tutorial003_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.header_param_models.{request.param}") client = TestClient(mod.app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.5K bytes - Viewed (0) -
docs/uk/docs/tutorial/body-multiple-params.md
Але Ви можете вказати **FastAPI** обробляти його як інший ключ тіла (body key), використовуючи `Body`: {* ../../docs_src/body_multiple_params/tutorial003_an_py310.py hl[23] *} У цьому випадку **FastAPI** очікуватиме тіло запиту у такому вигляді: ```JSON { "item": { "name": "Foo", "description": "The pretender", "price": 42.0,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Feb 28 14:19:00 UTC 2025 - 7.4K bytes - Viewed (0) -
docs/uk/docs/tutorial/header-params.md
Ви отримаєте всі значення дубльованого заголовка у вигляді `list` у Python. Наприклад, щоб оголосити заголовок `X-Token`, який може з’являтися більше ніж один раз: {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *} Якщо Ви взаємодієте з цією операцією шляху, надсилаючи два HTTP-заголовки, наприклад: ``` X-Token: foo X-Token: bar ``` Відповідь буде така: ```JSON {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Feb 22 22:02:19 UTC 2025 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02.py
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/de/docs/tutorial/header-param-models.md
Falls Sie aus irgendeinem Grund diese automatische Umwandlung deaktivieren müssen, können Sie dies auch für Pydantic-Modelle für Header-Parameter tun. {* ../../docs_src/header_param_models/tutorial003_an_py310.py hl[19] *} /// warning | Achtung Bevor Sie `convert_underscores` auf `False` setzen, bedenken Sie, dass einige HTTP-Proxies und -Server die Verwendung von Headern mit Unterstrichen nicht zulassen. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/en/docs/tutorial/header-param-models.md
If for some reason you need to disable this automatic conversion, you can do it as well for Pydantic models for header parameters. {* ../../docs_src/header_param_models/tutorial003_an_py310.py hl[19] *} /// warning Before setting `convert_underscores` to `False`, bear in mind that some HTTP proxies and servers disallow the usage of headers with underscores. /// ## Summary { #summary }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.6K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py
@pytest.fixture( name="client", params=[ "tutorial003_py39", pytest.param("tutorial003_py310", marks=needs_py310), "tutorial003_an_py39", pytest.param("tutorial003_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_multiple_params.{request.param}") client = TestClient(mod.app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.4K bytes - Viewed (0)