Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 101 for parare (0.16 sec)

  1. cmd/utils.go

    func ErrorRespToObjectError(err error, params ...string) error {
    	if err == nil {
    		return nil
    	}
    
    	bucket := ""
    	object := ""
    	versionID := ""
    	if len(params) >= 1 {
    		bucket = params[0]
    	}
    	if len(params) >= 2 {
    		object = params[1]
    	}
    	if len(params) >= 3 {
    		versionID = params[2]
    	}
    
    	if xnet.IsNetworkOrHostDown(err, false) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py

    def get_client():
        from docs_src.query_params_str_validations.tutorial010 import app
    
        client = TestClient(app)
        return client
    
    
    def test_query_params_str_validations_no_query(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 200
        assert response.json() == {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. internal/event/target/postgresql.go

    	params := []string{args.ConnectionString}
    	if args.ConnectionString == "" {
    		params = []string{}
    		if !args.Host.IsEmpty() {
    			params = append(params, "host="+args.Host.String())
    		}
    		if args.Port != "" {
    			params = append(params, "port="+args.Port)
    		}
    		if args.Username != "" {
    			params = append(params, "username="+args.Username)
    		}
    		if args.Password != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    		}
    		if len(params) >= 2 {
    			apiErr.Object = decodeDirObject(params[1])
    		}
    		if len(params) >= 3 {
    			apiErr.VersionID = params[2]
    		}
    		return apiErr
    	case errMethodNotAllowed.Error():
    		apiErr := MethodNotAllowed{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		if len(params) >= 2 {
    			apiErr.Object = decodeDirObject(params[1])
    		}
    		return apiErr
    	case errFileNotFound.Error():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. fastapi/openapi/utils.py

                if parameters:
                    all_parameters = {
                        (param["in"], param["name"]): param for param in parameters
                    }
                    required_parameters = {
                        (param["in"], param["name"]): param
                        for param in parameters
                        if param.get("required")
                    }
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  6. cmd/warm-backend-gcs.go

    // Convert GCS errors to minio object layer errors.
    func gcsToObjectError(err error, params ...string) error {
    	if err == nil {
    		return nil
    	}
    
    	bucket := ""
    	object := ""
    	uploadID := ""
    	if len(params) >= 1 {
    		bucket = params[0]
    	}
    	if len(params) == 2 {
    		object = params[1]
    	}
    	if len(params) == 3 {
    		uploadID = params[2]
    	}
    
    	// in some cases just a plain error is being returned
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    func (s *storageRESTServer) ReadVersionHandlerWS(params *grid.MSS) (*FileInfo, *grid.RemoteErr) {
    	if !s.checkID(params.Get(storageRESTDiskID)) {
    		return nil, grid.NewRemoteErr(errDiskNotFound)
    	}
    	origvolume := params.Get(storageRESTOrigVolume)
    	volume := params.Get(storageRESTVolume)
    	filePath := params.Get(storageRESTFilePath)
    	versionID := params.Get(storageRESTVersionID)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py

    
    @needs_py310
    def test_query_params_str_validations_item_query_fixedquery(client: TestClient):
        response = client.get("/items/", params={"item-query": "fixedquery"})
        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "fixedquery",
        }
    
    
    @needs_py310
    def test_query_params_str_validations_q_fixedquery(client: TestClient):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py

    
    @needs_py310
    def test_query_params_str_validations_item_query_fixedquery(client: TestClient):
        response = client.get("/items/", params={"item-query": "fixedquery"})
        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "fixedquery",
        }
    
    
    @needs_py310
    def test_query_params_str_validations_q_fixedquery(client: TestClient):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. maven-api-impl/pom.xml

                  </templates>
                  <params>
                    <param>forcedIOModelVersion=1.2.0</param>
                    <param>packageModelV3=org.apache.maven.settings</param>
                    <param>packageModelV4=org.apache.maven.api.settings</param>
                    <param>packageToolV4=org.apache.maven.settings.v4</param>
                    <param>locationTracking=true</param>
                    <param>generateLocationClasses=true</param>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top