def refresh_steps(self, dictionary): l = [] for f in dictionary[FEATURES]: l += cache.get(f) dictionary[STEPS] = list(set(l))
def get_steps(self, filename): if cache.has(filename): return cache.get(filename) return self.read_steps(filename)