- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 924 for docs_src (0.13 sec)
-
docs/en/docs/advanced/middleware.md
Any incoming request to `http` or `ws` will be redirected to the secure scheme instead. {* ../../docs_src/advanced_middleware/tutorial001_py39.py hl[2,6] *} ## `TrustedHostMiddleware` { #trustedhostmiddleware } Enforces that all incoming requests have a correctly set `Host` header, in order to guard against HTTP Host Header attacks. {* ../../docs_src/advanced_middleware/tutorial002_py39.py hl[2,6:8] *} The following arguments are supported:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-status-code.md
Рассмотрим предыдущий пример еще раз: {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *} `201` – это код статуса "Создано". Но вам не обязательно запоминать, что означает каждый из этих кодов. Для удобства вы можете использовать переменные из `fastapi.status`. {* ../../docs_src/response_status_code/tutorial002_py39.py hl[1,6] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.1K bytes - Viewed (0) -
tests/test_tutorial/test_python_types/test_tutorial001_tutorial002.py
"module_name", [ "tutorial001_py39", "tutorial002_py39", ], ) def test_run_module(module_name: str): with patch("builtins.print") as mock_print: runpy.run_module(f"docs_src.python_types.{module_name}", run_name="__main__")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 398 bytes - Viewed (0) -
docs/de/docs/advanced/openapi-callbacks.md
Dieser Teil ist ziemlich normal, der größte Teil des Codes ist Ihnen wahrscheinlich bereits bekannt: {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[7:11,34:51] *} /// tip | TippRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 13:54:34 UTC 2025 - 9.2K bytes - Viewed (0) -
docs/ja/docs/python-types.md
/// ## 動機 簡単な例から始めてみましょう: {* ../../docs_src/python_types/tutorial001.py *} このプログラムを実行すると以下が出力されます: ``` John Doe ``` この関数は以下のようなことを行います: * `first_name`と`last_name`を取得します。 * `title()`を用いて、それぞれの最初の文字を大文字に変換します。 * 真ん中にスペースを入れて<abbr title="次から次へと中身を入れて一つにまとめる">連結</abbr>します。 {* ../../docs_src/python_types/tutorial001.py hl[2] *} ### 編集 これはとても簡単なプログラムです。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.6K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_04.py
pytest.param("tutorial003_04_py310", marks=needs_py310), ], ) def test_invalid_response_model(module_name: str) -> None: with pytest.raises(FastAPIError):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 453 bytes - Viewed (0) -
docs/de/docs/advanced/response-cookies.md
Und dann können Sie Cookies in diesem *vorübergehenden* <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr>-Objekt setzen. {* ../../docs_src/response_cookies/tutorial002_py39.py hl[1, 8:9] *} Anschließend können Sie wie gewohnt jedes gewünschte Objekt zurückgeben (ein `dict`, ein Datenbankmodell, usw.).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/uk/docs/tutorial/extra-data-types.md
Ось приклад *path operation* з параметрами, використовуючи деякі з вищезазначених типів. {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *} Зверніть увагу, що параметри всередині функції мають свій звичайний тип даних, і ви можете, наприклад, виконувати звичайні маніпуляції з датами, такі як:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/uk/docs/tutorial/request-forms.md
```console $ pip install python-multipart ``` /// ## Імпорт `Form` Імпортуйте `Form` з `fastapi`: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[3] *} ## Оголошення параметрів `Form` Створюйте параметри форми так само як Ви б створювали `Body` або `Query`: {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[9] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Feb 28 14:13:50 UTC 2025 - 4K bytes - Viewed (0) -
docs/pt/docs/advanced/response-cookies.md
Você pode declarar um parâmetro do tipo `Response` na sua *função de operação de rota*. E então você pode definir cookies nesse objeto de resposta *temporário*. {* ../../docs_src/response_cookies/tutorial002_py39.py hl[1, 8:9] *} Em seguida, você pode retornar qualquer objeto que precise, como normalmente faria (um `dict`, um modelo de banco de dados, etc).Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.5K bytes - Viewed (0)