From 45ff25433630d654a8a762ad071a1d91741a68a2 Mon Sep 17 00:00:00 2001 From: Lorenzo Drudi Date: Fri, 10 May 2024 10:50:34 +0200 Subject: [PATCH] Code refactor. --- openai_cost_logger/openai_cost_logger_viz.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openai_cost_logger/openai_cost_logger_viz.py b/openai_cost_logger/openai_cost_logger_viz.py index 39092a3..156c2fe 100644 --- a/openai_cost_logger/openai_cost_logger_viz.py +++ b/openai_cost_logger/openai_cost_logger_viz.py @@ -121,6 +121,7 @@ def plot_cost_by_day(path: str = DEFAULT_LOG_PATH, last_n_days: int = None) -> N last_n_days=last_n_days ) + @staticmethod def print_experiment_cost(experiment: str, path: str = DEFAULT_LOG_PATH) -> None: """Print the cost of the specified experiment. The name is case-insensitive.