File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,8 @@ class StopResult:
40
40
_SUCCESS_STOP_RESULT : StopResult = StopResult (error = 0 , error_msg = None )
41
41
42
42
43
- class WorkflowValidator :
44
- """The workflow validator. Typically used from teh context of the API
45
- to check workflow content prior to creation and execution.
46
- """
43
+ class WorkflowEngine :
44
+ """The workflow engine."""
47
45
48
46
def __init__ (
49
47
self ,
@@ -62,6 +60,11 @@ def handle_pod_message(
62
60
) -> HandlePodMessageResult :
63
61
"""Given a PodMessage, we use it to identify the Pod (Instance) exit code,
64
62
workflow and step and decide what to do next.
63
+
64
+ Only pod messages relating to workflow instances will be delivered to this method.
65
+ The Pod message has an 'instance' property that provides the UUID of
66
+ the instance that was run. This can be used to correlate the instance with the
67
+ running workflow step.
65
68
"""
66
69
assert pod_msg
67
70
You can’t perform that action at this time.
0 commit comments