luminoso_api/v4_client.py
def upload(self, path, docs, **params):
        """
        A convenience method for uploading a set of dictionaries representing
        documents. You still need to specify the URL to upload to, which will
        look like ROOT_URL/projects/myaccount/project_id/docs.
        """
        json_data = json.dumps(list(docs))
        return self.post_data(path, json_data, 'application/json', **params)
def upload(self, path, docs, **params):
        """
        A convenience method for uploading a set of dictionaries representing
        documents. You still need to specify the URL to upload to, which will
        look like ROOT_URL/projects/myaccount/project_id/docs.
        """
        json_data = json.dumps(list(docs))
        return self.post_data(path, json_data, 'application/json', **params)
def upload ( self , path , docs , * * params ) : json_data = json . dumps ( list ( docs ) ) return self . post_data ( path , json_data , 'application/json' , * * params )
A convenience method for uploading a set of dictionaries representing
        documents. You still need to specify the URL to upload to, which will
        look like ROOT_URL/projects/myaccount/project_id/docs.
A convenience method for uploading a set of dictionaries representing documents . You still need to specify the URL to upload to which will look like ROOT_URL / projects / myaccount / project_id / docs .