Still missing documentation about Output core component And actual Action/Targets etc ... in the process of migrating to the new engine
14 lines
322 B
Python
14 lines
322 B
Python
class Result:
|
|
def __init__(self, target, action):
|
|
self.target = target
|
|
self.action = action
|
|
self.status = 'pending'
|
|
self.exception = None
|
|
|
|
|
|
class Results(list):
|
|
def new(self, target, action):
|
|
result = Result(target, action)
|
|
self.append(result)
|
|
return result
|