def correct_data(cls, root_path, reflesh): check_result, message = cls.check_download_page(root_path) if check_result is False: return message, None json = FileFunction.get_param_json(root_path, cls.COMPANY_NAME) merged_pkl_path = KyudenService.correct_data(json['url'], root_path, reflesh) count = QueryService.count(root_path, cls.COMPANY_NAME) return count, merged_pkl_path
def count(cls, root_path): return QueryService.count(root_path, cls.COMPANY_NAME)
def correct_data(cls, root_path, merged_pkl_path_list): JapanService.correct_data(root_path, merged_pkl_path_list) count = QueryService.count(root_path, cls.COMPANY_NAME) return count