Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 334 for Starlette (0.15 sec)

  1. fastapi/security/api_key.py

    from typing import Optional
    
    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_403_FORBIDDEN
    from typing_extensions import Annotated, Doc
    
    
    class APIKeyBase(SecurityBase):
        pass
    
    
    class APIKeyQuery(APIKeyBase):
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 23 22:29:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/hu/docs/index.md

    **Typer** a FastAPI kistestvére. A **CLI-k FastAPI-ja**. ⌨️ 🚀
    
    ## Követelmények
    
    A FastAPI óriások vállán áll:
    
    * <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> a webes részekhez.
    * <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> az adat részekhez.
    
    ## Telepítés
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    /// note |  "`async` 기술적 세부사항"
    
    `async` 메소드들을 사용할 때 **FastAPI**는 스레드풀에서 파일 메소드들을 실행하고 그들을 기다립니다.
    
    ///
    
    /// note | "Starlette 기술적 세부사항"
    
    **FastAPI**의 `UploadFile` 은 **Starlette**의 `UploadFile` 을 직접적으로 상속받지만, **Pydantic** 및 FastAPI의 다른 부분들과의 호환성을 위해 필요한 부분들이 추가되었습니다.
    
    ///
    
    ## "폼 데이터"란
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. docs/fr/docs/index.md

    ## Prérequis
    
    FastAPI repose sur les épaules de géants :
    
    * <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> pour les parties web.
    * <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> pour les parties données.
    
    ## Installation
    
    <div class="termy">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. docs/zh-hant/docs/index.md

    **Typer** 是 FastAPI 的小兄弟。他立志成為命令列的 **FastAPI**。 ⌨️ 🚀
    
    ## 安裝需求
    
    FastAPI 是站在以下巨人的肩膀上:
    
    - <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> 負責網頁的部分
    - <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> 負責資料的部分
    
    ## 安裝
    
    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. docs/en/docs/reference/responses.md

                - body
                - background
                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ## Starlette Responses
    
    ::: fastapi.responses.FileResponse
        options:
            members:
                - chunk_size
                - charset
                - status_code
                - media_type
                - body
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. fastapi/exceptions.py

    from typing import Any, Dict, Optional, Sequence, Type, Union
    
    from pydantic import BaseModel, create_model
    from starlette.exceptions import HTTPException as StarletteHTTPException
    from starlette.exceptions import WebSocketException as StarletteWebSocketException
    from typing_extensions import Annotated, Doc
    
    
    class HTTPException(StarletteHTTPException):
        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. docs_src/handling_errors/tutorial004.py

    from fastapi import FastAPI, HTTPException
    from fastapi.exceptions import RequestValidationError
    from fastapi.responses import PlainTextResponse
    from starlette.exceptions import HTTPException as StarletteHTTPException
    
    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def http_exception_handler(request, exc):
        return PlainTextResponse(str(exc.detail), status_code=exc.status_code)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 762 bytes
    - Viewed (0)
  9. fastapi/__init__.py

    """FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
    
    __version__ = "0.115.4"
    
    from starlette import status as status
    
    from .applications import FastAPI as FastAPI
    from .background import BackgroundTasks as BackgroundTasks
    from .datastructures import UploadFile as UploadFile
    from .exceptions import HTTPException as HTTPException
    from .exceptions import WebSocketException as WebSocketException
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:51:55 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. docs/pl/docs/tutorial/first-steps.md

    /// note | "Szczegóły techniczne"
    
    `FastAPI` jest klasą, która dziedziczy bezpośrednio z `Starlette`.
    
    Oznacza to, że możesz korzystać ze wszystkich funkcjonalności <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> również w `FastAPI`.
    
    ///
    
    ### Krok 2: utwórz instancję `FastAPI`
    
    {*../../docs_src/first_steps/tutorial001.py hl[3] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top