- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 50 for Dep (0.01 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
.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=******@****.***" $pluginPortalUrlOverrideCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jun 12 09:41:54 GMT 2025 - 15.3K bytes - Click Count (1) -
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) -
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) -
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)); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 12.7K bytes - Click Count (0) -
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 ExceptionCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.7K bytes - Click Count (0) -
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 raiseCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 12.3K bytes - Click Count (0) -
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) -
tests/test_stringified_annotations_simple.py
from fastapi.testclient import TestClient from .utils import needs_py310 class Dep: def __call__(self, request: Request): return "test" @needs_py310 def test_stringified_annotations(): app = FastAPI() client = TestClient(app) @app.get("/test/") def call(test: Annotated[str, Depends(Dep())]): return {"test": test} response = client.get("/test")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 545 bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
participant client as Client 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: Can raise exceptions, including HTTPException client ->> dep: Start request Note over dep: Run code up to yield opt raise Exception dep -->> handler: Raise Exception handler -->> client: HTTP error responseCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 19.7K bytes - Click Count (0)