def confirm_and_drop(self): if self.__confirm_drop(): DB_CLIENT.drop(self.repo_name()) print('{} dropped'.format(self.repo_name())) return True else: print("操作已取消。") return False
def drop_bar_repo(self, typ: SeType, freq: SeFreq): DB_CLIENT.drop(typ.repo_name(freq))