Пример #1
0
 def __init__(self, resolved_node_definition):
     Command.__init__(self)
     self.resolved_node_definition = resolved_node_definition
     self.origin = self.resolved_node_definition['attributes']['origin']
     self.image = self.resolved_node_definition['attributes']['image']
     self.tag = self.resolved_node_definition['attributes']['tag']
     self.command = self.resolved_node_definition['attributes']['command']
     self.env = self.resolved_node_definition['attributes']['env']
Пример #2
0
 def __init__(self, resolved_node_definition):
     Command.__init__(self)
     self.resolved_node_definition = resolved_node_definition
     self.origin = self.resolved_node_definition['attributes']['origin']
     self.image = self.resolved_node_definition['attributes']['image']
     self.tag = self.resolved_node_definition['attributes']['tag']
     self.command = self.resolved_node_definition['attributes']['command']
     self.env = self.resolved_node_definition['attributes']['env']
Пример #3
0
 def __init__(self, resolved_node_definition):
     Command.__init__(self)
     self.resolved_node_definition = resolved_node_definition
     self.input_type_id = None
Пример #4
0
 def __init__(self, instance_data):
     Command.__init__(self)
     self.instance_data = instance_data
Пример #5
0
 def __init__(self, instance_data):
     Command.__init__(self)
     self.instance_data = instance_data
     self.instance_id = ast.literal_eval(self.instance_data['instance_id'])['Id']
Пример #6
0
 def __init__(self, resolved_node_definition):
     Command.__init__(self)
     self.resolved_node_definition = resolved_node_definition
Пример #7
0
 def __init__(self, resolved_node_definition):
     Command.__init__(self)
     self.resolved_node_definition = resolved_node_definition
Пример #8
0
 def __init__(self, instance_data):
     Command.__init__(self)
     self.instance_data = instance_data
Пример #9
0
 def __init__(self, instance_data):
     Command.__init__(self)
     self.instance_data = instance_data
     self.instance_id = ast.literal_eval(
         self.instance_data['instance_id'])['Id']