Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 917 for checkDep (0.25 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesDisableGlobalDependencySubstitutionIntegrationTest.groovy

            when:
            resolveLocalPath()
            run ':m1:checkDeps'
    
            then:
            expectResolvedToLocal(resolveLocal)
    
            when:
            resolvePublishedPath()
            run ':m1:checkDeps'
    
            then:
            expectResolveToPublished(resolvePublished)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/advanced-dependencies.md

    ```Python hl_lines="16"
    {!../../../docs_src/dependencies/tutorial011.py!}
    ```
    
    这样就可以**参数化**依赖项,它包含 `checker.fixed_content` 的属性 - `"bar"`。
    
    ## 把实例作为依赖项
    
    然后,不要再在 `Depends(checker)` 中使用 `Depends(FixedContentQueryChecker)`, 而是要使用 `checker`,因为依赖项是类实例 - `checker`,不是类。
    
    处理依赖项时,**FastAPI** 以如下方式调用 `checker`:
    
    ```Python
    checker(q="somequery")
    ```
    
    ……并用*路径操作函数*的参数 `fixed_content_included` 返回依赖项的值:
    
    ```Python hl_lines="20"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:26:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/advanced-dependencies.md

    ## Use the instance as a dependency
    
    Then, we could use this `checker` in a `Depends(checker)`, instead of `Depends(FixedContentQueryChecker)`, because the dependency is the instance, `checker`, not the class itself.
    
    And when solving the dependency, **FastAPI** will call this `checker` like:
    
    ```Python
    checker(q="somequery")
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker.go

    			return errors.NewBadRequest(bodyText)
    		case resp.StatusCode == http.StatusNotFound:
    			return errors.NewGenericServerResponse(resp.StatusCode, "", checker.QualifiedResource, checker.Name, bodyText, 0, false)
    		}
    		return errors.NewGenericServerResponse(resp.StatusCode, "", checker.QualifiedResource, checker.Name, bodyText, 0, false)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 03 06:33:43 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomResolveIntegrationTest.groovy

            expect:
            // have to run twice to trigger the failure, to parse the descriptor from the cache
            succeeds ":checkDeps"
            resolve.expectGraph {
                root(":", ":test:") {
                    module("group:artifact:1.0")
                }
            }
    
            succeeds ":checkDeps"
            resolve.expectGraph {
                root(":", ":test:") {
                    module("group:artifact:1.0")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractValidatingLockingIntegrationTest.groovy

        lockedConf('org:foo') {
            version { strictly '1.1' }
        }
    }
    """
    
            lockfileFixture.createLockfile('lockedConf',['org:foo:1.0'], unique)
    
            when:
            fails 'checkDeps'
    
            then:
            failure.assertHasCause """Cannot find a version of 'org:foo' that satisfies the version constraints:
       Dependency path ':depLock:unspecified' --> 'org:foo:1.+'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. src/runtime/align_test.go

    		t.Fatalf("typechecking runtime failed: %v", err)
    	}
    
    	// Analyze all atomic.*64 callsites.
    	v := Visitor{t: t, fset: fset, types: info.Types, checked: checked}
    	ast.Walk(&v, pkg)
    }
    
    type Visitor struct {
    	fset    *token.FileSet
    	types   map[ast.Expr]types.TypeAndValue
    	checked map[string]bool
    	t       *testing.T
    }
    
    func (v *Visitor) Visit(n ast.Node) ast.Visitor {
    	c, ok := n.(*ast.CallExpr)
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. guava/module.json

              "version": {
                "requires": "${jsr305.version}"
              }
            },
            {
              "group": "org.checkerframework",
              "module": "checker-qual",
              "version": {
                "requires": "${checker.version}"
              }
            },
            {
              "group": "com.google.errorprone",
              "module": "error_prone_annotations",
              "version": {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 17 18:11:49 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. .idea/misc.xml

              <item index="10" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableDecl" />
              <item index="11" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableType" />
              <item index="12" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.Nullable" />
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 19:23:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy

                    }
                }
                configurations.conf.resolutionStrategy {
                    force 'org:foo:1.0'
                }
            """
    
            when:
            run 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    constraint("org:foo:1.1","org:foo:1.0")
                    module("org:bar:1.0") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top