Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for dependsOn (0.17 sec)

  1. .teamcity/src/main/kotlin/common/extensions.kt

            "--no-configuration-cache",
            "%additional.gradle.parameters%",
            if (daemon) "--daemon" else "--no-daemon",
            if (isContinue) "--continue" else ""
        )
    
    fun Dependencies.dependsOn(buildTypeId: RelativeId) {
        dependency(buildTypeId) {
            snapshot {
                onDependencyFailure = FailureAction.FAIL_TO_START
                onDependencyCancel = FailureAction.FAIL_TO_START
            }
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            val compileTasks = project.tasks.matching {
                it is JavaCompile || it is GroovyCompile
            }
            dependsOn(compileTasks)
        }
    
        tasks.register("compileAllProduction") {
            description = "Compile all production source code, usually only main and testFixtures."
            val compileTasks = project.tasks.matching {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            if (executer == defaultExecuter) {
                // The test task with the default executer runs with 'check'
                tasks.named("check").configure { dependsOn(testTask) }
            }
        }
        // Create a variant of the test suite to force realization of component metadata
        if (testType == TestType.INTEGRATION) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                            baselineUpgradedProperties = oldUpgradedPropertiesFile
                        }
    
                        tasks.register<JapicmpTask>("checkBinaryCompatibility") {
    
                            dependsOn(":v1:jar", ":v2:jar")
                            inputs.files(extractGradleApiInfo)
    
                            oldArchives.from(v1Jar)
                            oldClasspath.from(v1.configurations.named("runtimeClasspath"), v1Jar)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/oauth2-scopes.md

        ```
    
    !!! info "Technical Details"
        `Security` is actually a subclass of `Depends`, and it has just one extra parameter that we'll see later.
    
        But by using `Security` instead of `Depends`, **FastAPI** will know that it can declare security scopes, use them internally, and document the API with OpenAPI.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/security/first-steps.md

    Ее можно вызвать следующим образом:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    Поэтому ее можно использовать вместе с `Depends`.
    
    ### Использование
    
    Теперь вы можете передать ваш `oauth2_scheme` в зависимость с помощью `Depends`.
    
    === "Python 3.9+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/security/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. architecture/networking/pilot.md

            gcc("Gateway Class")
            twc--Depends-->gdc
            gdc-.-gcc
        end
        subgraph Ingress
            ic("Ingress Controller")
            isc("Ingress Status Controller")
            ic-.-isc
        end
        mcsc("Multicluster Secret")
        scr("Credentials Controller")
        mcsc--"1 per cluster"-->scr
        mcsc--"1 per cluster"-->ksd
        crd--Depends-->ccs
    
        iwhc("Injection Webhook")
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    === "Python 3.8 nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python
        commons: CommonQueryParams = Depends()
        ```
    
    Sie deklarieren die Abhängigkeit als Typ des Parameters und verwenden `Depends()` ohne Parameter, anstatt die vollständige Klasse *erneut* in `Depends(CommonQueryParams)` schreiben zu müssen.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:58 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            )
          },
          construct = {
            Validity(
              notBefore = it[0] as Long,
              notAfter = it[1] as Long,
            )
          },
        )
    
      /** The type of the parameters depends on the algorithm that precedes it. */
      private val algorithmParameters: DerAdapter<Any?> =
        Adapters.usingTypeHint { typeHint ->
          when (typeHint) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  10. docs/en/docs/tutorial/dependencies/index.md

        ```
    
    Although you use `Depends` in the parameters of your function the same way you use `Body`, `Query`, etc, `Depends` works a bit differently.
    
    You only give `Depends` a single parameter.
    
    This parameter must be something like a function.
    
    You **don't call it** directly (don't add the parenthesis at the end), you just pass it as a parameter to `Depends()`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top