Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 345 for starlette (0.04 sec)

  1. docs/ru/docs/advanced/custom-response.md

    /// note | Технические детали
    
    Вы также могли бы использовать `from starlette.responses import HTMLResponse`.
    
    **FastAPI** предоставляет те же `starlette.responses` как `fastapi.responses` для вашего удобства как разработчика. Но большинство доступных классов ответов приходят непосредственно из Starlette.
    
    ///
    
    ### `Response` { #response }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. docs/ja/docs/index.md

    **Typer**は FastAPI の弟分です。そして、**CLI 版 の FastAPI**を意味しています。
    
    ## 必要条件
    
    FastAPI は巨人の肩の上に立っています。
    
    - Web の部分は<a href="https://www.starlette.dev/" 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  3. fastapi/middleware/asyncexitstack.py

    from contextlib import AsyncExitStack
    
    from starlette.types import ASGIApp, Receive, Scope, Send
    
    
    # Used mainly to close files after the request is done, dependencies are closed
    # in their own AsyncExitStack
    class AsyncExitStackMiddleware:
        def __init__(
            self, app: ASGIApp, context_name: str = "fastapi_middleware_astack"
        ) -> None:
            self.app = app
            self.context_name = context_name
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 03:29:38 UTC 2025
    - 637 bytes
    - Viewed (0)
  4. docs/de/docs/history-design-future.md

    Während der Entwicklung habe ich auch zu <a href="https://www.starlette.dev/" class="external-link" target="_blank">**Starlette**</a> beigetragen, der anderen Schlüsselanforderung.
    
    ## Entwicklung { #development }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. docs/en/docs/reference/status.md

    # Status Codes
    
    You can import the `status` module from `fastapi`:
    
    ```python
    from fastapi import status
    ```
    
    `status` is provided directly by Starlette.
    
    It contains a group of named constants (variables) with integer status codes.
    
    For example:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * etc.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 871 bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/cors.md

    /// note | Технічні деталі
    
    Також можна використовувати `from starlette.middleware.cors import CORSMiddleware`.
    
    **FastAPI** надає кілька middleware у `fastapi.middleware` для зручності розробників. Але більшість доступних middleware походять безпосередньо зі Starlette.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 30 13:34:34 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. docs/ko/docs/advanced/response-directly.md

    {* ../../docs_src/response_directly/tutorial001.py hl[6:7,21:22] *}
    
    /// note | 기술적 세부 사항
    
    `from starlette.responses import JSONResponse`를 사용할 수도 있습니다.
    
    **FastAPI**는 개발자의 편의를 위해 `starlette.responses`를 `fastapi.responses`로 제공합니다. 그러나 대부분의 가능한 응답은 Starlette에서 직접 제공합니다.
    
    ///
    
    ## 사용자 정의 `Response` 반환하기
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/cors.md

    /// note | Технические детали
    
    Вы также можете использовать `from starlette.middleware.cors import CORSMiddleware`.
    
    **FastAPI** предоставляет несколько middleware в `fastapi.middleware` только для вашего удобства как разработчика. Но большинство доступных middleware взяты напрямую из Starlette.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_graphql/test_tutorial001.py

    import warnings
    
    import pytest
    from starlette.testclient import TestClient
    
    warnings.filterwarnings(
        "ignore",
        message=r"The 'lia' package has been renamed to 'cross_web'\..*",
        category=DeprecationWarning,
    )
    
    from docs_src.graphql_.tutorial001_py39 import app  # noqa: E402
    
    
    @pytest.fixture(name="client")
    def get_client() -> TestClient:
        return TestClient(app)
    
    
    def test_query(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. fastapi/__init__.py

    """FastAPI framework, high performance, easy to learn, fast to code, ready for production"""
    
    __version__ = "0.128.0"
    
    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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 15:19:50 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top