Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,992 for Fastapi (0.06 sec)

  1. docs_src/path_operation_advanced_configuration/tutorial005_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", openapi_extra={"x-aperture-labs-portal": "blue"})
    async def read_items():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 180 bytes
    - Viewed (0)
  2. docs/en/docs/how-to/configure-swagger-ui.md

    To configure them, pass the `swagger_ui_parameters` argument when creating the `FastAPI()` app object or to the `get_swagger_ui_html()` function.
    
    `swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly.
    
    FastAPI converts the configurations to **JSON** to make them compatible with JavaScript, as that's what Swagger UI needs.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. docs/en/data/sponsors.yml

    keystone:
      - url: https://fastapicloud.com
        title: FastAPI Cloud. By the same team behind FastAPI. You code. We Cloud.
        img: https://fastapi.tiangolo.com/img/sponsors/fastapicloud.png
    gold:
      - url: https://blockbee.io?ref=fastapi
        title: BlockBee Cryptocurrency Payment Gateway
        img: https://fastapi.tiangolo.com/img/sponsors/blockbee.png
      - url: https://github.com/scalar/scalar/?utm_source=fastapi&utm_medium=website&utm_campaign=main-badge
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Dec 01 20:06:57 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. .github/DISCUSSION_TEMPLATE/translations.yml

    labels: [lang-all]
    body:
      - type: markdown
        attributes:
          value: |
            Thanks for your interest in helping translate the FastAPI docs! 🌍
    
            Please follow these instructions carefully to propose a new language translation. 🙏
    
            This structured process helps ensure translations can be properly maintained long-term.
      - type: checkboxes
        id: checks
        attributes:
          label: Initial Checks
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. tests/test_skip_defaults.py

    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class SubModel(BaseModel):
        a: Optional[str] = "foo"
    
    
    class Model(BaseModel):
        x: Optional[int] = None
        sub: SubModel
    
    
    class ModelSubclass(Model):
        y: int
        z: int = 0
        w: Optional[int] = None
    
    
    class ModelDefaults(BaseModel):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. tests/test_ws_dependencies.py

    import json
    from typing import Annotated
    
    from fastapi import APIRouter, Depends, FastAPI, WebSocket
    from fastapi.testclient import TestClient
    
    
    def dependency_list() -> list[str]:
        return []
    
    
    DepList = Annotated[list[str], Depends(dependency_list)]
    
    
    def create_dependency(name: str):
        def fun(deps: DepList):
            deps.append(name)
    
        return Depends(fun)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. docs_src/configure_swagger_ui/tutorial001_py39.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"syntaxHighlight": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 205 bytes
    - Viewed (0)
  8. docs/de/docs/advanced/async-tests.md

    ## HTTPX { #httpx }
    
    Auch wenn Ihre **FastAPI**-Anwendung normale `def`-Funktionen anstelle von `async def` verwendet, handelt es sich darunter immer noch um eine `async`-Anwendung.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.5K bytes
    - Viewed (1)
  9. docs_src/header_params/tutorial002_py310.py

    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        strange_header: str | None = Header(default=None, convert_underscores=False),
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 228 bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/static-files.md

    {* ../../docs_src/static_files/tutorial001_py39.py hl[2,6] *}
    
    /// note | Технические детали
    
    Вы также можете использовать `from starlette.staticfiles import StaticFiles`.
    
    **FastAPI** предоставляет `starlette.staticfiles` под псевдонимом `fastapi.staticfiles`, просто для вашего удобства, как разработчика. Но на самом деле это берётся напрямую из библиотеки Starlette.
    
    ///
    
    ### Что такое "Монтирование" { #what-is-mounting }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top