From 32a91a6d3ffaa3f3b7fbe9e912c09e52080d7a2d Mon Sep 17 00:00:00 2001 From: Marigold Date: Thu, 3 Oct 2024 12:03:01 +0200 Subject: [PATCH] wip --- etl/command.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etl/command.py b/etl/command.py index 52a9dcc3eca8..da087d7359fc 100644 --- a/etl/command.py +++ b/etl/command.py @@ -530,11 +530,10 @@ def _exec_step_job( with strictness_level(strict): try: execution_times[step_name] = timed_run(lambda: step.run()) + print(f"--- Finished {step_name} ({execution_times[step_name]:.1f}s)") except Exception as e: click.echo(f"{click.style('ERROR', fg='red')}: {e}") - print(f"--- Finished {step_name} ({execution_times[step_name]:.1f}s)") - def _write_execution_times(execution_times: Dict) -> None: # Write the recorded execution times to a hidden json file that contains the time it took to execute each step