summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/ugpio/__init__.py')
-rw-r--r--kvmd/plugins/ugpio/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvmd/plugins/ugpio/__init__.py b/kvmd/plugins/ugpio/__init__.py
index f63df5e4..ae9afd53 100644
--- a/kvmd/plugins/ugpio/__init__.py
+++ b/kvmd/plugins/ugpio/__init__.py
@@ -75,7 +75,9 @@ class BaseUserGpioDriver(BasePlugin):
return set(UserGpioModes.ALL)
@classmethod
- def get_pin_validator(cls) -> Callable[[Any], str]:
+ def get_pin_validator(cls) -> Callable[[Any], Any]:
+ # XXX: The returned value will be forcibly converted to a string
+ # in kvmd/apps/kvmd/ugpio.py, i.e. AFTER validation.
raise NotImplementedError
def register_input(self, pin: str, debounce: float) -> None: