def clear_pickles(self): """Remove all pickles.""" log.info( "Removing all context pickles. Use --save-pickles to recreate for specified contexts." ) for path in rmap.list_pickles("*.pmap", self.observatory, full_path=True): if os.path.exists(path): utils.remove(path, self.observatory)
def list_cached_pickles(self): """List the pickle paths in the local cache.""" _print_list(rmap.list_pickles("*", self.observatory, full_path=self.args.full_path))
def list_cached_pickles(self): """List the pickle paths in the local cache.""" _print_list( rmap.list_pickles("*", self.observatory, full_path=self.args.full_path))
def clear_pickles(self): """Remove all pickles.""" log.info("Removing all context pickles. Use --save-pickles to recreate for specified contexts.") for path in rmap.list_pickles("*.pmap", self.observatory, full_path=True): if os.path.exists(path): utils.remove(path, self.observatory)