Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 1,916 for FastApi (0.11 sec)

  1. docs/tr/docs/learn/index.md

    # Öğren
    
    **FastAPI** öğrenmek için giriş bölümleri ve öğreticiler burada yer alıyor.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jan 23 16:02:27 UTC 2024
    - 223 bytes
    - Viewed (0)
  2. docs/en/docs/advanced/behind-a-proxy.md

    }
    ```
    
    ### Setting the `root_path` in the FastAPI app { #setting-the-root-path-in-the-fastapi-app }
    
    Alternatively, if you don't have a way to provide a command line option like `--root-path` or equivalent, you can set the `root_path` parameter when creating your FastAPI app:
    
    {* ../../docs_src/behind_a_proxy/tutorial002_py39.py hl[3] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/cookie-param-models.md

    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    /// tip
    
    This same technique applies to `Query`, `Cookie`, and `Header`. 😎
    
    ///
    
    ## Cookies with a Pydantic Model { #cookies-with-a-pydantic-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/middleware.md

    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    Mas, o FastAPI (na verdade, o Starlette) fornece uma maneira mais simples de fazer isso que garante que os middlewares internos lidem com erros do servidor e que os manipuladores de exceções personalizados funcionem corretamente.
    
    Para isso, você usa `app.add_middleware()` (como no exemplo para CORS).
    
    ```Python
    from fastapi import FastAPI
    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/response-directly.md

    # 直接返回响应
    
    当你创建一个 **FastAPI** *路径操作* 时,你可以正常返回以下任意一种数据:`dict`,`list`,Pydantic 模型,数据库模型等等。
    
    **FastAPI** 默认会使用 `jsonable_encoder` 将这些类型的返回值转换成 JSON 格式,`jsonable_encoder` 在 [JSON 兼容编码器](../tutorial/encoder.md){.internal-link target=_blank} 中有阐述。
    
    然后,**FastAPI** 会在后台将这些兼容 JSON 的数据(比如字典)放到一个 `JSONResponse` 中,该 `JSONResponse` 会用来发送响应给客户端。
    
    但是你可以在你的 *路径操作* 中直接返回一个 `JSONResponse`。
    
    直接返回响应可能会有用处,比如返回自定义的响应头和 cookies。
    
    ## 返回 `Response`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. tests/test_dependency_paramless.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, HTTPException, Security
    from fastapi.security import (
        OAuth2PasswordBearer,
        SecurityScopes,
    )
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    def process_auth(
        credentials: Annotated[Union[str, None], Security(oauth2_scheme)],
        security_scopes: SecurityScopes,
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. docs/de/docs/learn/index.md

    # Lernen { #learn }
    
    Hier sind die einführenden Abschnitte und Tutorials, um **FastAPI** zu lernen.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 232 bytes
    - Viewed (0)
  8. docs/pt/docs/learn/index.md

    # Aprender { #learn }
    
    Aqui estão as seções introdutórias e os tutoriais para aprender o **FastAPI**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 218 bytes
    - Viewed (0)
  9. docs/ko/docs/advanced/custom-response.md

    다음은 사용할 수 있는 몇가지 응답들 입니다.
    
    `Response`를 사용하여 다른 어떤 것도 반환 할수 있으며, 직접 하위 클래스를 만들 수도 있습니다.
    
    /// 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: Sat Feb 15 11:21:20 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. docs/es/docs/deployment/docker.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Construir una Imagen de Docker con un FastAPI de Un Solo Archivo { #build-a-docker-image-with-a-single-file-fastapi }
    
    Si tu FastAPI es un solo archivo, por ejemplo, `main.py` sin un directorio `./app`, tu estructura de archivos podría verse así:
    
    ```
    .
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 32K bytes
    - Viewed (0)
Back to top