From b187baf17698115b1eb14e0941e56d6337dd9c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Thu, 6 Jul 2023 12:00:17 +0200 Subject: [PATCH] Remove unused TypedDict classes for container inspect --- pytest_container/inspect.py | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/pytest_container/inspect.py b/pytest_container/inspect.py index cee7205..b617655 100644 --- a/pytest_container/inspect.py +++ b/pytest_container/inspect.py @@ -98,33 +98,6 @@ class ContainerInspectHealthCheck(TypedDict, total=False): Retries: int -class _PodmanImageInspect(TypedDict, total=False): - """Object created by json loading the output of :command:`podman inspect - $img_id`. - - """ - - Healthcheck: ContainerInspectHealthCheck - - -class _DockerInspectConfig(TypedDict, total=False): - """Object created by json loading the output of :command:`docker inspect - $img_id | jq '.[0]["Config"]'`. - - """ - - Healthcheck: ContainerInspectHealthCheck - - -class _DockerImageInspect(TypedDict, total=False): - """Object created by json loading the output of :command:`docker inspect - $img_id`. - - """ - - Config: _DockerInspectConfig - - @enum.unique class ContainerHealth(enum.Enum): """Possible states of a container's health using the `HEALTHCHECK