Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 69 for decorators (0.07 seconds)

  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}`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/security/oauth2-scopes.md

    ## `Security` in decorator `dependencies` { #security-in-decorator-dependencies }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 13.5K bytes
    - Click Count (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` { #a-database-dependency-with-yield }
    
    For example, you could use this to create a database session and close it after finishing.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/bigger-applications.md

    /// tip | Consejo
    
    Nota que, al igual que [dependencias en decoradores de *path operations*](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, ningún valor será pasado a tu *path operation function*.
    
    ///
    
    El resultado final es que los paths de item son ahora:
    
    * `/items/`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  5. 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:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/bigger-applications.md

        * Zuerst werden die Router-Abhängigkeiten ausgeführt, dann die [`dependencies` im Dekorator](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank} und dann die normalen Parameterabhängigkeiten.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 13:54:34 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/security/oauth2-scopes.md

    ## `Security` en `dependencies` del decorador { #security-in-decorator-dependencies }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/bigger-applications.md

    /// tip | Подсказка
    
    Обратите внимание, что также, как и в случае с зависимостями в декораторах *эндпоинтов* ([зависимости в декораторах операций пути](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}), никакого значения в *функцию эндпоинта* передано не будет.
    
    ///
    
    В результате мы получим следующие эндпоинты:
    
    * `/items/`
    * `/items/{item_id}`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/security/oauth2-scopes.md

    ## `Security` em decoradores de `dependencies` { #security-in-decorator-dependencies }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  10. 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"` 的标签列表。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun May 11 13:37:26 GMT 2025
    - 18.4K bytes
    - Click Count (0)
Back to Top