added typehints for the reload mixin
Dieser Commit ist enthalten in:
Ursprung
c3404200a9
Commit
20bb6b1f16
|
@ -348,6 +348,9 @@ def installable(_class: Type[SystemdUnitModule]):
|
||||||
|
|
||||||
|
|
||||||
class SystemdReloadMixin:
|
class SystemdReloadMixin:
|
||||||
|
module: basic.AnsibleModule
|
||||||
|
unitfile: pathlib.Path
|
||||||
|
changed: bool
|
||||||
def post(self):
|
def post(self):
|
||||||
if not self.changed:
|
if not self.changed:
|
||||||
return
|
return
|
||||||
|
|
Laden…
In neuem Issue referenzieren