From 93e386c51f94e09e578a0e7c303668203d978481 Mon Sep 17 00:00:00 2001 From: Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> Date: Sun, 7 May 2023 03:38:19 +0530 Subject: [PATCH] chore: typing fixes - PodsManager.stats Signed-off-by: Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> --- podman/domain/pods_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman/domain/pods_manager.py b/podman/domain/pods_manager.py index 7f7dfb11..3986e357 100644 --- a/podman/domain/pods_manager.py +++ b/podman/domain/pods_manager.py @@ -128,7 +128,7 @@ def remove(self, pod_id: Union[Pod, str], force: Optional[bool] = None) -> None: response = self.client.delete(f"/pods/{pod_id}", params={"force": force}) response.raise_for_status() - def stats(self, **kwargs) -> Union[Dict[str, Any], Iterator[Dict[str, Any]]]: + def stats(self, **kwargs) -> Union[List[Dict[str, Any]], Iterator[List[Dict[str, Any]]]]: """Resource usage statistics for the containers in pods. Keyword Args: