From 41503ab5ae293b315fee9cbda35f74c8e3a7a212 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 10 Feb 2019 13:01:52 +0000 Subject: [PATCH] Add TimersContext.find_all --- src/Timers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Timers.py b/src/Timers.py index b45d2f88..53865181 100644 --- a/src/Timers.py +++ b/src/Timers.py @@ -126,3 +126,5 @@ class TimersContext(object): **kwargs): self._parent._add(None, name, delay, next_due, None, True, kwargs) + def find_all(self, name: str) -> typing.List[Timer]: + return self._parent.find_all(name)