Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 848 for Dependencies (0.06 seconds)

  1. docs/zh-hant/docs/tutorial/security/simple-oauth2.md

    /// tip
    
    依照規範,你應該回傳一個包含 `access_token` 與 `token_type` 的 JSON,就像這個範例。
    
    這部分需要你自己在程式中完成,並確保使用這些 JSON key。
    
    這幾乎是你為了符合規範而必須自行記得正確處理的唯一事情。
    
    其餘的 **FastAPI** 都會幫你處理。
    
    ///
    
    ## 更新依賴項 { #update-the-dependencies }
    
    接著我們要更新依賴項。
    
    我們只想在使用者為啟用狀態時取得 `current_user`。
    
    所以,我們新增一個依賴 `get_current_active_user`,而它本身又依賴 `get_current_user`。
    
    這兩個依賴會在使用者不存在或未啟用時回傳 HTTP 錯誤。
    
    因此,在端點中,只有在使用者存在、已正確驗證且為啟用狀態時,我們才會取得使用者:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  2. docs/en/docs/python-types.md

    * **Editor support**.
    * **Type checks**.
    
    ...and **FastAPI** uses the same declarations to:
    
    * **Define requirements**: from request path parameters, query parameters, headers, bodies, dependencies, etc.
    * **Convert data**: from the request to the required type.
    * **Validate data**: coming from each request:
        * Generating **automatic errors** returned to the client when the data is invalid.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/security/simple-oauth2.md

    按规范的要求,应像本示例一样,返回带有 `access_token` 和 `token_type` 的 JSON 对象。
    
    这是开发者必须在代码中自行完成的工作,并且要确保使用这些 JSON 的键。
    
    这几乎是唯一需要开发者牢记在心,并按规范要求正确执行的事。
    
    **FastAPI** 则负责处理其它的工作。
    
    ///
    
    ## 更新依赖项 { #update-the-dependencies }
    
    接下来,更新依赖项。
    
    使之仅在当前用户为激活状态时,才能获取 `current_user`。
    
    为此,要再创建一个依赖项 `get_current_active_user`,此依赖项以 `get_current_user` 依赖项为基础。
    
    如果用户不存在,或状态为未激活,这两个依赖项都会返回 HTTP 错误。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  4. .teamcity/subprojects.json

        "path": "testing/distributions-core",
        "unitTests": false,
        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "distributions-dependencies",
        "path": "packaging/distributions-dependencies",
        "unitTests": false,
        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "distributions-full",
        "path": "packaging/distributions-full",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 15:03:00 GMT 2026
    - 42K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/settings.md

    {* ../../docs_src/settings/app03_an_py310/main.py hl[1,11] *}
    
    Then for any subsequent call of `get_settings()` in the dependencies for the next requests, instead of executing the internal code of `get_settings()` and creating a new `Settings` object, it will return the same object that was returned on the first call, again and again.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  6. tensorflow/BUILD

            "//tensorflow/cc:scope",
            "//tensorflow/core:tensorflow",
            "//tensorflow/core/data:standalone",
            # Exports for pywrap_tensorflow_internal. Many of these are transitive
            # dependencies of the above, but must be explicitly listed for
            # cc_shared_library to work.
            "//tensorflow/c/eager:c_api_experimental",
            "//tensorflow/c/eager:c_api_internal",
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            options.addOption(Option.builder(IGNORE_TRANSITIVE_REPOSITORIES)
                    .longOpt("ignore-transitive-repositories")
                    .desc("If set, Maven will ignore remote repositories introduced by transitive dependencies.")
                    .build());
    
            // Parameters handled by script
            options.addOption(Option.builder()
                    .longOpt(DEBUG)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertNotNull(thumbnailJob.sessionId);
            assertTrue(result.contains("Session Id:"));
    
            // The test cannot actually start the process since it requires many dependencies
            // The execute method catches the exception and returns the session ID
        }
    
        // Test execute with custom session ID
        @Test
        public void test_execute_withCustomSessionId() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/bigger-applications.md

    * 모두 미리 정의된 `responses`를 포함합니다.
    * 이 모든 *path operations*는 실행되기 전에 `dependencies` 목록이 평가/실행됩니다.
        * 특정 *path operation*에 dependencies를 추가로 선언하면 **그것들도 실행됩니다**.
        * router dependencies가 먼저 실행되고, 그 다음에 [decorator의 `dependencies`](dependencies/dependencies-in-path-operation-decorators.md), 그리고 일반 파라미터 dependencies가 실행됩니다.
        * [`scopes`가 있는 `Security` dependencies](../advanced/security/oauth2-scopes.md)도 추가할 수 있습니다.
    
    /// tip | 팁
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Verify.java

     *       class instead.
     *   <li>If checking an <i>impossible</i> condition (which <i>cannot</i> happen unless your own
     *       class or its <i>trusted</i> dependencies is badly broken), this is what ordinary Java
     *       assertions are for. Note that assertions are not enabled by default; they are essentially
     *       considered "compiled comments."
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
Back to Top