def values(self): if self.timeout is None: return six.values(self) t0 = time.time() return [ v for (k, v) in six.iteritems(self.__dict__) if t0 - self._timetable[k] < self.timeout ]
def values(self): if self.timeout is None: return six.values(self) t0=time.time() return [v for (k,v) in six.iteritems(self.__dict__) if t0-self._timetable[k] < self.timeout]