from pathlib import Path from typing import TypedDict class DockerPortBinding(TypedDict): published: int host: str | None class DockerContainer(TypedDict): name: str ports: list[int] bindings: list[DockerPortBinding] folder: Path