- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 277 for tutorial010_an_py310 (0.12 sec)
-
docs/es/docs/tutorial/security/oauth2-jwt.md
{* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *} ## Actualizar la *path operation* `/token` { #update-the-token-path-operation } Crea un `timedelta` con el tiempo de expiración del token. Crea un verdadero token de acceso JWT y devuélvelo. {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 11.3K bytes - Viewed (0) -
docs/en/docs/tutorial/body-fields.md
{* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *} /// warning Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc). /// ## Declare model attributes { #declare-model-attributes } You can then use `Field` with model attributes: {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/sub-dependencies.md
**FastAPI** сам займётся их управлением. ## Первая зависимость { #first-dependency-dependable } Можно создать первую зависимость следующим образом: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} Она объявляет необязательный параметр запроса `q` как строку, а затем возвращает его. Это довольно просто (хотя и не очень полезно), но поможет нам сосредоточиться на том, как работают подзависимости.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.3K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial014_py39"), pytest.param("tutorial014_py310", marks=needs_py310), pytest.param("tutorial014_an_py39"), pytest.param("tutorial014_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: Wed Dec 17 20:41:43 UTC 2025 - 3.4K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
## Import `Path` { #import-path } First, import `Path` from `fastapi`, and import `Annotated`: {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *} /// info FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0. If you have an older version, you would get errors when trying to use `Annotated`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
If the token is invalid, return an HTTP error right away. {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *} ## Update the `/token` *path operation* { #update-the-token-path-operation } Create a `timedelta` with the expiration time of the token. Create a real JWT access token and return it. {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 10.6K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_params/test_tutorial001.py
@pytest.fixture( name="mod", params=[ "tutorial001_py39", pytest.param("tutorial001_py310", marks=needs_py310), "tutorial001_an_py39", pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_mod(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.cookie_params.{request.param}") return mod @pytest.mark.parametrize(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial001.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial001_an_py39"), pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.header_params.{request.param}") client = TestClient(mod.app) return client
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 3.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial011_py39"), pytest.param("tutorial011_py310", marks=needs_py310), pytest.param("tutorial011_an_py39"), pytest.param("tutorial011_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: Sat Dec 27 18:19:10 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.5K bytes - Viewed (0)