in pygenie/client.py [0:0]
def __init__(self, conf=None):
self.conf = conf or GenieConf()
self.host = self.conf.genie.url
self.version = self.conf.genie.version
self.path_application = self.host \
+ self.conf.genie.get('application_url', '/api/v3/applications')
self.path_cluster = self.host \
+ self.conf.genie.get('cluster_url', '/api/v3/clusters')
self.path_command = self.host \
+ self.conf.genie.get('command_url', '/api/v3/commands')
self.path_job = self.host \
+ self.conf.genie.get('job_url', '/api/v3/jobs')