Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 179 for Routen (0.03 sec)

  1. docs/ru/docs/how-to/custom-request-and-route.md

    ## Пользовательский класс `APIRoute` в роутере { #custom-apiroute-class-in-a-router }
    
    Вы также можете задать параметр `route_class` у `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. docs/pt/docs/how-to/custom-request-and-route.md

    ## Classe `APIRoute` personalizada em um router { #custom-apiroute-class-in-a-router }
    
    Você também pode definir o parâmetro `route_class` de uma `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. docs/es/docs/how-to/custom-request-and-route.md

    ## Clase personalizada `APIRoute` en un router { #custom-apiroute-class-in-a-router }
    
    También puedes establecer el parámetro `route_class` de un `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/custom-request-and-route.md

    ## Custom `APIRoute` class in a router { #custom-apiroute-class-in-a-router }
    
    You can also set the `route_class` parameter of an `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/static-files.md

    **FastAPI** stellt dasselbe `starlette.staticfiles` auch via `fastapi.staticfiles` bereit, als Annehmlichkeit für Sie, den Entwickler. Es kommt aber tatsächlich direkt von Starlette.
    
    ///
    
    ### Was ist „Mounten“ { #what-is-mounting }
    
    „Mounten“ bedeutet das Hinzufügen einer vollständigen „unabhängigen“ Anwendung an einem bestimmten Pfad, die sich dann um die Handhabung aller Unterpfade kümmert.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/openapi-callbacks.md

    ///
    
    ### Add the callback router { #add-the-callback-router }
    
    At this point you have the *callback path operation(s)* needed (the one(s) that the *external developer*  should implement in the *external API*) in the callback router you created above.
    
    Now use the parameter `callbacks` in *your API's path operation decorator* to pass the attribute `.routes` (that's actually just a `list` of routes/*path operations*) from that callback router:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. fastapi/routing.py

            if responses is None:
                responses = {}
            for route in router.routes:
                if isinstance(route, APIRoute):
                    combined_responses = {**responses, **route.responses}
                    use_response_class = get_value_or_default(
                        route.response_class,
                        router.default_response_class,
                        default_response_class,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/openapi-callbacks.md

    ///
    
    ### Подключите маршрутизатор обратного вызова { #add-the-callback-router }
    
    К этому моменту у вас есть необходимые *операции пути* обратного вызова (те, которые *внешний разработчик* должен реализовать во *внешнем API*) в созданном выше маршрутизаторе обратных вызовов.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. tests/test_generate_unique_id_function.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    def custom_generate_unique_id(route: APIRoute):
        return f"foo_{route.name}"
    
    
    def custom_generate_unique_id2(route: APIRoute):
        return f"bar_{route.name}"
    
    
    def custom_generate_unique_id3(route: APIRoute):
        return f"baz_{route.name}"
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class Message(BaseModel):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 66.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/bigger-applications.md

    We are importing the submodule `items` directly, instead of importing just its variable `router`.
    
    This is because we also have another variable named `router` in the submodule `users`.
    
    If we had imported one after the other, like:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top