Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for dep0 (0.03 sec)

  1. tests/test_repeated_cookie_headers.py

        return {}
    
    
    def set_indirect_cookie(*, dep: str = Depends(set_cookie)):
        return dep
    
    
    @app.get("/directCookie")
    def get_direct_cookie(dep: str = Depends(set_cookie)):
        return {"dep": dep}
    
    
    @app.get("/indirectCookie")
    def get_indirect_cookie(dep: str = Depends(set_indirect_cookie)):
        return {"dep": dep}
    
    
    client = TestClient(app)
    
    
    def test_cookie_is_set_once():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Jun 13 12:44:51 UTC 2020
    - 792 bytes
    - Viewed (0)
  2. tests/test_ambiguous_params.py

                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
            ),
        ):
    
            @app.get("/")
            async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify a FastAPI annotation in `Annotated` and `Depends` as a"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2K bytes
    - Viewed (1)
  3. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(
                    "excluded-managed-dep", pom.getValue("dependencyManagement/dependencies[1]/exclusions[1]/artifactId"));
    
            assertEquals(1, ((List<?>) pom.getValue("dependencies")).size());
            assertEquals("org.apache.maven.its", pom.getValue("dependencies[1]/groupId"));
            assertEquals("dep", pom.getValue("dependencies[1]/artifactId"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java

            VersionRequest requestB = new VersionRequest();
            requestB.addRepository(newTestRepository());
            Artifact artifactB =
                    new DefaultArtifact("org.apache.maven.its", "dep-mng5324", "classifierB", "jar", "07.20.3-SNAPSHOT");
            requestB.setArtifact(artifactB);
    
            VersionResult resultB = versionResolver.resolveVersion(session, requestB);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                    .map(profile -> profile.child(DEPENDENCY_MANAGEMENT)
                            .flatMap(dm -> dm.child(DEPENDENCIES))
                            .map(deps -> removeManagedDependenciesFromSection(
                                    context, deps, allGAVs, "profile dependencyManagement"))
                            .orElse(false))
                    .reduce(false, Boolean::logicalOr);
    
            hasChanges |= profileChanges;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                    org.eclipse.aether.graph.Dependency dep = RepositoryUtils.toDependency(artifact, exclusions);
                    if (!DependencyScope.SYSTEM.is(dep.getScope())
                            && dep.getArtifact().getFile() != null) {
                        // enable re-resolution
                        org.eclipse.aether.artifact.Artifact art = dep.getArtifact();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            MojoExecution exec = newMojoExecution();
    
            Artifact depArtifact = createArtifact("group", "artifact", "1");
    
            List<Artifact> deps = new ArrayList<>();
            deps.add(depArtifact);
    
            exec.getMojoDescriptor().getPluginDescriptor().setArtifacts(deps);
    
            MavenSession session = newMavenSession();
    
            @SuppressWarnings("unchecked")
            List<Artifact> depResults =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Puede lanzar excepciones, incluyendo HTTPException
        client ->> dep: Iniciar request
        Note over dep: Ejecutar código hasta yield
        opt raise Exception
            dep -->> handler: Lanzar Exception
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            Build build = project.getModel().getBuild();
    
            Plugin plugin = createPlugin("other.group", "other-artifact", "1.0");
    
            Dependency dep = createDependency("group", "artifact", "1.0");
    
            plugin.addDependency(dep);
    
            build.addPlugin(plugin);
    
            new ProjectSorter(Collections.singletonList(project));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/resources/projects/scope/transitive-default-dep.xml

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top