From 20bb6b1f16c60a860b1f4367060c2a7e95f53f03 Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Wed, 26 Apr 2023 19:00:16 +0200 Subject: [PATCH] added typehints for the reload mixin --- plugins/module_utils/module.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/module_utils/module.py b/plugins/module_utils/module.py index 6327f98..1aed131 100644 --- a/plugins/module_utils/module.py +++ b/plugins/module_utils/module.py @@ -348,6 +348,9 @@ def installable(_class: Type[SystemdUnitModule]): class SystemdReloadMixin: + module: basic.AnsibleModule + unitfile: pathlib.Path + changed: bool def post(self): if not self.changed: return