- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 515 for tutorial006c_py39 (0.07 sec)
-
docs/ru/docs/advanced/additional-responses.md
Например, чтобы объявить ещё один ответ со статус-кодом `404` и Pydantic-моделью `Message`, можно написать: {* ../../docs_src/additional_responses/tutorial001_py39.py hl[18,22] *} /// note | Примечание Имейте в виду, что необходимо возвращать `JSONResponse` напрямую. /// /// info | Информация Ключ `model` не является частью OpenAPI.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.3K bytes - Viewed (0) -
docs/es/docs/advanced/settings.md
//// tab | Pydantic v2 {* ../../docs_src/settings/tutorial001_py39.py hl[2,5:8,11] *} //// //// tab | Pydantic v1 /// info | Información En Pydantic v1 importarías `BaseSettings` directamente desde `pydantic` en lugar de desde `pydantic_settings`. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.2K bytes - Viewed (0) -
docs/en/docs/tutorial/cors.md
* Credentials (Authorization headers, Cookies, etc). * Specific HTTP methods (`POST`, `PUT`) or all of them with the wildcard `"*"`. * Specific HTTP headers or all of them with the wildcard `"*"`. {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5.5K bytes - Viewed (0) -
docs/es/docs/tutorial/path-params-numeric-validations.md
Así que puedes declarar tu función como: {* ../../docs_src/path_params_numeric_validations/tutorial002_py39.py hl[7] *} Pero ten en cuenta que si usas `Annotated`, no tendrás este problema, no importará ya que no estás usando los valores por defecto de los parámetros de la función para `Query()` o `Path()`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.4K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params-numeric-validations.md
Sie können Ihre Funktion also so deklarieren: {* ../../docs_src/path_params_numeric_validations/tutorial002_py39.py hl[7] *} Aber bedenken Sie, dass Sie dieses Problem nicht haben, wenn Sie `Annotated` verwenden, da es nicht darauf ankommt, dass Sie keine Funktionsparameter-Defaultwerte für `Query()` oder `Path()` verwenden.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/de/docs/tutorial/testing.md
Schreiben Sie einfache `assert`-Anweisungen mit den Standard-Python-Ausdrücken, die Sie überprüfen müssen (wiederum, Standard-`pytest`). {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *} /// tip | Tipp Beachten Sie, dass die Testfunktionen normal `def` und nicht `async def` sind. Und die Anrufe an den Client sind ebenfalls normale Anrufe, die nicht `await` verwenden.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7K bytes - Viewed (0) -
docs/en/docs/tutorial/metadata.md
You can set them as follows: {* ../../docs_src/metadata/tutorial001_py39.py hl[3:16, 19:32] *} /// tip You can write Markdown in the `description` field and it will be rendered in the output. /// With this configuration, the automatic API docs would look like:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5.9K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
Use the `TestClient` object the same way as you do with `httpx`. Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`). {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *} /// tip Notice that the testing functions are normal `def`, not `async def`. And the calls to the client are also normal calls, not using `await`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial004.py
from unittest.mock import patch import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="mod", 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), ], )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 13.3K bytes - Viewed (0) -
docs/es/docs/advanced/behind-a-proxy.md
En este caso, el path original `/app` realmente sería servido en `/api/v1/app`. Aunque todo tu código esté escrito asumiendo que solo existe `/app`. {* ../../docs_src/behind_a_proxy/tutorial001_py39.py hl[6] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.1K bytes - Viewed (0)