Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 710 for missing (0.61 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial001.py

        response = client.post("/files/")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["body", "file"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    def test_post_body_json(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    	for _, m := range metaArr {
    		if m.IsValid() {
    			validMeta = m
    			break
    		}
    	}
    
    	if !validMeta.IsValid() {
    		// validMeta is invalid because all xl.meta is missing apparently
    		// we should figure out if dataDirs are also missing > dataBlocks.
    		dataBlocks := (len(metaArr) + 1) / 2
    		if notFoundPartsErrs > dataBlocks {
    			// Not using parity to ensure that we do not delete
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	policyName := mss.Get(peerRESTPolicy)
    	if policyName == "" {
    		return np, grid.NewRemoteErr(errors.New("policyName is missing"))
    	}
    
    	if err := globalIAMSys.DeletePolicy(context.Background(), policyName, false); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return np, nerr
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 53.6K bytes
    - Viewed (0)
  4. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc admin user info minio1 foobar
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing on 'minio1', exiting.."
    	exit_1
    fi
    
    ./mc admin user info minio2 foobar
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing on 'minio2', exiting.."
    	exit_1
    fi
    
    ./mc admin user info minio3 foobar
    if [ $? -ne 0 ]; then
    	echo "policy mapping missing on 'minio3', exiting.."
    	exit_1
    fi
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

                    "input": {},
                    "msg": "Field required",
                    "type": "missing",
                },
                {
                    "loc": ["body", "price"],
                    "input": {},
                    "msg": "Field required",
                    "type": "missing",
                },
            ]
        }
    
    
    def test_put_images_not_list(client: TestClient):
        response = client.put(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. tests/test_validation_error_context.py

        errors = [{"type": "missing", "loc": ("body", "name"), "msg": "Field required"}]
        exc = RequestValidationError(errors, endpoint_ctx={"path": "GET /api/test"})
        error_str = str(exc)
        assert "Endpoint: GET /api/test" in error_str
        assert 'File "' not in error_str
    
    
    def test_validation_error_with_no_context():
        errors = [{"type": "missing", "loc": ("body", "name"), "msg": "Field required"}]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 06 12:21:57 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

    import java.nio.charset.StandardCharsets;
    
    import org.junit.Test;
    
    /**
     * Test class for resource loading functionality in Suggester class.
     *
     * Tests cover:
     * - Successful resource loading
     * - Missing resource error handling
     * - Resource content validation
     * - InputStream null safety in try-with-resources
     */
    public class SuggesterResourceLoadingTest {
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. tests/test_request_params/test_body/test_optional_str.py

        assert response.json() == {
            "detail": [
                {
                    "input": None,
                    "loc": ["body"],
                    "msg": "Field required",
                    "type": "missing",
                },
            ],
        }
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_missing_empty_dict(path: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            Handler handler = new Handler();
            Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url);
    
            // getInputStream should try to auto-connect (and fail due to missing project ID)
            try {
                conn.getInputStream();
                fail("Should throw IOException");
            } catch (IOException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

                    .hasProblemMessage(
                            "'dependencies.dependency.version' for groupId='org.apache.maven.its', artifactId='a', type='jar' is missing");
            ProjectBuildingResultWithLocationAssert.assertThat(e.getResults().get(0))
                    .hasLocation(5, 9);
        }
    
        @Test
        void testResolveDependencies() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top