Skip to content

Commit 2b27da4

Browse files
committed
feat: a bit more stats
Signed-off-by: Yves Bastide <yves@botify.com>
1 parent 7133493 commit 2b27da4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

simpleflow/swf/stats/pretty.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ def list_details(
238238
"Workflow Version",
239239
"Run ID",
240240
"Status",
241-
"Task List",
242241
"Child Policy",
243242
"Close Status",
244243
"Start Timestamp",
@@ -248,6 +247,9 @@ def list_details(
248247
"Input",
249248
"Tags",
250249
"Decision Tasks Timeout",
250+
"Parent Workflow ID",
251+
"Parent Run ID",
252+
"Cancel Requested",
251253
)
252254
rows = [
253255
(
@@ -256,7 +258,6 @@ def list_details(
256258
execution.workflow_type.version,
257259
execution.run_id,
258260
execution.status,
259-
execution.task_list,
260261
execution.child_policy,
261262
execution.close_status,
262263
execution.start_timestamp,
@@ -266,6 +267,9 @@ def list_details(
266267
execution.input,
267268
execution.tag_list,
268269
execution.decision_tasks_timeout,
270+
execution.parent.get("workflowId"),
271+
execution.parent.get("runId"),
272+
execution.cancel_requested,
269273
)
270274
for execution in workflow_executions
271275
]

0 commit comments

Comments
 (0)