- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 231 for tutorial004_an_py310 (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/ru/docs/tutorial/body-fields.md
## Импорт `Field` { #import-field } Сначала вы должны импортировать его: {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *} /// warning | Внимание Обратите внимание, что функция `Field` импортируется непосредственно из `pydantic`, а не из `fastapi`, как все остальные функции (`Query`, `Path`, `Body` и т.д.). ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 4.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
### `OAuth2PasswordRequestForm` { #oauth2passwordrequestform } Primeiro, importe `OAuth2PasswordRequestForm` e use-o como uma dependência com `Depends` na *operação de rota* para `/token`: {* ../../docs_src/security/tutorial003_an_py310.py hl[4,78] *} `OAuth2PasswordRequestForm` é uma dependência de classe que declara um corpo de formulário com: * O `username`. * A `password`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.3K bytes - Click Count (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] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.3K bytes - Click Count (0) -
docs/ru/docs/tutorial/extra-data-types.md
{* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *} Обратите внимание, что параметры внутри функции имеют свой естественный тип данных, и вы, например, можете выполнять обычные манипуляции с датами, такие как:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/extra-data-types.md
{* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *} Note que os parâmetros dentro da função tem seu tipo de dados natural, e você pode, por exemplo, realizar manipulações normais de data, como:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 3K bytes - Click Count (0) -
tests/test_tutorial/test_background_tasks/test_tutorial002.py
@pytest.fixture( name="client", params=[ "tutorial002_py39", pytest.param("tutorial002_py310", marks=needs_py310), "tutorial002_an_py39", pytest.param("tutorial002_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.background_tasks.{request.param}") client = TestClient(mod.app) return client
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 996 bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/index.md
### Импорт `Depends` { #import-depends } {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *} ### Объявите зависимость в «зависимом» { #declare-the-dependency-in-the-dependant } Точно так же, как вы используете `Body`, `Query` и т. д. с параметрами вашей *функции обработки пути*, используйте `Depends` с новым параметром: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 15.4K bytes - Click Count (1) -
tests/test_tutorial/test_custom_request_and_route/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.custom_request_and_route.{request.param}") @mod.app.get("/check-class")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.3K bytes - Click Count (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`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.1K bytes - Click Count (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}" )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.4K bytes - Click Count (0)