Skip to content

Commit

Permalink
Remove | syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Sella <[email protected]>
  • Loading branch information
inknos committed Dec 3, 2024
1 parent 1eac5a1 commit f0dbb0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion podman/domain/pods_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ 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) -> builtin_list[dict[str, Any]] | [builtin_list[dict[str, Any]]]:
def stats(
self, **kwargs
) -> Union[builtin_list[dict[str, Any]], [builtin_list[dict[str, Any]]]]:
"""Resource usage statistics for the containers in pods.
Keyword Args:
Expand Down

0 comments on commit f0dbb0b

Please sign in to comment.