Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 914 for isValid (0.12 sec)

  1. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py

            x - x-men
            x - x-avengers
            """
        response = client.post("/items/", content=yaml_data)
        assert response.status_code == 422, response.text
        assert response.json() == {"detail": "Invalid YAML"}
    
    
    @needs_pydanticv1
    def test_post_invalid(client: TestClient):
        yaml_data = """
            name: Deadpoolio
            tags:
            - x-force
            - x-men
            - x-avengers
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

         * @return a new {@link DependencyCoordinates} object
         *
         * @throws IllegalArgumentException if {@code request} is null or
         *         if {@code request.getSession()} is null or invalid
         */
        @Nonnull
        DependencyCoordinates create(@Nonnull DependencyCoordinatesFactoryRequest request);
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

        DependencyResolutionResult getDependencyResolutionResult();
    
        // for each exception
        // - knowing what artifacts are missing
        // - project building exception
        // - invalid project model exception: list of markers
        // - xmlpull parser exception
        List<Throwable> getExceptions();
    
        MavenExecutionResult addException(Throwable e);
    
        boolean hasExceptions();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    				Code:           "InvalidArgument",
    				Description:    fmt.Sprintf("Invalid batch expire rule: %s", err),
    				HTTPStatusCode: http.StatusBadRequest,
    			}
    		}
    	}
    
    	if err := r.Retry.Validate(); err != nil {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    fmt.Sprintf("Invalid batch expire retry configuration: %s", err),
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp does not reject invalid Punycode.
          "xn--a",
          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. cmd/copy-part-range_test.go

    			t.Fatalf("expected: %d, got: %d", successCase.offsetBegin, start)
    		}
    
    		if start+length-1 != successCase.offsetEnd {
    			t.Fatalf("expected: %d, got: %d", successCase.offsetEnd, start+length-1)
    		}
    	}
    
    	// Test invalid range strings.
    	invalidRangeStrings := []string{
    		"bytes=8",
    		"bytes=5-2",
    		"bytes=+2-5",
    		"bytes=2-+5",
    		"bytes=2--5",
    		"bytes=-",
    		"2-5",
    		"bytes = 2-5",
    		"bytes=2 - 5",
    		"bytes=0-0,-1",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. cni/pkg/install/install.go

    	}
    
    	return copiedFiles, nil
    }
    
    // Run starts the installation process, verifies the configuration, then sleeps.
    // If the configuration is invalid, a full redeployal of config, binaries, and svcAcct credentials to the
    // shared node CNI dir will be attempted.
    //
    // If changes occurred but the config is still valid, only the binaries and (optionally) svcAcct credentials
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

          }
    
          this.pattern =
            pattern.toCanonicalHost() ?: throw IllegalArgumentException("Invalid pattern: $pattern")
    
          when {
            pin.startsWith("sha1/") -> {
              this.hashAlgorithm = "sha1"
              this.hash = pin.substring("sha1/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
            pin.startsWith("sha256/") -> {
              this.hashAlgorithm = "sha256"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. cmd/format-erasure_test.go

    	}
    }
    
    // Tests check format xl value.
    func TestCheckFormatErasureValue(t *testing.T) {
    	testCases := []struct {
    		format  *formatErasureV3
    		success bool
    	}{
    		// Invalid Erasure format version "2".
    		{
    			&formatErasureV3{
    				formatMetaV1: formatMetaV1{
    					Version: "2",
    					Format:  "Erasure",
    				},
    				Erasure: struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // occur from CEL expression parse errors, type check errors, runtime errors and invalid
      // or mis-configured policy definitions or bindings.
      //
      // A policy is invalid if spec.paramKind refers to a non-existent Kind.
      // A binding is invalid if spec.paramRef.name refers to a non-existent resource.
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top