Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1241 - 1250 of 1,916 for FastApi (0.07 seconds)

  1. docs/pt/docs/advanced/security/oauth2-scopes.md

    Nós estamos fazendo isso aqui para demonstrar como o **FastAPI** lida com escopos declarados em diferentes níveis.
    
    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,141,172] *}
    
    /// info | Detalhes Técnicos
    
    `Security` é na verdade uma subclasse de `Depends`, e ele possui apenas um parâmetro extra que veremos depois.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/response-directly.md

    /// note | 기술적 세부 사항
    
    `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    **FastAPI**는 개발자의 편의를 위해 `starlette.responses`를 `fastapi.responses`로 제공합니다. 그러나 대부분의 가능한 응답은 Starlette에서 직접 제공합니다.
    
    ///
    
    ## 사용자 정의 `Response` 반환하기
    위 예제는 필요한 모든 부분을 보여주지만, 아직 유용하지는 않습니다. 사실 데이터를 직접 반환하면 **FastAPI**가 이를 `JSONResponse`에 넣고 `dict`로 변환하는 등 모든 작업을 자동으로 처리합니다.
    
    이제, 사용자 정의 응답을 반환하는 방법을 알아보겠습니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/security/index.md

    Google、Facebook、X (Twitter)、GitHubなど、他の認証/認可プロバイダを統合することも可能で、比較的簡単です。
    
    最も複雑な問題は、それらのような認証/認可プロバイダを構築することですが、**FastAPI**は、あなたのために重い仕事をこなしながら、それを簡単に行うためのツールを提供します。
    
    ///
    
    ## **FastAPI** ユーティリティ
    
    FastAPIは `fastapi.security` モジュールの中で、これらのセキュリティスキームごとにいくつかのツールを提供し、これらのセキュリティメカニズムを簡単に使用できるようにします。
    
    次の章では、**FastAPI** が提供するこれらのツールを使って、あなたのAPIにセキュリティを追加する方法について見ていきます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_first_steps/test_tutorial001_tutorial002_tutorial003.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001_py39",
            "tutorial003_py39",
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.first_steps.{request.param}")
        client = TestClient(mod.app)
        return client
    
    
    @pytest.mark.parametrize(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. docs/tr/docs/python-types.md

    ///
    
    **FastAPI** tamamen Pydantic'e dayanmaktadır.
    
    Daha fazlasini görmek için [Tutorial - User Guide](tutorial/index.md){.internal-link target=_blank}.
    
    ##  **FastAPI** tip belirteçleri
    
    **FastAPI** birkaç şey yapmak için bu tür tip belirteçlerinden faydalanır.
    
    **FastAPI** ile parametre tiplerini bildirirsiniz ve şunları elde edersiniz:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  6. tests/test_request_params/test_form/test_optional_list.py

    from typing import Annotated, Optional
    
    import pytest
    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/optional-list-str", operation_id="optional_list_str")
    async def read_optional_list_str(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. docs/es/docs/how-to/custom-docs-ui-assets.md

    Para desactivarlos, establece sus URLs en `None` cuando crees tu aplicación de `FastAPI`:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py39.py hl[8] *}
    
    ### Incluye la documentación personalizada { #include-the-custom-docs }
    
    Ahora puedes crear las *path operations* para la documentación personalizada.
    
    Puedes reutilizar las funciones internas de FastAPI para crear las páginas HTML para la documentación, y pasarles los argumentos necesarios:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. docs/pt/docs/how-to/custom-docs-ui-assets.md

    Para desativá-los, defina suas URLs como `None` ao criar sua aplicação FastAPI:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py39.py hl[8] *}
    
    ### Incluir a documentação personalizada { #include-the-custom-docs }
    
    Agora você pode criar as *operações de rota* para a documentação personalizada.
    
    Você pode reutilizar as funções internas do FastAPI para criar as páginas HTML para a documentação e passar os argumentos necessários:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/response-headers.md

    **FastAPI** proporciona las mismas `starlette.responses` como `fastapi.responses` solo por conveniencia para ti, el desarrollador. Pero la mayoría de los responses disponibles provienen directamente de Starlette.
    
    Y como el `Response` se puede usar frecuentemente para establecer headers y cookies, **FastAPI** también lo proporciona en `fastapi.Response`.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. tests/test_request_body_parameters_media_type.py

    from fastapi import Body, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    media_type = "application/vnd.api+json"
    
    
    # NOTE: These are not valid JSON:API resources
    # but they are fine for testing requestBody with custom media_type
    class Product(BaseModel):
        name: str
        price: float
    
    
    class Shop(BaseModel):
        name: str
    
    
    @app.post("/products")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top