Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for include_router (0.07 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. docs/en/docs/advanced/testing-dependencies.md

    The original dependency could be used in a *path operation function*, a *path operation decorator* (when you don't use the return value), a `.include_router()` call, etc.
    
    FastAPI will still be able to override it.
    
    ///
    
    Then you can reset your overrides (remove them) by setting `app.dependency_overrides` to be an empty `dict`:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    That means that, for example, to apply authentication to all the *path operations* in a router it would end up being done in a different file, instead of keeping related logic together.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top