def main()

in read_stall_retry/max_latency_per_pod.py [0:0]


def main():
    """Main function to execute the script."""
    parser = argparse.ArgumentParser(description="Calculate max Overall Latency from CSV files in GCS.")
    parser.add_argument("--path", required=True, help="GCS path to the directory containing CSV files (e.g., gs://bucket/path/to/directory/)")
    args = parser.parse_args()

    if not args.path.endswith('/'):
        args.path = args.path + '/'

    process_files(args.path)