Skip to content

Commit

Permalink
Remove unused TypedDict classes for container inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak committed Jul 6, 2023
1 parent dc1d170 commit b187baf
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions pytest_container/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b187baf

Please sign in to comment.