Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 68 for Dep (0.01 seconds)

  1. src/cmd/api/testdata/src/issue21181/indirect/p.go

    package indirect
    
    import "dep"
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 05 17:53:43 GMT 2018
    - 57 bytes
    - Click Count (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"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2K bytes
    - Click Count (1)
  3. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            val steps = nightlySnapshot.steps.items
            assertEquals(3, steps.size)
    
            val expectedGradleParams =
                """
                -PcommitId=%dep.Gradle_Release_Check_Stage_ReadyforNightly_Trigger.build.vcs.number% 
                "-PgitUserName=bot-teamcity"
                "-PgitUserEmail=******@****.***"
                $pluginPortalUrlOverride
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 15.3K bytes
    - Click Count (1)
  4. 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():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jun 13 12:44:51 GMT 2020
    - 792 bytes
    - Click Count (0)
  5. 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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (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();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.7K bytes
    - Click Count (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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  9. docs/ja/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,tasks: Can raise exception for dependency, handled after response is sent
        Note over client,operation: Can raise HTTPException and can change the response
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  10. src/cmd/api/testdata/src/issue21181/p/p.go

    package p
    
    import (
    	"dep"
    )
    
    type algo struct {
    	indrt func(dep.Interface)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 05 17:53:43 GMT 2018
    - 78 bytes
    - Click Count (0)
Back to Top