Skip to content

Commit

Permalink
Nicer print transform::name
Browse files Browse the repository at this point in the history
  • Loading branch information
Aukerman committed Jan 26, 2022
1 parent 754e2d1 commit fbee7ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyluna-common/luna/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ def cli_runner(cli_kwargs: dict, cli_params: List[tuple], cli_function: Callable
os.makedirs(output_dir, exist_ok=True)

# Nice little log break
print("\n" + "-"*35 + f' Running {cli_function.__name__} ' + "-" *35 + "\n")
print("\n" + "-"*35 + f' Running transform::{cli_function.__name__} ' + "-" *35 + "\n")

with CodeTimer(logger, name='transform'):
with CodeTimer(logger, name=f'transform::{cli_function.__name__}'):
result = cli_function(**kwargs)


Expand Down

0 comments on commit fbee7ed

Please sign in to comment.