- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 606 for Scope (0.02 seconds)
-
pom.xml
<version>${tomcat.version}</version> <!-- Disable scope at development on IDEA --> <scope>provided</scope> </dependency> <dependency><!-- for jsp --> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId> <version>${tomcat.version}</version> <!-- Disable scope at development on IDEA --> <scope>provided</scope> </dependency> <!-- groovy -->
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 49.9K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
### Dependencies with `yield` and `scope` { #dependencies-with-yield-and-scope } In version 0.121.0, FastAPI added support for `Depends(scope="function")` for dependencies with `yield`. Using `Depends(scope="function")`, the exit code after `yield` is executed right after the *path operation function* is finished, before the response is sent back to the client.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
tests/test_depends_hashable.py
from fastapi import Depends, Security def dep(): pass def test_depends_hashable(): dep() # just for coverage d1 = Depends(dep) d2 = Depends(dep) d3 = Depends(dep, scope="function") d4 = Depends(dep, scope="function") s1 = Security(dep) s2 = Security(dep) assert hash(d1) == hash(d2) assert hash(s1) == hash(s2) assert hash(d1) != hash(d3)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Nov 19 16:50:18 GMT 2025 - 596 bytes - Click Count (0) -
compat/maven-settings-builder/pom.xml
</dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.eclipse.sisu</groupId>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 4.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
<artifactId>junit-bom</artifactId> <version>5.11.1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 6.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
if ("maven-test".equals(artifact.getGroupId())) { String scope = artifact.getArtifactId().substring("scope-".length()); try { artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource( ProjectClasspathTestType.DIR + "transitive-" + scope + "-dep.xml")); result.setArtifact(artifact);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.1K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/depmgmt/distant-import.xml
<dependency> <groupId>org.junit</groupId> <artifactId>bom</artifactId> <version>0.1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 768 bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Singleton.java
* Maven execution. This scope should be used for stateless services or components * that can be safely shared across the entire build process. * <p> * Example usage: * <pre> * {@literal @}Singleton * public class GlobalConfiguration { * // Implementation * } * </pre> * * @see Scope * @since 4.0.0 */ @Scope @Documented @Retention(RUNTIME)
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.5K bytes - Click Count (0) -
fastapi/dependencies/models.py
use_cache: bool = True path: str | None = None scope: Literal["function", "request"] | None = None @cached_property def oauth_scopes(self) -> list[str]: scopes = self.parent_oauth_scopes.copy() if self.parent_oauth_scopes else [] # This doesn't use a set to preserve order, just in case for scope in self.own_oauth_scopes or []: if scope not in scopes: scopes.append(scope)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 7.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.execution.scope.internal; import java.util.Collection; import java.util.IdentityHashMap; import com.google.inject.Key; import com.google.inject.Provider; import com.google.inject.Scope; import com.google.inject.name.Named; import org.apache.maven.execution.MojoExecutionEvent;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.4K bytes - Click Count (0)