Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 345 for starlette (0.05 sec)

  1. docs/ja/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial001.py hl[3,17] *}
    
    そのステータスコードはレスポンスで使用され、OpenAPIスキーマに追加されます。
    
    /// note | 技術詳細
    
    また、`from starlette import status`を使用することもできます。
    
    **FastAPI** は開発者の利便性を考慮して、`fastapi.status`と同じ`starlette.status`を提供しています。しかし、これはStarletteから直接提供されています。
    
    ///
    
    ## タグ
    
    `tags`パラメータを`str`の`list`(通常は1つの`str`)と一緒に渡すと、*path operation*にタグを追加できます:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. docs/pt/docs/how-to/custom-request-and-route.md

    E essas duas coisas, `scope` e `receive`, são o que é necessário para criar uma nova instância de `Request`.
    
    Para aprender mais sobre o `Request` confira a <a href="https://www.starlette.dev/requests/" class="external-link" target="_blank">documentação do Starlette sobre Requests</a>.
    
    ///
    
    A única coisa que a função retornada por `GzipRequest.get_route_handler` faz de diferente é converter o `Request` para um `GzipRequest`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. docs/de/docs/index.md

    ## Anforderungen { #requirements }
    
    FastAPI steht auf den Schultern von Giganten:
    
    * <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a> für die Webanteile.
    * <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> für die Datenanteile.
    
    ## Installation { #installation }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. CITATION.cff

    url: 'https://fastapi.tiangolo.com'
    abstract: >-
      FastAPI framework, high performance, easy to learn, fast to code,
      ready for production
    keywords:
      - fastapi
      - pydantic
      - starlette
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 614 bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial001.py hl[3,17] *}
    
    각 상태 코드들은 응답에 사용되며, OpenAPI 스키마에 추가됩니다.
    
    /// note | 기술적 세부사항
    
    다음과 같이 임포트하셔도 좋습니다. `from starlette import status`.
    
    **FastAPI**는 개발자 여러분의 편의를 위해서 `starlette.status`와 동일한 `fastapi.status`를 제공합니다. 하지만 Starlette에서 직접 온 것입니다.
    
    ///
    
    ## 태그
    
    (보통 단일 `str`인) `str`로 구성된 `list`와 함께 매개변수 `tags`를 전달하여, `경로 작동`에 태그를 추가할 수 있습니다:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/tr/docs/index.md

    ## Gereksinimler
    
    FastAPI iki devin omuzları üstünde duruyor:
    
    * Web tarafı için <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a>.
    * Data tarafı için <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a>.
    
    ## Kurulum
    
    <div class="termy">
    
    ```console
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. docs_src/handling_errors/tutorial006_py39.py

    from fastapi import FastAPI, HTTPException
    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
    )
    from fastapi.exceptions import RequestValidationError
    from starlette.exceptions import HTTPException as StarletteHTTPException
    
    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 928 bytes
    - Viewed (0)
  8. tests/test_form_default.py

    from typing import Annotated, Optional
    
    from fastapi import FastAPI, File, Form
    from starlette.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/urlencoded")
    async def post_url_encoded(age: Annotated[Optional[int], Form()] = None):
        return age
    
    
    @app.post("/multipart")
    async def post_multi_part(
        age: Annotated[Optional[int], Form()] = None,
        file: Annotated[Optional[bytes], File()] = None,
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 848 bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/custom-response.md

    /// note | Detalhes Técnicos
    
    Você também pode utilizar `from starlette.responses import HTMLResponse`.
    
    O **FastAPI** provê a mesma `starlette.responses` como `fastapi.responses` apenas como uma facilidade para você, desenvolvedor. Mas a maioria das respostas disponíveis vêm diretamente do Starlette.
    
    ///
    
    ### `Response` { #response }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. fastapi/security/api_key.py

    from typing import Annotated, Optional, Union
    
    from annotated_doc import Doc
    from fastapi.openapi.models import APIKey, APIKeyIn
    from fastapi.security.base import SecurityBase
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED
    
    
    class APIKeyBase(SecurityBase):
        def __init__(
            self,
            location: APIKeyIn,
            name: str,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 9.6K bytes
    - Viewed (1)
Back to top