- Sort Score
- Result 10 results
- Languages All
Results 1321 - 1330 of 2,058 for py$ (0.08 sec)
-
docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
{* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *} Обратите внимание на метод `__init__`, используемый для создания экземпляра класса: {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *} ...он имеет те же параметры, что и ранее используемая функция `common_parameters`: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.7K bytes - Viewed (0) -
docs/uk/docs/tutorial/handling-errors.md
## Використання `HTTPException` Щоб повернути HTTP-відповіді з помилками клієнту, використовуйте `HTTPException`. ### Імпорт `HTTPException` {* ../../docs_src/handling_errors/tutorial001.py hl[1] *} ### Використання `HTTPException` у коді `HTTPException` — це звичайна помилка Python із додатковими даними, які стосуються API.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 13.9K bytes - Viewed (0) -
docs/en/docs/tutorial/debugging.md
{* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *} ### About `__name__ == "__main__"` { #about-name-main } The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with: <div class="termy"> ```console $ python myapp.py ``` </div> but is not called when another file imports it, like in: ```PythonRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.4K bytes - Viewed (0) -
docs/ko/docs/advanced/websockets.md
/// ## 메시지를 대기하고 전송하기 WebSocket 경로에서 메시지를 대기(`await`)하고 전송할 수 있습니다. {* ../../docs_src/websockets/tutorial001.py hl[48:52] *} 여러분은 이진 데이터, 텍스트, JSON 데이터를 받을 수 있고 전송할 수 있습니다. ## 시도해보기 파일 이름이 `main.py`라고 가정하고 응용 프로그램을 실행합니다: <div class="termy"> ```console $ fastapi dev main.py <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 6.3K bytes - Viewed (0) -
docs/uk/docs/tutorial/header-params.md
{* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## Оголошення параметрів `Header` Потім оголосіть параметри заголовків, використовуючи ту ж структуру, що й для `Path`, `Query` та `Cookie`. Ви можете визначити значення за замовчуванням, а також усі додаткові параметри валідації або анотації: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *} /// note | Технічні деталіRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Feb 22 22:02:19 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/de/docs/tutorial/body-nested-models.md
Für ein Beispiel können wir ein `Image`-Modell definieren. {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[7:9] *} ### Das Kindmodell als Typ verwenden { #use-the-submodel-as-a-type } Und dann können wir es als Typ eines Attributes verwenden: {* ../../docs_src/body_nested_models/tutorial004_py310.py hl[18] *} Das würde bedeuten, dass **FastAPI** einen Body wie folgt erwartet: ```JSON { "name": "Foo",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.6K bytes - Viewed (0) -
docs/de/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *} ## Zusammenfassung und Beschreibung { #summary-and-description } Sie können eine <abbr title="Zusammenfassung">`summary`</abbr> und eine <abbr title="Beschreibung">`description`</abbr> hinzufügen: {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *} ## Beschreibung mittels Docstring { #description-from-docstring }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *} ## Краткое и развёрнутое содержание { #summary-and-description } Вы можете добавить параметры `summary` и `description`: {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *} ## Описание из строк документации { #description-from-docstring }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/en/docs/tutorial/path-operation-configuration.md
**FastAPI** supports that the same way as with plain strings: {* ../../docs_src/path_operation_configuration/tutorial002b_py39.py hl[1,8:10,13,18] *} ## Summary and description { #summary-and-description } You can add a `summary` and `description`: {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[18:19] *} ## Description from docstring { #description-from-docstring }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/debugging.md
在你的 FastAPI 应用中直接导入 `uvicorn` 并运行: {* ../../docs_src/debugging/tutorial001.py hl[1,15] *} ### 关于 `__name__ == "__main__"` `__name__ == "__main__"` 的主要目的是使用以下代码调用文件时执行一些代码: <div class="termy"> ```console $ python myapp.py ``` </div> 而当其它文件导入它时并不会被调用,像这样: ```Python from myapp import app ``` #### 更多细节 假设你的文件命名为 `myapp.py`。 如果你这样运行: <div class="termy"> ```consoleRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.3K bytes - Viewed (0)