Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 677 for depende (0.04 sec)

  1. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    もしくは、依存関係が値を返さない場合もあります。
    
    しかし、それでも実行・解決する必要があります。
    
    このような場合、*path operation関数*のパラメータを`Depends`で宣言する代わりに、*path operation decorator*に`dependencies`の`list`を追加することができます。
    
    ##  *path operationデコレータ*への`dependencies`の追加
    
    *path operationデコレータ*はオプショナルの引数`dependencies`を受け取ります。
    
    それは`Depends()`の`list`であるべきです:
    
    ```Python hl_lines="17"
    {!../../docs_src/dependencies/tutorial006.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image03.png">
    
    👆 💪 📨 (&amp; 📨) 📚 📧:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    &amp; 🌐 👫 🔜 ⚙️ 🎏 *️⃣ 🔗.
    
    ## ⚙️ `Depends` &amp; 🎏
    
    *️⃣ 🔗 👆 💪 🗄 ⚪️➡️ `fastapi` &amp; ⚙️:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    👫 👷 🎏 🌌 🎏 FastAPI 🔗/*➡ 🛠️*:
    
    ```Python hl_lines="66-77  76-91"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. dbflute.xml

    	<target name="mydbflute.check">
    		<condition property="mydbflute.exists">
    			<available file="${mydbflute.dir}" type="dir" />
    		</condition>
    	</target>
    
    	<target name="download.dbflute" depends="mydbflute.check" unless="mydbflute.exists">
    		<mkdir dir="${mydbflute.dir}" />
    		<get dest="${target.dir}/mydbflute.zip">
    			<url url="${mydbflute.url}" />
    		</get>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Sep 21 05:37:26 UTC 2024
    - 1000 bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Для таких ситуаций, вместо объявления *функции операции пути* с параметром `Depends`, вы можете добавить список зависимостей `dependencies` в *декоратор операции пути*.
    
    ## Добавление `dependencies` в *декоратор операции пути*
    
    *Декоратор операции пути* получает необязательный аргумент `dependencies`.
    
    Это должен быть `list` состоящий из `Depends()`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. fastapi/security/oauth2.py

        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import Depends, FastAPI
        from fastapi.security import OAuth2PasswordRequestForm
    
        app = FastAPI()
    
    
        @app.post("/login")
        def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]):
            data = {}
            data["scopes"] = []
            for scope in form_data.scopes:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    In diesen Fällen können Sie, anstatt einen Parameter der *Pfadoperation-Funktion* mit `Depends` zu deklarieren, eine `list`e von `dependencies` zum *Pfadoperation-Dekorator* hinzufügen.
    
    ## `dependencies` zum *Pfadoperation-Dekorator* hinzufügen
    
    Der *Pfadoperation-Dekorator* erhält ein optionales Argument `dependencies`.
    
    Es sollte eine `list`e von `Depends()` sein:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    ## Add `dependencies` to the *path operation decorator*
    
    The *path operation decorator* receives an optional argument `dependencies`.
    
    It should be a `list` of `Depends()`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="19"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/packaging/deb/scripts/control

    Package: fess
    Version: [[version]]
    Architecture: all
    Maintainer: Fess Team
    Depends: libc6, adduser
    Section: web
    Priority: optional
    Homepage: https://github.com/codelibs/fess
    Description: Enterprise Search Server: Fess
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 420 bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # 路径操作装饰器依赖项
    
    有时,我们并不需要在*路径操作函数*中使用依赖项的返回值。
    
    或者说,有些依赖项不返回值。
    
    但仍要执行或解析该依赖项。
    
    对于这种情况,不必在声明*路径操作函数*的参数时使用 `Depends`,而是可以在*路径操作装饰器*中添加一个由 `dependencies` 组成的 `list`。
    
    ## 在*路径操作装饰器*中添加 `dependencies` 参数
    
    *路径操作装饰器*支持可选参数 ~ `dependencies`。
    
    该参数的值是由 `Depends()` 组成的 `list`:
    
    ```Python hl_lines="17"
    {!../../docs_src/dependencies/tutorial006.py!}
    ```
    
    路径操作装饰器依赖项(以下简称为**“路径装饰器依赖项”**)的执行或解析方式和普通依赖项一样,但就算这些依赖项会返回值,它们的值也不会传递给*路径操作函数*。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top