mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Add typing information, 2/n (#1178)
* Add typing to Docker Stack modules. Clean modules up. * Add typing to Docker Swarm modules. * Add typing to unit tests. * Add more typing. * Add ignore.txt entries.
This commit is contained in:
@@ -971,7 +971,7 @@ class BaseComposeManager(DockerBaseClass):
|
||||
stderr: str | bytes,
|
||||
ignore_service_pull_events: bool = False,
|
||||
ignore_build_events: bool = False,
|
||||
):
|
||||
) -> None:
|
||||
result["changed"] = result.get("changed", False) or has_changes(
|
||||
events,
|
||||
ignore_service_pull_events=ignore_service_pull_events,
|
||||
@@ -989,7 +989,7 @@ class BaseComposeManager(DockerBaseClass):
|
||||
stdout: str | bytes,
|
||||
stderr: bytes,
|
||||
rc: int,
|
||||
):
|
||||
) -> bool:
|
||||
return update_failed(
|
||||
result,
|
||||
events,
|
||||
|
||||
Reference in New Issue
Block a user