1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-09 05:27:17 +00:00

Improve typing.

This commit is contained in:
Felix Fontein 2025-11-30 12:04:38 +01:00
parent 93cd3755a0
commit 023fed4361

View file

@ -84,7 +84,7 @@ class CmdRunner:
self,
module: AnsibleModule,
command,
arg_formats: Mapping[str, Callable | cmd_runner_fmt._ArgFormat] | None = None,
arg_formats: Mapping[str, Callable[[t.Any], Sequence[t.Any]] | cmd_runner_fmt._ArgFormat] | None = None,
default_args_order: str | Sequence[str] = (),
check_rc: bool = False,
force_lang: str = "C",