Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 291 for Starlettes (0.06 sec)

  1. docs/de/docs/tutorial/path-params.md

    Trotzdem können Sie das in **FastAPI** tun, indem Sie eines der internen Tools von Starlette verwenden.
    
    Die Dokumentation würde weiterhin funktionieren, allerdings wird nicht dokumentiert werden, dass der Parameter ein Pfad sein sollte.
    
    ### Pfad-Konverter { #path-convertor }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. fastapi/routing.py

        is_body_allowed_for_status_code,
    )
    from starlette import routing
    from starlette._exception_handler import wrap_app_handling_exceptions
    from starlette._utils import is_async_callable
    from starlette.concurrency import run_in_threadpool
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.routing import (
        BaseRoute,
        Match,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/cors.md

    /// note | 技术细节
    
    你也可以使用 `from starlette.middleware.cors import CORSMiddleware`。
    
    出于方便,**FastAPI** 在 `fastapi.middleware` 中为开发者提供了几个中间件。但是大多数可用的中间件都是直接来自 Starlette
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/path-params.md

    Тем не менее это можно сделать в **FastAPI**, используя один из внутренних инструментов Starlette.
    
    Документация по-прежнему будет работать, хотя и не добавит никакой информации о том, что параметр должен содержать путь.
    
    ### Конвертер пути { #path-convertor }
    
    Благодаря одной из опций Starlette, можете объявить *параметр пути*, содержащий *путь*, используя URL вроде:
    
    ```
    /files/{file_path:path}
    ```
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. fastapi/security/http.py

    from fastapi.security.base import SecurityBase
    from fastapi.security.utils import get_authorization_scheme_param
    from pydantic import BaseModel
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED
    
    
    class HTTPBasicCredentials(BaseModel):
        """
        The HTTP Basic credentials given as the result of using `HTTPBasic` in a
        dependency.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001.py hl[1] *}
    
    `FastAPI`は、APIのすべての機能を提供するPythonクラスです。
    
    /// note | 技術詳細
    
    `FastAPI`は`Starlette`を直接継承するクラスです。
    
    `FastAPI`でも<a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a>のすべての機能を利用可能です。
    
    ///
    
    ### Step 2: `FastAPI`の「インスタンス」を生成
    
    {* ../../docs_src/first_steps/tutorial001.py hl[3] *}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. fastapi/openapi/utils.py

    from fastapi.utils import (
        deep_dict_update,
        generate_operation_id_for_path,
        is_body_allowed_for_status_code,
    )
    from pydantic import BaseModel
    from starlette.responses import JSONResponse
    from starlette.routing import BaseRoute
    from typing_extensions import Literal
    
    validation_error_definition = {
        "title": "ValidationError",
        "type": "object",
        "properties": {
            "loc": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/path-params.md

    此时,该文件的 URL 是这样的:`/files/home/johndoe/myfile.txt`。
    
    ### OpenAPI 支持
    
    OpenAPI 不支持声明包含路径的*路径参数*,因为这会导致测试和定义更加困难。
    
    不过,仍可使用 Starlette 内置工具在 **FastAPI** 中实现这一功能。
    
    而且不影响文档正常运行,但是不会添加该参数包含路径的说明。
    
    ### 路径转换器
    
    直接使用 Starlette 的选项声明包含*路径*的*路径参数*:
    
    ```
    /files/{file_path:path}
    ```
    
    本例中,参数名为 `file_path`,结尾部分的 `:path` 说明该参数应匹配*路径*。
    
    用法如下:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 15 16:43:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params.md

    Ainda assim, você pode fazer isso no **FastAPI**, usando uma das ferramentas internas do Starlette.
    
    E a documentação continuará funcionando, embora não adicione nenhuma informação dizendo que o parâmetro deve conter um path.
    
    ### Conversor de path { #path-convertor }
    
    Usando uma opção diretamente do Starlette você pode declarar um *parâmetro de path* contendo um *path* usando uma URL como:
    
    ```
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/path-params.md

    ### OpenAPI 지원
    
    테스트와 정의가 어려운 시나리오로 이어질 수 있으므로 OpenAPI는 *경로*를 포함하는 *경로 매개변수*를 내부에 선언하는 방법을 지원하지 않습니다.
    
    그럼에도 Starlette의 내부 도구중 하나를 사용하여 **FastAPI**에서는 이가 가능합니다.
    
    문서에 매개변수에 경로가 포함되어야 한다는 정보가 명시되지는 않지만 여전히 작동합니다.
    
    ### 경로 변환기
    
    Starlette의 옵션을 직접 이용하여 다음과 같은 URL을 사용함으로써 *path*를 포함하는 *경로 매개변수*를 선언할 수 있습니다:
    
    ```
    /files/{file_path:path}
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top