Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 839 for cannot (2.44 sec)

  1. tests/test_ambiguous_params.py

        with pytest.raises(
            AssertionError, match="Path parameters cannot have a default value"
        ):
    
            @app.get("/items/{item_id}/")
            async def get_item(item_id: Annotated[int, Path(default=1)]):
                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
                "`Query` default value cannot be set in `Annotated` for 'item_id'. Set the"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Dec 12 00:22:47 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java

                    "Cannot change the artifactId for an attached artifact." + " It is derived from the main artifact.");
        }
    
        public List<ArtifactVersion> getAvailableVersions() {
            return parent.getAvailableVersions();
        }
    
        public void setAvailableVersions(List<ArtifactVersion> availableVersions) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

            this.versionResolver = Objects.requireNonNull(versionResolver, "versionResolver cannot be null");
            this.versionRangeResolver = Objects.requireNonNull(versionRangeResolver, "versionRangeResolver cannot be null");
            this.artifactResolver = Objects.requireNonNull(artifactResolver, "artifactResolver cannot be null");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. cmd/storage-errors.go

    var errUnsupportedDisk = StorageErr("drive does not support O_DIRECT")
    
    // errDiskFull - cannot create volume or files when disk is full.
    var errDiskFull = StorageErr("drive path full")
    
    // errDiskNotDir - cannot use storage disk if its not a directory
    var errDiskNotDir = StorageErr("drive is not directory or mountpoint")
    
    // errDiskNotFound - cannot find the underlying configured disk anymore.
    var errDiskNotFound = StorageErr("drive not found")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/GraphConstants.java

      static final String REUSING_EDGE =
          "Edge %s already exists between the following nodes: %s, "
              + "so it cannot be reused to connect the following nodes: %s.";
      static final String MULTIPLE_EDGES_CONNECTING =
          "Cannot call edgeConnecting() when parallel edges exist between %s and %s. Consider calling "
              + "edgesConnecting() instead.";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         *
         * @param request {@link ProjectBuilderRequest}
         * @return the {@link ProjectBuilderResult} containing the built project and possible errors
         * @throws ProjectBuilderException if the project cannot be created
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         */
        @Nonnull
        ProjectBuilderResult build(ProjectBuilderRequest request);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .repository(nonNull(repository, "repository cannot be null"))
                    .artifacts(nonNull(artifacts, "artifacts cannot be null"))
                    .build();
        }
    
        class ArtifactDeployerRequestBuilder {
            Session session;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/DefaultModelBuildingListener.java

            this.project = Objects.requireNonNull(project, "project cannot be null");
            this.projectBuildingHelper =
                    Objects.requireNonNull(projectBuildingHelper, "projectBuildingHelper cannot be null");
            this.projectBuildingRequest =
                    Objects.requireNonNull(projectBuildingRequest, "projectBuildingRequest cannot be null");
            this.remoteRepositories = projectBuildingRequest.getRemoteRepositories();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * null will be returned.
       *
       * @throws ParameterNotInstantiableException if the static methods cannot be invoked because the
       *     default value of a parameter cannot be determined.
       * @throws IllegalAccessException if the class isn't public or is nested inside a non-public
       *     class, preventing its methods from being accessible.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollectorRequest.java

                    .session(nonNull(session, "session cannot be null"))
                    .rootArtifact(nonNull(root, "root cannot be null"))
                    .build();
        }
    
        @Nonnull
        static DependencyCollectorRequest build(@Nonnull Session session, @Nonnull DependencyCoordinate root) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 11.7K bytes
    - Viewed (0)
Back to top