Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of 1,916 for FastApi (0.05 seconds)

  1. docs/de/docs/tutorial/request-forms.md

    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## `Form` importieren { #import-form }
    
    Importieren Sie `Form` von `fastapi`:
    
    {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[3] *}
    
    ## `Form`-Parameter definieren { #define-form-parameters }
    
    Erstellen Sie Formular-Parameter, so wie Sie es auch mit `Body` und `Query` machen würden:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/sub-applications.md

    # Sub Applications - Mounts { #sub-applications-mounts }
    
    If you need to have two independent FastAPI applications, with their own independent OpenAPI and their own docs UIs, you can have a main app and "mount" one (or more) sub-application(s).
    
    ## Mounting a **FastAPI** application { #mounting-a-fastapi-application }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. tests/test_security_api_key_header.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyHeader
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. tests/test_security_api_key_header_description.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyHeader
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", description="An API Key Header")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/static-files.md

    {* ../../docs_src/static_files/tutorial001_py39.py hl[2,6] *}
    
    /// note | Technical Details
    
    You could also use `from starlette.staticfiles import StaticFiles`.
    
    **FastAPI** provides the same `starlette.staticfiles` as `fastapi.staticfiles` just as a convenience for you, the developer. But it actually comes directly from Starlette.
    
    ///
    
    ### What is "Mounting" { #what-is-mounting }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/static-files.md

    {* ../../docs_src/static_files/tutorial001_py39.py hl[2,6] *}
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.staticfiles import StaticFiles`.
    
    **FastAPI** proporciona el mismo `starlette.staticfiles` como `fastapi.staticfiles` solo como una conveniencia para ti, el desarrollador. Pero en realidad viene directamente de Starlette.
    
    ///
    
    ### Qué es "Montar" { #what-is-mounting }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/body.md

    * Se o parâmetro é declarado como um **modelo Pydantic**, será interpretado como o **corpo** da requisição.
    
    /// note | Nota
    
    O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
    O `str | None` (Python 3.10+) ou o `Union` em `Union[str, None]` (Python 3.9+) não é utilizado pelo FastAPI para determinar que o valor não é obrigatório, ele saberá que não é obrigatório porque tem um valor padrão `= None`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    그리고 `yield`를 사용하는 다른 여러 의존성을 필요로 하는 단일 의존성을 가질 수도 있습니다.
    
    원하는 의존성을 원하는 대로 조합할 수 있습니다.
    
    **FastAPI**는 모든 것이 올바른 순서로 실행되도록 보장합니다.
    
    /// note | 기술 세부사항
    
    파이썬의 <a href=“https://docs.python.org/3/library/contextlib.html” class=“external-link” target=“_blank”>Context Managers</a> 덕분에 이 기능이 작동합니다.
    
    **FastAPI**는 이를 내부적으로 컨텍스트 관리자를 사용하여 구현합니다.
    
    ///
    
    ## `yield`와 `HTTPException`를 사용하는 의존성
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Feb 09 14:54:09 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/testing.md

    You could also use `from starlette.testclient import TestClient`.
    
    **FastAPI** provides the same `starlette.testclient` as `fastapi.testclient` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. docs/ko/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *}
    
    **FastAPI** 는 `BackgroundTasks` 개체를 생성하고, 매개 변수로 전달합니다.
    
    ## 작업 함수 생성
    
    백그라운드 작업으로 실행할 함수를 정의합니다.
    
    이것은 단순히 매개변수를 받을 수 있는 표준 함수일 뿐입니다.
    
    **FastAPI**는 이것이 `async def` 함수이든, 일반 `def` 함수이든 내부적으로 이를 올바르게 처리합니다.
    
    이 경우, 아래 작업은 파일에 쓰는 함수입니다. (이메일 보내기 시물레이션)
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top