- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 793 for py$ (0.01 sec)
-
docs/ja/docs/tutorial/debugging.md
{* ../../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` だとします。 以下の様に実行する場合:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3K bytes - Viewed (0) -
docs/en/docs/tutorial/header-params.md
{* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## Declare `Header` parameters { #declare-header-parameters } Then declare the header parameters using the same structure as with `Path`, `Query` and `Cookie`. You can define the default value as well as all the extra validation or annotation parameters: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *} /// note | Technical Details
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3K bytes - Viewed (0) -
docs/de/docs/advanced/sub-applications.md
{* ../../docs_src/sub_applications/tutorial001.py hl[3,6:8] *} ### Unteranwendung Erstellen Sie dann Ihre Unteranwendung und deren *Pfadoperationen*. Diese Unteranwendung ist nur eine weitere Standard-FastAPI-Anwendung, aber diese wird „gemountet“: {* ../../docs_src/sub_applications/tutorial001.py hl[11,14:16] *} ### Die Unteranwendung mounten
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/es/docs/how-to/configure-swagger-ui.md
Incluye estas configuraciones predeterminadas: {* ../../fastapi/openapi/docs.py ln[8:23] hl[17:23] *} Puedes sobrescribir cualquiera de ellos estableciendo un valor diferente en el argumento `swagger_ui_parameters`. Por ejemplo, para desactivar `deepLinking` podrías pasar estas configuraciones a `swagger_ui_parameters`: {* ../../docs_src/configure_swagger_ui/tutorial003.py hl[3] *} ## Otros parámetros de Swagger UI
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 3K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
Pueden declarar requisitos de request (como headers) u otras sub-dependencias: {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[8,13] *} ### Lanzar excepciones Estas dependencias pueden `raise` excepciones, igual que las dependencias normales: {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[10,15] *} ### Valores de retorno Y pueden devolver valores o no, los valores no serán usados.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
It includes these default configurations: {* ../../fastapi/openapi/docs.py ln[8:23] hl[17:23] *} You can override any of them by setting a different value in the argument `swagger_ui_parameters`. For example, to disable `deepLinking` you could pass these settings to `swagger_ui_parameters`: {* ../../docs_src/configure_swagger_ui/tutorial003.py hl[3] *} ## Other Swagger UI Parameters { #other-swagger-ui-parameters }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/ru/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 Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.9K bytes - Viewed (0) -
docs/es/docs/tutorial/handling-errors.md
## Usa `HTTPException` Para devolver responses HTTP con errores al cliente, usa `HTTPException`. ### Importa `HTTPException` {* ../../docs_src/handling_errors/tutorial001.py hl[1] *} ### Lanza un `HTTPException` en tu código `HTTPException` es una excepción de Python normal con datos adicionales relevantes para APIs.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial005.py hl[16] *} ### 문서 확인 *경로 매개변수*에 사용할 수 있는 값은 미리 정의되어 있으므로 대화형 문서에서 잘 표시됩니다: <img src="/img/tutorial/path-params/image03.png"> ### 파이썬 *열거형*으로 작업하기 *경로 매개변수*의 값은 *열거형 멤버*가 됩니다. #### *열거형 멤버* 비교 열거형 `ModelName`의 *열거형 멤버*를 비교할 수 있습니다: {* ../../docs_src/path_params/tutorial005.py hl[17] *} #### *열거형 값* 가져오기
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/dependencies-with-yield.md
🕴 📟 ⏭ & 🔌 `yield` 📄 🛠️ ⏭ 📨 📨: {* ../../docs_src/dependencies/tutorial007.py hl[2:4] *} 🌾 💲 ⚫️❔ 💉 🔘 *➡ 🛠️* & 🎏 🔗: {* ../../docs_src/dependencies/tutorial007.py hl[4] *} 📟 📄 `yield` 📄 🛠️ ⏮️ 📨 ✔️ 🚚: {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *} /// tip 👆 💪 ⚙️ `async` ⚖️ 😐 🔢. **FastAPI** 🔜 ▶️️ 👜 ⏮️ 🔠, 🎏 ⏮️ 😐 🔗. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.4K bytes - Viewed (0)