From 3d3156fa773593cf324260e368bb79aa64d9e869 Mon Sep 17 00:00:00 2001 From: Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> Date: Fri, 26 May 2023 00:46:07 +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: