예제 #1
0
 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
예제 #2
0
 def drop_bar_repo(self, typ: SeType, freq: SeFreq):
     DB_CLIENT.drop(typ.repo_name(freq))