From ea2245444c8273b24fdbfcaa17a6fdf94278ecac Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 14 Jun 2025 22:15:18 +0200 Subject: [PATCH] Adjust typing of run(). Ref: https://github.com/ansible/ansible/pull/85326 --- plugins/plugin_utils/_action_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/plugin_utils/_action_module.py b/plugins/plugin_utils/_action_module.py index e94c1482..652dca0e 100644 --- a/plugins/plugin_utils/_action_module.py +++ b/plugins/plugin_utils/_action_module.py @@ -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 = {}