Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 740 for dependency1 (0.16 seconds)

  1. docs/ko/docs/advanced/settings.md

    {* ../../docs_src/settings/app01_py310/main.py hl[3,11:13] *}
    
    /// tip | 팁
    
    [더 큰 애플리케이션 - 여러 파일](../tutorial/bigger-applications.md)에서 본 것처럼 `__init__.py` 파일도 필요합니다.
    
    ///
    
    ## 의존성에서 설정 사용하기 { #settings-in-a-dependency }
    
    어떤 경우에는 어디서나 사용되는 전역 `settings` 객체를 두는 대신, 의존성에서 설정을 제공하는 것이 유용할 수 있습니다.
    
    이는 특히 테스트 중에 유용할 수 있는데, 사용자 정의 설정으로 의존성을 override하기가 매우 쉽기 때문입니다.
    
    ### config 파일 { #the-config-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### Створіть залежність сесії { #create-a-session-dependency }
    
    **`Session`** зберігає **об’єкти в пам’яті** та відстежує зміни у даних, а потім **використовує `engine`** для взаємодії з базою даних.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  3. internal/rest/client.go

    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    		// generally all implementations should simply return
    		// 403, but in situations where there is a dependency
    		// with the caller to take the client offline purpose
    		// fully it should make sure to respond with '412'
    		// instead, see cmd/storage-rest-server.go for ideas.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  4. docs/en/docs/release-notes.md

        * The cache can be disabled per dependency declaration, using `use_cache=False` as in `Depends(your_dependency, use_cache=False)`.
        * Updated docs at: [Using the same dependency multiple times](https://fastapi.tiangolo.com/tutorial/dependencies/sub-dependencies/#using-the-same-dependency-multiple-times).
        * PR [#292](https://github.com/tiangolo/fastapi/pull/292).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <p><b>We recommend against using EventBus.</b> It was designed many years ago, and newer
     * libraries offer better ways to decouple components and react to events.
     *
     * <p>To decouple components, we recommend a dependency-injection framework. For Android code, most
     * apps use <a href="https://dagger.dev">Dagger</a>. For server code, common options include <a
     * href="https://github.com/google/guice/wiki/Motivation">Guice</a> and <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         */
        PathMatcher matcher(Collection<String> defaultIncludes, boolean useDefaultExcludes);
    
        /**
         * {@return in which context the source files will be used}
         * Not to be confused with dependency scope.
         * The default value is {@code "main"}.
         *
         * @see ProjectScope#MAIN
         */
        default ProjectScope scope() {
            return ProjectScope.MAIN;
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    /// info
    
    If you are planning to use digital signature algorithms like RSA or ECDSA, you should install the cryptography library dependency `pyjwt[crypto]`.
    
    You can read more about it in the [PyJWT Installation docs](https://pyjwt.readthedocs.io/en/latest/installation.html).
    
    ///
    
    ## Password hashing { #password-hashing }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. docs/uk/docs/advanced/security/oauth2-scopes.md

    Для цього використовуємо `security_scopes.scopes`, що містить `list` із усіма цими scopes як `str`.
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[130:136] *}
    
    ## Дерево залежностей і scopes { #dependency-tree-and-scopes }
    
    Ще раз розгляньмо дерево залежностей і scopes.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 20.2K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/advanced-dependencies.md

    ## 创建实例 { #create-an-instance }
    
    我们可以这样创建该类的实例:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[18] *}
    
    这样就把依赖项“参数化”了,现在它内部带有属性 `checker.fixed_content` 的值 `"bar"`。
    
    ## 把实例作为依赖项 { #use-the-instance-as-a-dependency }
    
    然后,我们可以在 `Depends(checker)` 中使用这个 `checker`,而不是 `Depends(FixedContentQueryChecker)`,因为依赖项是实例 `checker`,不是类本身。
    
    解析依赖项时,**FastAPI** 会像这样调用 `checker`:
    
    ```Python
    checker(q="somequery")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/security/oauth2-scopes.md

    现在我们要验证,这个依赖以及所有依赖者(包括*路径操作*)所需的所有作用域,是否都包含在接收到的令牌里的作用域中,否则就抛出 `HTTPException`。
    
    为此,我们使用 `security_scopes.scopes`,它包含一个由这些作用域组成的 `list[str]`。
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[130:136] *}
    
    ## 依赖树与作用域 { #dependency-tree-and-scopes }
    
    再次回顾这个依赖树与作用域。
    
    由于 `get_current_active_user` 依赖把 `get_current_user` 作为子依赖,因此在 `get_current_active_user` 中声明的作用域 `"me"` 会被包含在传给 `get_current_user` 的 `security_scopes.scopes` 所需作用域列表中。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
Back to Top