MCPcopy
hub / github.com/apache/caldera / Result

Class Result

app/objects/secondclass/c_result.py:26–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26class Result(BaseObject):
27
28 schema = ResultSchema()
29
30 def __init__(self, id, output, stderr='', exit_code='', pid=0, status=0, agent_reported_time=None):
31 super().__init__()
32 self.id = id
33 self.output = output
34 self.stderr = stderr
35 self.exit_code = exit_code
36 self.pid = pid
37 self.status = status
38 self.agent_reported_time = agent_reported_time

Callers 5

handle_heartbeatMethod · 0.90
_make_resultFunction · 0.90
build_resultMethod · 0.85

Calls 1

ResultSchemaClass · 0.85

Tested by 3

_make_resultFunction · 0.72