Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/p/y/python-saharaclient-0.7.0/saharaclient/api/clusters.py   python-saharaclient(Download)
    def get(self, cluster_id):
        return self._get('/clusters/%s' % cluster_id, 'cluster')
 
    def delete(self, cluster_id):
        self._delete('/clusters/%s' % cluster_id)

src/p/y/python-saharaclient-0.7.0/saharaclient/api/node_group_templates.py   python-saharaclient(Download)
    def get(self, ng_template_id):
        return self._get('/node-group-templates/%s' % ng_template_id,
                         'node_group_template')
 
    def delete(self, ng_template_id):

src/p/y/python-saharaclient-0.7.0/saharaclient/api/cluster_templates.py   python-saharaclient(Download)
    def get(self, cluster_template_id):
        return self._get('/cluster-templates/%s' % cluster_template_id,
                         'cluster_template')
 
    def delete(self, cluster_template_id):

src/p/y/python-saharaclient-0.7.0/saharaclient/api/jobs.py   python-saharaclient(Download)
    def get(self, job_id):
        return self._get('/jobs/%s' % job_id, 'job')
 
    def get_configs(self, job_type):
        return self._get('/jobs/config-hints/%s' % job_type)

src/p/y/python-saharaclient-0.7.0/saharaclient/api/job_binaries.py   python-saharaclient(Download)
    def get(self, job_binary_id):
        return self._get('/job-binaries/%s' % job_binary_id, 'job_binary')
 
    def delete(self, job_binary_id):
        self._delete('/job-binaries/%s' % job_binary_id)

src/p/y/python-saharaclient-0.7.0/saharaclient/api/data_sources.py   python-saharaclient(Download)
    def get(self, data_source_id):
        return self._get('/data-sources/%s' % data_source_id, 'data_source')
 
    def delete(self, data_source_id):
        self._delete('/data-sources/%s' % data_source_id)

src/p/y/python-saharaclient-0.7.0/saharaclient/api/job_binary_internals.py   python-saharaclient(Download)
    def get(self, job_binary_id):
        return self._get('/job-binary-internals/%s' % job_binary_id,
                         'job_binary_internal')
 
    def delete(self, job_binary_id):

src/p/y/python-saharaclient-0.7.0/saharaclient/api/job_executions.py   python-saharaclient(Download)
    def get(self, obj_id):
        return self._get('/job-executions/%s' % obj_id, 'job_execution')
 
    def delete(self, obj_id):
        self._delete('/job-executions/%s' % obj_id)

src/p/y/python-saharaclient-0.7.0/saharaclient/api/images.py   python-saharaclient(Download)
    def get(self, id):
        return self._get('/images/%s' % id, 'image')
 
    def unregister_image(self, image_id):
        self._delete('/images/%s' % image_id)

src/p/y/python-saharaclient-0.7.0/saharaclient/api/plugins.py   python-saharaclient(Download)
    def get(self, plugin_name):
        return self._get('/plugins/%s' % plugin_name, 'plugin')
 
    def get_version_details(self, plugin_name, hadoop_version):
        return self._get('/plugins/%s/%s' % (plugin_name, hadoop_version),