@@ -380,11 +380,11 @@ def workflow_history(
380380 mode : str ,
381381 reverse_order : bool = False ,
382382) -> None :
383- from simpleflow .swf .mapper .models .history .base import History as BaseHistory
384-
385383 if ctx .parent .params ["format" ] != "json" or not ctx .parent .params ["header" ]:
386384 raise NotImplementedError ("Only pretty JSON mode is implemented" )
387385
386+ from simpleflow .swf .mapper .models .history .base import History as BaseHistory
387+
388388 ex = helpers .get_workflow_execution (domain , workflow_id , run_id )
389389 events = ex .history_events (
390390 callback = get_progression_callback ("events" ),
@@ -413,8 +413,11 @@ def workflow_history(
413413 "activities" : history .activities ,
414414 "child_workflows" : history .child_workflows ,
415415 "markers" : history .markers ,
416- "signals" : history .signals ,
417416 "timers" : history .timers ,
417+ "signals" : history .signals ,
418+ "signal_lists" : history .signal_lists ,
419+ "external_workflows_signaling" : history .external_workflows_signaling ,
420+ "signaled_workflows" : history .signaled_workflows ,
418421 }
419422 else :
420423 raise NotImplementedError
0 commit comments