@@ -402,11 +402,11 @@ def workflow_history(
402402 output_format : str ,
403403 reverse_order : bool = False ,
404404) -> None :
405- from simpleflow .swf .mapper .models .history .base import History as BaseHistory
406-
407405 if ctx .parent .params ["format" ] != "json" or not ctx .parent .params ["header" ]:
408406 raise NotImplementedError ("Only pretty JSON mode is implemented" )
409407
408+ from simpleflow .swf .mapper .models .history .base import History as BaseHistory
409+
410410 ex = helpers .get_workflow_execution (domain , workflow_id , run_id )
411411 events = ex .history_events (
412412 callback = get_progression_callback ("events" ),
@@ -435,8 +435,11 @@ def workflow_history(
435435 "activities" : history .activities ,
436436 "child_workflows" : history .child_workflows ,
437437 "markers" : history .markers ,
438- "signals" : history .signals ,
439438 "timers" : history .timers ,
439+ "signals" : history .signals ,
440+ "signal_lists" : history .signal_lists ,
441+ "external_workflows_signaling" : history .external_workflows_signaling ,
442+ "signaled_workflows" : history .signaled_workflows ,
440443 }
441444 else :
442445 raise NotImplementedError
0 commit comments