- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 254 for tutorial005_an_py39 (0.16 seconds)
-
docs/en/docs/tutorial/dependencies/sub-dependencies.md
**FastAPI** will take care of solving them. ## First dependency "dependable" { #first-dependency-dependable } You could create a first dependency ("dependable") like: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} It declares an optional query parameter `q` as a `str`, and then it just returns it. This is quite simple (not very useful), but will help us focus on how the sub-dependencies work.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.7K bytes - Click Count (0) -
docs/es/docs/tutorial/request-forms.md
## Importar `Form` { #import-form } Importar `Form` desde `fastapi`: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[3] *} ## Definir parámetros de `Form` { #define-form-parameters } Crea parámetros de formulario de la misma manera que lo harías para `Body` o `Query`: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[9] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/en/docs/tutorial/request-forms.md
/// ## Import `Form` { #import-form } Import `Form` from `fastapi`: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[3] *} ## Define `Form` parameters { #define-form-parameters } Create form parameters the same way you would for `Body` or `Query`: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[9] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/request-forms.md
## Importe `Form` { #import-form } Importe `Form` de `fastapi`: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[3] *} ## Defina parâmetros de `Form` { #define-form-parameters } Crie parâmetros de formulário da mesma forma que você faria para `Body` ou `Query`: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[9] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 3.1K bytes - Click Count (0) -
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py
from tests.utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial002_py310", marks=needs_py310), pytest.param("tutorial002_an_py39"), pytest.param("tutorial002_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.custom_request_and_route.{request.param}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/ru/docs/advanced/security/oauth2-scopes.md
{* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *} Теперь рассмотрим эти изменения шаг за шагом. ## OAuth2 схема безопасности { #oauth2-security-scheme }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:37:11 GMT 2025 - 20.7K bytes - Click Count (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:49:48 GMT 2025 - 13.5K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/sub-dependencies.md
**FastAPI** сам займётся их управлением. ## Первая зависимость { #first-dependency-dependable } Можно создать первую зависимость следующим образом: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} Она объявляет необязательный параметр запроса `q` как строку, а затем возвращает его. Это довольно просто (хотя и не очень полезно), но поможет нам сосредоточиться на том, как работают подзависимости.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/sub-dependencies.md
## Primeira dependência "dependable" { #first-dependency-dependable } Você pode criar uma primeira dependência ("dependable") dessa forma: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} Esse código declara um parâmetro de consulta opcional, `q`, com o tipo `str`, e então retorna esse parâmetro.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/en/docs/how-to/authentication-error-status-code.md
For example, you can create a subclass of `HTTPBearer` that returns a `403 Forbidden` error instead of the default `401 Unauthorized` error: {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *} /// tip Notice that the function returns the exception instance, it doesn't raise it. The raising is done in the rest of the internal code.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 1.3K bytes - Click Count (0)