Skip to content

Commit 0a920a0

Browse files
author
Alan Christie
committed
docs: Doc tweaks
1 parent 113d61b commit 0a920a0

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

workflow/workflow_abc.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ def get_running_workflow(
134134
# "running_user_api_token": "123456789",
135135
# "done": False,
136136
# "success": false,
137-
# "error": None,
138-
# "error_msg": None,
137+
# "error_num": 0,
138+
# "error_msg": "",
139139
# "workflow": {
140140
# "id": "workflow-000",
141141
# },
@@ -184,8 +184,8 @@ def get_running_workflow_step(
184184
# "name:": "step-1234",
185185
# "done": False,
186186
# "success": false,
187-
# "error": None,
188-
# "error_msg": None,
187+
# "error_num": 0,
188+
# "error_msg": "",
189189
# "variables": {
190190
# "x": 1,
191191
# "y": 2,
@@ -224,12 +224,7 @@ def get_instance(self, *, instance_id: str) -> tuple[dict[str, Any], int]:
224224
"""Get an Instance Record"""
225225
# For a RunningWorkflowStep Instance it should return:
226226
# {
227-
# "id": "instance-00000000-0000-0000-0000-000000000001",
228-
# "running_workflow_step": {
229-
# "id": "r-workflow-step-00000000-0000-0000-0000-000000000001",
230-
# "step": "step-1234",
231-
# },
232-
# [...],
227+
# "running_workflow_step_id": "r-workflow-step-00000000-0000-0000-0000-000000000001",
233228
# }
234229
# If not present an empty dictionary should be returned.
235230

0 commit comments

Comments
 (0)