Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 794 for py (0.01 sec)

  1. docs/de/docs/advanced/using-request-directly.md

    Angenommen, Sie möchten auf die IP-Adresse/den Host des Clients in Ihrer *Pfadoperation-Funktion* zugreifen.
    
    Dazu müssen Sie direkt auf den Request zugreifen.
    
    {* ../../docs_src/using_request_directly/tutorial001.py hl[1,7:8] *}
    
    Durch die Deklaration eines *Pfadoperation-Funktionsparameters*, dessen Typ der `Request` ist, weiß **FastAPI**, dass es den `Request` diesem Parameter übergeben soll.
    
    /// tip | Tipp
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 12 19:57:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. docs/es/docs/how-to/graphql.md

    Aquí tienes una pequeña vista previa de cómo podrías integrar Strawberry con FastAPI:
    
    {* ../../docs_src/graphql/tutorial001.py hl[3,22,25:26] *}
    
    Puedes aprender más sobre Strawberry en la <a href="https://strawberry.rocks/" class="external-link" target="_blank">documentación de Strawberry</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/graphql.md

    Here's a small preview of how you could integrate Strawberry with FastAPI:
    
    {* ../../docs_src/graphql/tutorial001.py hl[3,22,25] *}
    
    You can learn more about Strawberry in the <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry documentation</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/static-files.md

    # 静的ファイル
    
    `StaticFiles` を使用して、ディレクトリから静的ファイルを自動的に提供できます。
    
    ## `StaticFiles` の使用
    
    * `StaticFiles` をインポート。
    * `StaticFiles()` インスタンスを生成し、特定のパスに「マウント」。
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | 技術詳細
    
    `from starlette.staticfiles import StaticFiles` も使用できます。
    
    **FastAPI**は、開発者の利便性のために、`starlette.staticfiles` と同じ `fastapi.staticfiles` を提供します。しかし、実際にはStarletteから直接渡されています。
    
    ///
    
    ### 「マウント」とは
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. docs/ko/docs/how-to/conditional-openapi.md

    ## 설정 및 환경변수의 조건부 OpenAPI
    
    동일한 Pydantic 설정을 사용하여 생성된 OpenAPI 및 문서 UI를 쉽게 구성할 수 있습니다.
    
    예를 들어:
    
    {* ../../docs_src/conditional_openapi/tutorial001.py hl[6,11] *}
    
    여기서 `openapi_url` 설정을 기본값인 `"/openapi.json"`으로 선언합니다.
    
    그런 뒤, 우리는 `FastAPI` 앱을 만들 때 그것을 사용합니다.
    
    환경 변수 `OPENAPI_URL`을 빈 문자열로 설정하여 OpenAPI(문서 UI 포함)를 비활성화할 수도 있습니다. 예를 들어:
    
    <div class="termy">
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Nov 07 20:41:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/openapi-webhooks.md

    {* ../../docs_src/openapi_webhooks/tutorial001.py hl[9:13,36:53] *}
    
    Os webhooks que você define aparecerão no esquema do **OpenAPI** e na **página de documentação** gerada automaticamente.
    
    /// info | Informação
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/additional-status-codes.md

    To achieve that, import `JSONResponse`, and return your content there directly, setting the `status_code` that you want:
    
    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    
    /// warning
    
    When you return a `Response` directly, like in the example above, it will be returned directly.
    
    It won't be serialized with a model, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/static-files.md

    # 🎻 📁
    
    👆 💪 🍦 🎻 📁 🔁 ⚪️➡️ 📁 ⚙️ `StaticFiles`.
    
    ## ⚙️ `StaticFiles`
    
    * 🗄 `StaticFiles`.
    * "🗻" `StaticFiles()` 👐 🎯 ➡.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | 📡 ℹ
    
    👆 💪 ⚙️ `from starlette.staticfiles import StaticFiles`.
    
    **FastAPI** 🚚 🎏 `starlette.staticfiles` `fastapi.staticfiles` 🏪 👆, 👩‍💻. ✋️ ⚫️ 🤙 👟 🔗 ⚪️➡️ 💃.
    
    ///
    
    ### ⚫️❔ "🗜"
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. docs/pt/docs/how-to/conditional-openapi.md

    Você pode usar facilmente as mesmas configurações do Pydantic para configurar sua OpenAPI gerada e as interfaces de usuário de documentos.
    
    Por exemplo:
    
    {* ../../docs_src/conditional_openapi/tutorial001.py hl[6,11] *}
    
    Aqui declaramos a configuração `openapi_url` com o mesmo padrão de `"/openapi.json"`.
    
    E então o usamos ao criar o aplicativo `FastAPI`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/static-files.md

    # 정적 파일
    
    'StaticFiles'를 사용하여 디렉토리에서 정적 파일을 자동으로 제공할 수 있습니다.
    
    ## `StaticFiles` 사용
    
    * `StaticFiles` 임포트합니다.
    * 특정 경로에 `StaticFiles()` 인스턴스를 "마운트" 합니다.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | 기술적 세부사항
    
    `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다.
    
    **FastAPI**는 단지 개발자인, 당신에게 편의를 제공하기 위해 `fastapi.static files` 와 동일한 `starlett.static files`를 제공합니다. 하지만 사실 이것은 Starlett에서 직접 온 것입니다.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top