Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1591 - 1600 of 1,658 for py$ (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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から直接渡されています。
    
    ///
    
    ### 「マウント」とは
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. 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">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 07 20:41:38 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. 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_py39.py hl[3,22,25] *}
    
    Puedes aprender más sobre Strawberry en la <a href="https://strawberry.rocks/" class="external-link" target="_blank">documentación de Strawberry</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. 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 da documentação.
    
    Por exemplo:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *}
    
    Aqui declaramos a configuração `openapi_url` com o mesmo padrão de `"/openapi.json"`.
    
    E então a usamos ao criar a aplicação `FastAPI`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/openapi-webhooks.md

    {* ../../docs_src/openapi_webhooks/tutorial001_py39.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
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. docs/ko/docs/advanced/additional-status-codes.md

    하지만 새로운 항목을 허용하기를 원할 것입니다. 항목이 이전에 존재하지 않았다면 이를 생성하고 HTTP 상태 코드 201 "Created"를 반환합니다.
    
    이를 위해서는 `JSONResponse`를 가져와서 원하는 `status_code`를 설정하여 콘텐츠를 직접 반환합니다:
    
    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    
    /// warning | 경고
    
    위의 예제처럼 `Response`를 직접 반환하면 바로 반환됩니다.
    
    모델 등과 함께 직렬화되지 않습니다.
    
    원하는 데이터가 있는지, 값이 유효한 JSON인지 확인합니다(`JSONResponse`를 사용하는 경우).
    
    ///
    
    /// note | 기술적 세부 정보
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 09 12:22:47 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/testing-dependencies.md

    Y entonces **FastAPI** llamará a esa dependencia para sobreescribir en lugar de la dependencia original.
    
    {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *}
    
    /// tip | Consejo
    
    Puedes sobreescribir una dependencia utilizada en cualquier lugar de tu aplicación **FastAPI**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/testing-dependencies.md

    And then **FastAPI** will call that override instead of the original dependency.
    
    {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *}
    
    /// tip
    
    You can set a dependency override for a dependency used anywhere in your **FastAPI** application.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/using-request-directly.md

    Let's imagine you want to get the client's IP address/host inside of your *path operation function*.
    
    For that you need to access the request directly.
    
    {* ../../docs_src/using_request_directly/tutorial001_py39.py hl[1,7:8] *}
    
    By declaring a *path operation function* parameter with the type being the `Request` **FastAPI** will know to pass the `Request` in that parameter.
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. docs/en/docs/how-to/conditional-openapi.md

    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *}
    
    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    And then we use it when creating the `FastAPI` app.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top