- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 924 for docs_src (0.03 sec)
-
docs/en/docs/how-to/configure-swagger-ui.md
Without changing the settings, syntax highlighting is enabled by default: <img src="/img/tutorial/extending-openapi/image02.png"> But you can disable it by setting `syntaxHighlight` to `False`: {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *} ...and then Swagger UI won't show the syntax highlighting anymore: <img src="/img/tutorial/extending-openapi/image03.png"> ## Change the Theme { #change-the-theme }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/ru/docs/advanced/sub-applications.md
{* ../../docs_src/sub_applications/tutorial001_py39.py hl[3, 6:8] *} ### Подприложение { #sub-application } Затем создайте подприложение и его *операции пути*. Это подприложение — обычное стандартное приложение FastAPI, но именно оно будет «смонтировано»: {* ../../docs_src/sub_applications/tutorial001_py39.py hl[11, 14:16] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.8K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
{* ../../docs_src/dependencies/tutorial007_py39.py hl[2:4] *} El valor generado es lo que se inyecta en *path operations* y otras dependencias: {* ../../docs_src/dependencies/tutorial007_py39.py hl[4] *} El código posterior a la declaración `yield` se ejecuta después del response: {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *} /// tip | ConsejoRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.7K bytes - Viewed (0) -
docs/ja/docs/tutorial/query-params.md
同様に、デフォルト値を `None` とすることで、オプショナルなクエリパラメータを宣言できます: {* ../../docs_src/query_params/tutorial002.py hl[9] *} この場合、関数パラメータ `q` はオプショナルとなり、デフォルトでは `None` になります。 /// check | 確認 パスパラメータ `item_id` はパスパラメータであり、`q` はそれとは違ってクエリパラメータであると判別できるほど**FastAPI** が賢いということにも注意してください。 /// ## クエリパラメータの型変換 `bool` 型も宣言できます。これは以下の様に変換されます: {* ../../docs_src/query_params/tutorial003.py hl[9] *} この場合、以下にアクセスすると: ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/uk/docs/tutorial/schema-extra-example.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Jun 09 19:35:48 UTC 2025 - 13.4K bytes - Viewed (0) -
docs/uk/docs/tutorial/request-forms-and-files.md
```console $ pip install python-multipart ``` /// ## Імпорт `File` та `Form` {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *} ## Оголошення параметрів `File` та `Form` Створіть параметри файлів та форми так само як і для `Body` або `Query`: {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Feb 20 14:13:44 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/request-forms-and-files.md
``` /// ## Импортируйте `File` и `Form` { #import-file-and-form } {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *} ## Определите параметры `File` и `Form` { #define-file-and-form-parameters } Создайте параметры файла и формы таким же образом, как для `Body` или `Query`: {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/es/docs/advanced/templates.md
```jinja hl_lines="4" {!../../docs_src/templates/templates/item.html!} ``` En este ejemplo, enlazaría a un archivo CSS en `static/styles.css` con: ```CSS hl_lines="4" {!../../docs_src/templates/static/styles.css!} ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.7K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial009b.py
from pathlib import Path from fastapi.testclient import TestClient from docs_src.custom_response import tutorial009b_py39 from docs_src.custom_response.tutorial009b_py39 import app client = TestClient(app) def test_get(tmp_path: Path): file_path: Path = tmp_path / "large-video-file.mp4" tutorial009b_py39.some_file_path = str(file_path) test_content = b"Fake video bytes" file_path.write_bytes(test_content)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 505 bytes - Viewed (0) -
docs/uk/docs/tutorial/first-steps.md
{* ../../docs_src/first_steps/tutorial001.py hl[7] *} Це звичайна функція Python. FastAPI викликатиме її щоразу, коли отримає запит до URL із шляхом "/", використовуючи операцію `GET`. У даному випадку це асинхронна функція. --- Ви також можете визначити її як звичайну функцію замість `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 15.5K bytes - Viewed (0)