From 2301141b44949f8f2d1ae94f1d634ee181e1c54b Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 2 Apr 2020 18:21:45 +0200 Subject: [PATCH] add missing keys() method --- owrx/command.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/owrx/command.py b/owrx/command.py index 9cf0327..871e414 100644 --- a/owrx/command.py +++ b/owrx/command.py @@ -33,6 +33,9 @@ class CommandMapper(object): self.static = static return self + def keys(self): + return self.mappings.keys() + class CommandMapping(ABC): @abstractmethod