Exemplo n.º 1
0
 def _load_profile(self, profile):
     ''' load profile from yaml file
     '''
     _profile = yaml.load(profile)
     if not _profile:
         raise RuntimeError('Empty profile')
     return _profile
Exemplo n.º 2
0
 def _load_profile(self, profile):
     ''' load profile from yaml file
     '''
     _profile = yaml.load(profile)
     if not _profile:
         raise RuntimeError('Empty profile')
     return _profile
Exemplo n.º 3
0
 def __init__(self, workflow):
     self.query = workflow.args[0]
     self.workflow = workflow
     self.templates = yaml.load(self.templates_yaml)
Exemplo n.º 4
0
 def __init__(self, workflow):
     self.query = workflow.args[0]
     self.workflow = workflow
     self.templates = yaml.load(self.templates_yaml)