Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 52 for dep0 (0.65 seconds)

  1. tests/test_include_router_defaults_overrides.py

    
    async def dep0(response: Response):
        response.headers["x-level0"] = "True"
    
    
    async def dep1(response: Response):
        response.headers["x-level1"] = "True"
    
    
    async def dep2(response: Response):
        response.headers["x-level2"] = "True"
    
    
    async def dep3(response: Response):
        response.headers["x-level3"] = "True"
    
    
    async def dep4(response: Response):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 385.6K bytes
    - Click Count (0)
  2. tests/test_security_scopes_dont_propagate.py

        return scopes.scopes
    
    
    async def dep3(
        dep1: Annotated[list[str], Security(security1, scopes=["scope1"])],
        dep2: Annotated[list[str], Security(security2, scopes=["scope2"])],
    ):
        return {"dep1": dep1, "dep2": dep2}
    
    
    app = FastAPI()
    
    
    @app.get("/scopes")
    def get_scopes(
        dep3: Annotated[dict[str, Any], Security(dep3, scopes=["scope3"])],
    ):
        return dep3
    
    
    client = TestClient(app)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 973 bytes
    - Click Count (0)
  3. tests/test_repeated_dependency_schema.py

    
    @app.get("/")
    def get_deps(dep1: str = Depends(get_header), dep2: str = Depends(get_something_else)):
        return {"dep1": dep1, "dep2": dep2}
    
    
    client = TestClient(app)
    
    
    def test_response():
        response = client.get("/", headers={"someheader": "hello"})
        assert response.status_code == status.HTTP_200_OK
        assert response.json() == {"dep1": "hello", "dep2": "hello123"}
    
    
    def test_openapi_schema():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. deps.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project name="deps" basedir=".">
    	<property name="target.dir" value="${basedir}/target/deps" />
    	<property name="webinf.dir" value="${basedir}/src/main/webapp/WEB-INF" />
    	<property name="crawler.dir" value="${basedir}/src/main/webapp/WEB-INF/env/crawler" />
    	<property name="suggest.dir" value="${basedir}/src/main/webapp/WEB-INF/env/suggest" />
    	<property name="thumbnail.dir" value="${basedir}/src/main/webapp/WEB-INF/env/thumbnail" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Feb 12 06:33:24 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                                LinkedHashMap::new));
    
                // for each managed dep in the model:
                // * if there is no corresponding node in the tree, discard the managed dep
                // * if there's a direct dependency, apply the managed dependency to it and discard the managed dep
                // * else keep the managed dep
                managedDependencies.keySet().retainAll(nodes.keySet());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  6. docs_src/dependencies/tutorial008_an_py310.py

        try:
            yield dep_a
        finally:
            dep_a.close()
    
    
    async def dependency_b(dep_a: Annotated[DepA, Depends(dependency_a)]):
        dep_b = generate_dep_b()
        try:
            yield dep_b
        finally:
            dep_b.close(dep_a)
    
    
    async def dependency_c(dep_b: Annotated[DepB, Depends(dependency_b)]):
        dep_c = generate_dep_c()
        try:
            yield dep_c
        finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 521 bytes
    - Click Count (0)
  7. ci/official/utilities/code_check_full.bats

    Here are the affected tests:
    EOF
        while read dep; do
          echo "For dependency $dep:"
          # For every missing dependency, find the tests which directly depend on
          # it, and print that list for debugging. Not really clear if this is
          # helpful since the only examples I've seen are enormous.
          bazel cquery "rdeps(kind(py_test, $(cat $BATS_TEST_TMPDIR/deps)), $dep, 1)"
        done < $BATS_TEST_TMPDIR/missing_deps
        exit 1
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 28 22:41:17 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  8. guava-gwt/pom.xml

             its builds. Thus, GWT doesn't get j2objc-annotations transitively, in
             contrast to the other deps of `guava`, which it does get transitively.
             (Arguably we should redeclare *all* the `guava` deps here.) -->
        <dependency>
          <groupId>com.google.j2objc</groupId>
          <artifactId>j2objc-annotations</artifactId>
        </dependency>
        <dependency>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:19:17 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  9. tensorflow/c/eager/BUILD

            "//tensorflow:internal",
        ],
        deps = [
            "//tensorflow/core:lib",
            "//tensorflow/core:protos_all_cc",
            "@com_google_absl//absl/container:inlined_vector",
        ],
    )
    
    cc_library(
        name = "abstract_operation",
        hdrs = ["abstract_operation.h"],
        visibility = [
            "//tensorflow:internal",
        ],
        deps = [
            ":abstract_tensor_handle",
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 24 06:18:31 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  10. tensorflow/c/BUILD

        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_macros",
            ":tf_shape_internal",
            "//tensorflow/core:framework",
        ],
    )
    
    cc_library(
        name = "tf_shape_internal",
        hdrs = ["tf_shape_internal.h"],
        copts = tf_copts(),
        visibility = ["//tensorflow:internal"],
        deps = [
            ":conversion_macros",
            "//tensorflow/core:framework",
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 17 18:49:14 GMT 2026
    - 30.3K bytes
    - Click Count (0)
Back to Top