Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Decorators$ (0.09 sec)

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

    /// tip
    
    Note that, much like [dependencies in *path operation decorators*](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, no value will be passed to your *path operation function*.
    
    ///
    
    The end result is that the item paths are now:
    
    * `/items/`
    * `/items/{item_id}`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/bigger-applications.md

    & 👥 💪 🚮 📇 `dependencies` 👈 🔜 🚮 🌐 *➡ 🛠️* 📻 & 🔜 🛠️/❎ 🔠 📨 ⚒ 👫.
    
    /// tip
    
    🗒 👈, 🌅 💖 [🔗 *➡ 🛠️ 👨‍🎨*](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, 🙅‍♂ 💲 🔜 🚶‍♀️ 👆 *➡ 🛠️ 🔢*.
    
    ///
    
    🔚 🏁 👈 🏬 ➡ 🔜:
    
    * `/items/`
    * `/items/{item_id}`
    
    ...👥 🎯.
    
    * 👫 🔜 ™ ⏮️ 📇 🔖 👈 🔌 👁 🎻 `"items"`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    would be valid to use as a **FastAPI** dependency.
    
    In fact, FastAPI uses those two decorators internally.
    
    ///
    
    ## A database dependency with `yield`
    
    For example, you could use this to create a database session and close it after finishing.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/oauth2-scopes.md

    ## `Security` in decorator `dependencies`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/bigger-applications.md

    /// tip | "Tipp"
    
    Beachten Sie, dass ähnlich wie bei [Abhängigkeiten in *Pfadoperation-Dekoratoren*](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank} kein Wert an Ihre *Pfadoperation-Funktion* übergeben wird.
    
    ///
    
    Das Endergebnis ist, dass die Pfade für diese Artikel jetzt wie folgt lauten:
    
    * `/items/`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. docs/en/mkdocs.yml

          - tutorial/dependencies/index.md
          - tutorial/dependencies/classes-as-dependencies.md
          - tutorial/dependencies/sub-dependencies.md
          - tutorial/dependencies/dependencies-in-path-operation-decorators.md
          - tutorial/dependencies/global-dependencies.md
          - tutorial/dependencies/dependencies-with-yield.md
        - Security:
          - tutorial/security/index.md
          - tutorial/security/first-steps.md
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/bigger-applications.md

    /// tip | "Dica"
    
    Observe que, assim como [dependências em *decoradores de operação de rota*](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, nenhum valor será passado para sua *função de operação de rota*.
    
    ///
    
    O resultado final é que os caminhos dos itens agora são:
    
    * `/items/`
    * `/items/{item_id}`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/bigger-applications.md

    我们还可以添加一个 `tags` 列表和额外的 `responses` 列表,这些参数将应用于此路由器中包含的所有*路径操作*。
    
    我们可以添加一个 `dependencies` 列表,这些依赖项将被添加到路由器中的所有*路径操作*中,并将针对向它们发起的每个请求执行/解决。
    
    /// tip
    
    请注意,和[*路径操作装饰器*中的依赖项](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}很类似,没有值会被传递给你的*路径操作函数*。
    
    ///
    
    最终结果是项目相关的路径现在为:
    
    * `/items/`
    * `/items/{item_id}`
    
    ...如我们所愿。
    
    * 它们将被标记为仅包含单个字符串 `"items"` 的标签列表。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/security/oauth2-scopes.md

    ## `Security` 👨‍🎨 `dependencies`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/security/oauth2-scopes.md

    **FastAPI** 的 `fastapi.security.oauth2` 里包含了所有 OAuth2 身份验证流工具。
    
    ## 装饰器 `dependencies` 中的 `Security`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top