Skip to content

Commit

Permalink
fix: datavisualization sublclasses constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebits committed Jun 28, 2024
1 parent 5de7379 commit c2064a5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def __init__(self, dataframes_paths, store_path=gettempdir(), base_name=None, un
base_name (str, optional): Base name for saved visualizations. Defaults to None.
unify_child_daemon_metrics (bool, optional): Whether to unify child daemon metrics. Defaults to False.
"""
super().__init__(dataframes, store_path, base_name)
super().__init__(dataframes_paths, store_path, base_name)
self._validate_dataframe()
if unify_child_daemon_metrics:
self.dataframe = self.dataframe.reset_index(drop=False)
Expand Down Expand Up @@ -341,7 +341,7 @@ def __init__(self, dataframes_paths, daemon, store_path=gettempdir(), base_name=
base_name (str, optional): Base name for saved visualizations. Defaults to None.
"""
self.daemon = daemon
super().__init__(dataframes, store_path, base_name)
super().__init__(dataframes_paths, store_path, base_name)
self.plots_data = self._load_plot_data()
self.expected_fields = []
for graph in self.plots_data.values():
Expand Down Expand Up @@ -414,7 +414,7 @@ def __init__(self, dataframes_paths, store_path=gettempdir(), base_name=None):
store_path (str, optional): Path to store visualizations. Defaults to system temp directory.
base_name (str, optional): Base name for saved visualizations. Defaults to None.
"""
super().__init__(dataframes, 'logcollector', store_path, base_name)
super().__init__(dataframes_paths, 'logcollector', store_path, base_name)

def _get_expected_fields(self):
"""Get the list of expected fields for logcollector statistics.
Expand Down

0 comments on commit c2064a5

Please sign in to comment.