Skip to content

Commit

Permalink
feat(cli/pipelines.py): added format to history timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
odarotto authored and tjzegmott committed Sep 11, 2024
1 parent 1edb6e3 commit 43753b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workflow/utils/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def render_pipeline(payload: Dict[str, Any], history: bool = False) -> Text:
elif k == history_field:
key_value_text = Text(f"{k}: \n", style="bright_blue")
for timestamp in v.keys():
key_value_text.append(f" {timestamp}:\n", style="bright_green")
rendered = render_timestamp(int(timestamp))
key_value_text.append(f" {rendered}:\n", style="bright_green")
for execution in v[timestamp].keys():
key_value_text.append(f"{' ' * 4}{execution}:\n")
for work in v[timestamp][execution]:
Expand Down

0 comments on commit 43753b6

Please sign in to comment.