Skip to content

Commit 07eeb3f

Browse files
committed
updated docstring
1 parent 4d1f438 commit 07eeb3f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nodescraper/cli/helper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,13 +479,15 @@ def dump_to_csv(all_rows: list, filename: str, fieldnames: list[str], logger: lo
479479
logger.info("Data written to csv file: %s", filename)
480480

481481

482-
def generate_summary(search_path: str, output_path: str, logger: logging.Logger):
482+
def generate_summary(search_path: str, output_path: str | None, logger: logging.Logger):
483483
"""Concatenate csv files into 1 summary csv file
484484
485485
Args:
486-
search_path (str): base path to look for csv files
486+
search_path (str): Path for previous runs
487+
output_path (str | None): Path for new summary csv file
487488
logger (logging.Logger): instance of logger
488489
"""
490+
489491
fieldnames = ["nodename", "plugin", "status", "timestamp", "message"]
490492
all_rows = []
491493

0 commit comments

Comments
 (0)