Should be

    def create_archive(
        data, sli_manifest, dates, datetimes, keep_csv=False, csv_file=None
    ):