- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 277 for tutorial010_an_py310 (0.27 sec)
-
docs/pt/docs/advanced/testing-dependencies.md
E então o **FastAPI** chamará a sobreposição no lugar da dependência original. {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *} /// tip | Dica Você pode definir uma sobreposição de dependência para uma dependência que é utilizada em qualquer lugar da sua aplicação **FastAPI**.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/ko/docs/advanced/additional-status-codes.md
하지만 새로운 항목을 허용하기를 원할 것입니다. 항목이 이전에 존재하지 않았다면 이를 생성하고 HTTP 상태 코드 201 "Created"를 반환합니다. 이를 위해서는 `JSONResponse`를 가져와서 원하는 `status_code`를 설정하여 콘텐츠를 직접 반환합니다: {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *} /// warning | 경고 위의 예제처럼 `Response`를 직접 반환하면 바로 반환됩니다. 모델 등과 함께 직렬화되지 않습니다. 원하는 데이터가 있는지, 값이 유효한 JSON인지 확인합니다(`JSONResponse`를 사용하는 경우). /// /// note | 기술적 세부 정보
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 12:22:47 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/es/docs/advanced/testing-dependencies.md
Y entonces **FastAPI** llamará a esa dependencia para sobreescribir en lugar de la dependencia original. {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *} /// tip | Consejo Puedes sobreescribir una dependencia utilizada en cualquier lugar de tu aplicación **FastAPI**.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 2.6K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
And then **FastAPI** will call that override instead of the original dependency. {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *} /// tip You can set a dependency override for a dependency used anywhere in your **FastAPI** application.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.4K bytes - Viewed (0) -
tests/test_tutorial/test_body_fields/test_tutorial001.py
@pytest.fixture( name="client", params=[ "tutorial001_py39", pytest.param("tutorial001_py310", marks=needs_py310), "tutorial001_an_py39", pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_fields.{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 - 6.3K bytes - Viewed (0) -
docs/uk/docs/tutorial/background-tasks.md
**FastAPI** знає, як діяти в кожному випадку і як повторно використовувати один і той самий об'єкт, щоб усі фонові задачі були об’єднані та виконувалися у фоновому режимі після завершення основного запиту. {* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13,15,22,25] *} У цьому прикладі повідомлення будуть записані у файл `log.txt` *після* того, як відповідь буде надіслана. Якщо у запиті був переданий query-параметр, він буде записаний у лог у фоновій задачі.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 7.6K bytes - Viewed (0) -
docs/zh/docs/advanced/testing-dependencies.md
对于这些用例,**FastAPI** 应用支持 `app.dependency_overrides` 属性,该属性就是**字典**。 要在测试时覆盖原有依赖项,这个字典的键应当是原依赖项(函数),值是覆盖依赖项(另一个函数)。 这样一来,**FastAPI** 就会调用覆盖依赖项,不再调用原依赖项。 {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *} /// tip | 提示 **FastAPI** 应用中的任何位置都可以实现覆盖依赖项。 原依赖项可用于*路径操作函数*、*路径操作装饰器*(不需要返回值时)、`.include_router()` 调用等。 FastAPI 可以覆盖这些位置的依赖项。 ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 17 21:18:42 UTC 2024 - 1.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial004.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial004_py39"), pytest.param("tutorial004_py310", marks=needs_py310), pytest.param("tutorial004_an_py39"), pytest.param("tutorial004_an_py310", marks=needs_py310), pytest.param( "tutorial004_regex_an_py310", marks=( needs_py310, pytest.mark.filterwarnings(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 12:45:20 UTC 2025 - 5.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/cookie-param-models.md
/// ## Cookie з Pydantic-моделлю Оголосіть **cookie-параметри**, які Вам потрібні, у **Pydantic-моделі**, а потім оголосіть параметр як `Cookie`: {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *} **FastAPI** буде **витягувати** дані для **кожного поля** з **cookie** параметрів, отриманих у запиті, і передавати Вам Pydantic-модель, яку Ви визначили. ## Перевірка у документаціїRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Mar 19 17:03:38 UTC 2025 - 4.7K 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)