diff --git a/src/jukebox/jukebox/multitimer.py b/src/jukebox/jukebox/multitimer.py index 455b8ba75..b03aae83f 100644 --- a/src/jukebox/jukebox/multitimer.py +++ b/src/jukebox/jukebox/multitimer.py @@ -249,6 +249,7 @@ def start(self, iterations=None, wait_seconds_per_iteration=None): self._function = self._callee(*self.class_args, iterations=self._iterations, **self.class_kwargs) super().start(wait_seconds_per_iteration) + @plugin.tag def get_state(self): return {'enabled': self.is_alive(), 'wait_seconds_per_iteration': self.get_timeout(),