Adjust typing of run().

Ref: https://github.com/ansible/ansible/pull/85326
This commit is contained in:
Felix Fontein
2025-06-14 22:15:18 +02:00
parent 58bde04672
commit ea2245444c

View File

@@ -227,7 +227,7 @@ class ActionModuleBase(ActionBase, metaclass=abc.ABCMeta):
module.fail_json(msg="Not implemented.")
def run(
self, tmp: None = None, task_vars: dict[str, t.Any] | None = None
self, tmp: str | None = None, task_vars: dict[str, t.Any] | None = None
) -> dict[str, t.Any]:
if task_vars is None:
task_vars = {}