Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Moutier (0.19 sec)

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

    ### ❎ 📛 💥
    
    👥 🏭 🔁 `items` 🔗, ↩️ 🏭 🚮 🔢 `router`.
    
    👉 ↩️ 👥 ✔️ ➕1️⃣ 🔢 📛 `router` 🔁 `users`.
    
    🚥 👥 ✔️ 🗄 1️⃣ ⏮️ 🎏, 💖:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    `router` ⚪️➡️ `users` 🔜 📁 1️⃣ ⚪️➡️ `items` & 👥 🚫🔜 💪 ⚙️ 👫 🎏 🕰.
    
    , 💪 ⚙️ 👯‍♂️ 👫 🎏 📁, 👥 🗄 🔁 🔗:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/bigger-applications.md

    Wir importieren das Submodul `items` direkt, anstatt nur seine Variable `router` zu importieren.
    
    Das liegt daran, dass wir im Submodul `users` auch eine weitere Variable namens `router` haben.
    
    Wenn wir eine nach der anderen importiert hätten, etwa:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  3. 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
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/bigger-applications.md

    ### 避免名称冲突
    
    我们将直接导入 `items` 子模块,而不是仅导入其 `router` 变量。
    
    这是因为我们在 `users` 子模块中也有另一个名为 `router` 的变量。
    
    如果我们一个接一个地导入,例如:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    来自 `users` 的 `router` 将覆盖来自 `items` 中的 `router`,我们将无法同时使用它们。
    
    因此,为了能够在同一个文件中使用它们,我们直接导入子模块:
    
    ```Python hl_lines="5" title="app/main.py"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.5K bytes
    - Viewed (0)
Back to top