Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for include_router (1.09 sec)

  1. docs/em/docs/tutorial/bigger-applications.md

    ## 🔌 🎏 📻 💗 🕰 ⏮️ 🎏 `prefix`
    
    👆 💪 ⚙️ `.include_router()` 💗 🕰 ⏮️ *🎏* 📻 ⚙️ 🎏 🔡.
    
    👉 💪 ⚠, 🖼, 🎦 🎏 🛠️ 🔽 🎏 🔡, ✅ `/api/v1` & `/api/latest`.
    
    👉 🏧 ⚙️ 👈 👆 5️⃣📆 🚫 🤙 💪, ✋️ ⚫️ 📤 💼 👆.
    
    ## 🔌 `APIRouter` ➕1️⃣
    
    🎏 🌌 👆 💪 🔌 `APIRouter` `FastAPI` 🈸, 👆 💪 🔌 `APIRouter` ➕1️⃣ `APIRouter` ⚙️:
    
    ```Python
    router.include_router(other_router)
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    /// info
    
    `users.router` contains the `APIRouter` inside of the file `app/routers/users.py`.
    
    And `items.router` contains the `APIRouter` inside of the file `app/routers/items.py`.
    
    ///
    
    With `app.include_router()` we can add each `APIRouter` to the main `FastAPI` application.
    
    It will include all the routes from that router as part of it.
    
    /// note | Technical Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  3. docs/en/docs/reference/apirouter.md

    You can import the `APIRouter` class directly from `fastapi`:
    
    ```python
    from fastapi import APIRouter
    ```
    
    ::: fastapi.APIRouter
        options:
            members:
                - websocket
                - include_router
                - get
                - put
                - post
                - delete
                - options
                - head
                - patch
                - trace
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 524 bytes
    - Viewed (0)
  4. docs/en/docs/reference/fastapi.md

        options:
            members:
                - openapi_version
                - webhooks
                - state
                - dependency_overrides
                - openapi
                - websocket
                - include_router
                - get
                - put
                - post
                - delete
                - options
                - head
                - patch
                - trace
                - on_event
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 701 bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/bigger-applications.md

    /// info | Información
    
    `users.router` contiene el `APIRouter` dentro del archivo `app/routers/users.py`.
    
    Y `items.router` contiene el `APIRouter` dentro del archivo `app/routers/items.py`.
    
    ///
    
    Con `app.include_router()` podemos agregar cada `APIRouter` a la aplicación principal de `FastAPI`.
    
    Incluirá todas las rutas de ese router como parte de ella.
    
    /// note | Detalles Técnicos
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/bigger-applications.md

    /// info | Informação
    
    `users.router` contém o `APIRouter` dentro do arquivo `app/routers/users.py`.
    
    E `items.router` contém o `APIRouter` dentro do arquivo `app/routers/items.py`.
    
    ///
    
    Com `app.include_router()` podemos adicionar cada `APIRouter` ao aplicativo principal `FastAPI`.
    
    Ele incluirá todas as rotas daquele roteador como parte dele.
    
    /// note | Detalhe Técnico
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/bigger-applications.md

    ```
    
    /// info
    
    `users.router` enthält den `APIRouter` in der Datei `app/routers/users.py`.
    
    Und `items.router` enthält den `APIRouter` in der Datei `app/routers/items.py`.
    
    ///
    
    Mit `app.include_router()` können wir jeden `APIRouter` zur Hauptanwendung `FastAPI` hinzufügen.
    
    Es wird alle Routen von diesem Router als Teil von dieser inkludieren.
    
    /// note | Technische Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/bigger-applications.md

    ```
    
    /// info | Примечание
    
    `users.router` содержит `APIRouter` из файла `app/routers/users.py`.
    
    А `items.router` содержит `APIRouter` из файла `app/routers/items.py`.
    
    ///
    
    С помощью `app.include_router()` мы можем добавить каждый из маршрутизаторов (`APIRouter`) в основное приложение `FastAPI`.
    
    Он подключит все маршруты заданного маршрутизатора к нашему приложению.
    
    /// note | Технические детали
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/testing-dependencies.md

    {* ../../docs_src/dependency_testing/tutorial001.py hl[28:29,32] *}
    
    /// tip
    
    👆 💪 ⚒ 🔗 🔐 🔗 ⚙️ 🙆 👆 **FastAPI** 🈸.
    
    ⏮️ 🔗 💪 ⚙️ *➡ 🛠️ 🔢*, *➡ 🛠️ 👨‍🎨* (🕐❔ 👆 🚫 ⚙️ 📨 💲), `.include_router()` 🤙, ♒️.
    
    FastAPI 🔜 💪 🔐 ⚫️.
    
    ///
    
    ⤴️ 👆 💪 ⏲ 👆 🔐 (❎ 👫) ⚒ `app.dependency_overrides` 🛁 `dict`:
    
    ```Python
    app.dependency_overrides = {}
    ```
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/testing-dependencies.md

    La dependencia original podría ser utilizada en una *path operation function*, un *path operation decorator* (cuando no usas el valor de retorno), una llamada a `.include_router()`, etc.
    
    FastAPI todavía podrá sobrescribirla.
    
    ///
    
    Entonces puedes restablecer las dependencias sobreescritas configurando `app.dependency_overrides` para que sea un `dict` vacío:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top