Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 359 for Depends (0.08 sec)

  1. docs/en/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Inject the current user { #inject-the-current-user }
    
    So now we can use the same `Depends` with our `get_current_user` in the *path operation*:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Notice that we declare the type of `current_user` as the Pydantic model `User`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/security/get-current-user.md

    Isso nos ajudará...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jan 10 13:33:35 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/security/get-current-user.md

    ## 💉 ⏮️ 👩‍💻
    
    🔜 👥 💪 ⚙️ 🎏 `Depends` ⏮️ 👆 `get_current_user` *➡ 🛠️*:
    
    {* ../../docs_src/security/tutorial002.py hl[31] *}
    
    👀 👈 👥 📣 🆎 `current_user` Pydantic 🏷 `User`.
    
    👉 🔜 ℹ 🇺🇲 🔘 🔢 ⏮️ 🌐 🛠️ & 🆎 ✅.
    
    /// tip
    
    👆 5️⃣📆 💭 👈 📨 💪 📣 ⏮️ Pydantic 🏷.
    
    📥 **FastAPI** 🏆 🚫 🤚 😨 ↩️ 👆 ⚙️ `Depends`.
    
    ///
    
    /// check
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/advanced-dependencies.md

    👥 💪 ✍ 👐 👉 🎓 ⏮️:
    
    {* ../../docs_src/dependencies/tutorial011.py hl[16] *}
    
    & 👈 🌌 👥 💪 "🔗" 👆 🔗, 👈 🔜 ✔️ `"bar"` 🔘 ⚫️, 🔢 `checker.fixed_content`.
    
    ## ⚙️ 👐 🔗
    
    ⤴️, 👥 💪 ⚙️ 👉 `checker` `Depends(checker)`, ↩️ `Depends(FixedContentQueryChecker)`, ↩️ 🔗 👐, `checker`, 🚫 🎓 ⚫️.
    
    & 🕐❔ ❎ 🔗, **FastAPI** 🔜 🤙 👉 `checker` 💖:
    
    ```Python
    checker(q="somequery")
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Inyectar al usuario actual
    
    Entonces ahora podemos usar el mismo `Depends` con nuestro `get_current_user` en la *path operation*:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Ten en cuenta que declaramos el tipo de `current_user` como el modelo de Pydantic `User`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Внедрение зависимости текущего пользователя
    
    Теперь мы можем использовать тот же `Depends` с нашей зависимостью `get_current_user` в *функции обрабатывающей эндпоинт*:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[31] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:52:27 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # 🔗 ➡ 🛠️ 👨‍🎨
    
    💼 👆 🚫 🤙 💪 📨 💲 🔗 🔘 👆 *➡ 🛠️ 🔢*.
    
    ⚖️ 🔗 🚫 📨 💲.
    
    ✋️ 👆 💪 ⚫️ 🛠️/❎.
    
    📚 💼, ↩️ 📣 *➡ 🛠️ 🔢* 🔢 ⏮️ `Depends`, 👆 💪 🚮 `list` `dependencies` *➡ 🛠️ 👨‍🎨*.
    
    ## 🚮 `dependencies` *➡ 🛠️ 👨‍🎨*
    
    *➡ 🛠️ 👨‍🎨* 📨 📦 ❌ `dependencies`.
    
    ⚫️ 🔜 `list` `Depends()`:
    
    {* ../../docs_src/dependencies/tutorial006.py hl[17] *}
    
    👉 🔗 🔜 🛠️/❎ 🎏 🌌 😐 🔗. ✋️ 👫 💲 (🚥 👫 📨 🙆) 🏆 🚫 🚶‍♀️ 👆 *➡ 🛠️ 🔢*.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/advanced-dependencies.md

    ## Usar la instance como una dependencia
    
    Luego, podríamos usar este `checker` en un `Depends(checker)`, en lugar de `Depends(FixedContentQueryChecker)`, porque la dependencia es la instance, `checker`, no la clase en sí.
    
    Y al resolver la dependencia, **FastAPI** llamará a este `checker` así:
    
    ```Python
    checker(q="somequery")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

         *
         * 1. dependencyManagement lists dependencies on a & b,
         *    with an exclusion on c in b.
         * 2. the child project lists a dependency on project a only
         * 3. a depends on b (which is transitive to the child project),
         *    and b depends on c.
         *
         * We should see that the resulting size of collected artifacts is two:
         * a & b only.
         */
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/advanced-dependencies.md

    ## Utilize a instância como dependência
    
    Então, nós podemos utilizar este `checker` em um `Depends(checker)`, no lugar de `Depends(FixedContentQueryChecker)`, porque a dependência é a instância, `checker`, e não a própria classe.
    
    E quando a dependência for resolvida, o **FastAPI** chamará este `checker` como:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top