[PR #11283/ef632145 backport][stable-12] Add more module_utils typing (#11289)

Add more module_utils typing (#11283)

Add more module_utils typing.

(cherry picked from commit ef632145e9)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2025-12-17 21:24:55 +01:00
committed by GitHub
parent 8590184232
commit 21aa086ca6
12 changed files with 340 additions and 274 deletions

View File

@@ -9,7 +9,7 @@ import typing as t
class ModuleHelperException(Exception):
def __init__(self, msg: str, update_output: dict[str, t.Any] | None = None, *args, **kwargs):
def __init__(self, msg: str, update_output: dict[str, t.Any] | None = None, *args, **kwargs) -> None:
self.msg: str = msg or f"Module failed with exception: {self}"
if update_output is None:
update_output = {}