Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 645 for scopej (0.05 sec)

  1. tests/test_route_scope.py

    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    async def websocket_item(item_id: str, websocket: WebSocket):
        route: APIWebSocketRoute = websocket.scope["route"]
        await websocket.accept()
        await websocket.send_json({"item_id": item_id, "path": route.path})
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Feb 08 10:23:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/WarningResolutionListener.java

        public void omitForNearer(Artifact omitted, Artifact kept) {}
    
        public void omitForCycle(Artifact omitted) {}
    
        public void updateScopeCurrentPom(Artifact artifact, String scope) {}
    
        public void updateScope(Artifact artifact, String scope) {}
    
        public void manageArtifact(Artifact artifact, Artifact replacement) {}
    
        public void selectVersionFromRange(Artifact artifact) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

    import org.apache.maven.di.Key;
    import org.apache.maven.di.Scope;
    import org.apache.maven.di.impl.Binding;
    import org.apache.maven.di.impl.DIException;
    import org.apache.maven.di.impl.Dependency;
    import org.apache.maven.di.impl.InjectorImpl;
    import org.apache.maven.execution.scope.internal.MojoExecutionScope;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.codehaus.plexus.PlexusContainer;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle-api.xml

            <module name="JavadocType">
                <property name="scope" value="protected"/>
                <!-- Allow the use of unrecognized tags like @apiNote -->
                <property name="allowUnknownTags" value="true"/>
            </module>
    
            <!-- TODO - switch this on -->
            <!--<module name="JavadocMethod">-->
                <!--<property name="scope" value="package"/>-->
            <!--</module>-->
    
        </module>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Nov 17 23:20:14 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeCoreModule.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution.scope.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    
    import org.apache.maven.execution.MojoExecutionListener;
    
    /**
     * MojoExecutionScopeCoreModule
     */
    @Named
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    import static org.apache.maven.api.ExtensibleEnums.pathScope;
    
    /**
     * Path scope.
     * A path scope is used to determine the kind of build or class path that will be built when resolving
     * dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service.
     * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-settings/pom.xml

          <artifactId>maven-api-xml</artifactId>
        </dependency>
    
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <executions>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 15:53:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        public void setArtifactScope(ArtifactScopeEnum artifactScope) {
            this.artifactScope = artifactScope;
        }
    
        public void setScope(String scope) {
            this.artifactScope = scope == null ? ArtifactScopeEnum.DEFAULT_SCOPE : ArtifactScopeEnum.valueOf(scope);
        }
    
        public String getClassifier() {
            return classifier;
        }
    
        public void setClassifier(String classifier) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

    import org.apache.maven.execution.scope.internal.MojoExecutionScope;
    import org.apache.maven.execution.scope.internal.MojoExecutionScopeModule;
    import org.apache.maven.extension.internal.CoreExports;
    import org.apache.maven.extension.internal.CoreExtensionEntry;
    import org.apache.maven.session.scope.internal.SessionScope;
    import org.apache.maven.session.scope.internal.SessionScopeModule;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException {
            try {
                if (dirtyGraph == null || dirtyGraph.isEmpty()) {
                    return null;
                }
    
                MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope);
    
                if (cleanGraph == null || cleanGraph.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top