Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for 266703 (0.09 sec)

  1. docs/de/docs/advanced/testing-dependencies.md

    Und dann ruft **FastAPI** diese Überschreibung anstelle der ursprünglichen Abhängigkeit auf.
    
    === "Python 3.10+"
    
        ```Python hl_lines="26-27  30"
        {!> ../../../docs_src/dependency_testing/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="28-29  32"
        {!> ../../../docs_src/dependency_testing/tutorial001_an_py39.py!}
        ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:32 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/testing-dependencies.md

    ### 使用 `app.dependency_overrides` 属性
    
    对于这些用例,**FastAPI** 应用支持 `app.dependcy_overrides` 属性,该属性就是**字典**。
    
    要在测试时覆盖原有依赖项,这个字典的键应当是原依赖项(函数),值是覆盖依赖项(另一个函数)。
    
    这样一来,**FastAPI** 就会调用覆盖依赖项,不再调用原依赖项。
    
    ```Python hl_lines="26-27  30"
    {!../../../docs_src/dependency_testing/tutorial001.py!}
    ```
    
    !!! tip "提示"
    
        **FastAPI** 应用中的任何位置都可以实现覆盖依赖项。
    
        原依赖项可用于*路径操作函数*、*路径操作装饰器*(不需要返回值时)、`.include_router()` 调用等。
    
        FastAPI 可以覆盖这些位置的依赖项。
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 22:45:53 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

     * Different instructions and configuration may be required for other hardware devices.
     *
     * Using a yubikey device as a SSL key store.
     * https://lauri.võsandi.com/2017/03/yubikey-for-ssh-auth.html
     *
     * Using PKCS11 support in the JDK.
     * https://tersesystems.com/blog/2018/09/08/keymanagers-and-keystores/
     *
     * Install OpenSC separately. On a mac `brew cast install opensc`.
     */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/math/rand/v2/normal.go

    	6.386974e-10, 6.449488e-10, 6.511956e-10, 6.5744005e-10,
    	6.6368433e-10, 6.699307e-10, 6.7618144e-10, 6.824387e-10,
    	6.8870465e-10, 6.949815e-10, 7.012715e-10, 7.075768e-10,
    	7.1389966e-10, 7.202424e-10, 7.266073e-10, 7.329966e-10,
    	7.394128e-10, 7.4585826e-10, 7.5233547e-10, 7.58847e-10,
    	7.653954e-10, 7.719835e-10, 7.7861395e-10, 7.852897e-10,
    	7.920138e-10, 7.987892e-10, 8.0561924e-10, 8.125073e-10,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:08:47 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_get_pseudo.txt

    env GOPROXY=direct
    env GOSUMDB=off
    
    # We can resolve the @master branch without unshallowing the local repository
    # (even with older gits), so try that before we do anything else.
    # (This replicates https://golang.org/issue/26713 with git 2.7.4.)
    go get github.com/rsc/legacytest@master
    go list -m all
    stdout '^github.com/rsc/legacytest v2\.0\.1-0\.\d{14}-7303f7796364\+incompatible$'
    
    # get should include incompatible tags in "latest" calculation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. src/math/rand/normal.go

    	6.386974e-10, 6.449488e-10, 6.511956e-10, 6.5744005e-10,
    	6.6368433e-10, 6.699307e-10, 6.7618144e-10, 6.824387e-10,
    	6.8870465e-10, 6.949815e-10, 7.012715e-10, 7.075768e-10,
    	7.1389966e-10, 7.202424e-10, 7.266073e-10, 7.329966e-10,
    	7.394128e-10, 7.4585826e-10, 7.5233547e-10, 7.58847e-10,
    	7.653954e-10, 7.719835e-10, 7.7861395e-10, 7.852897e-10,
    	7.920138e-10, 7.987892e-10, 8.0561924e-10, 8.125073e-10,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DependencyManagementIntegrationTest.kt

                    assertThat(output, containsString("$dep:1.0 (by constraint)"))
                }
            }
        }
    
        @Test
        @Issue("https://github.com/gradle/gradle/issues/26602")
        fun `can use dependencyScope configuration provider in dependencies block`() {
    
            withFile("repo/in-block/accessor-1.0.jar")
    
            withBuildScript(
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 06:41:25 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/file/FileOrUriNotationConverterTest.groovy

            when:
            def object = parse(uriString)
            then:
            object instanceof File
            object.toURI().toString() == uriString
        }
    
        @Issue("https://github.com/gradle/gradle/issues/26678")
        def "does not change + in file scheme URI parsed from CharSequence"() {
            setup:
            def uriString = folder.createFile("test+1").toURI().toString()
            when:
            def object = parse(uriString)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 16:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/alias.go

    		panic(fmt.Sprintf("non-terminated alias %s", a0.obj.name))
    	}
    
    	// Memoize the type only if valid.
    	// In the presence of unfinished cyclic declarations, Unalias
    	// would otherwise latch the invalid value (#66704).
    	// TODO(adonovan): rethink, along with checker.typeDecl's use
    	// of Invalid to mark unfinished aliases.
    	if t != Typ[Invalid] {
    		a0.actual = t
    	}
    
    	return t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.3.md

    * Add LabelSelector to PersistentVolumeClaimSpec ([#25917](https://github.com/kubernetes/kubernetes/pull/25917), [@pmorie](https://github.com/pmorie))
    * Removed metrics api group ([#26073](https://github.com/kubernetes/kubernetes/pull/26073), [@piosz](https://github.com/piosz))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
Back to top