Coverage for /usr/local/lib/python3.12/site-packages/prefect/docker/__init__.py: 40%
11 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-12-05 10:48 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-12-05 10:48 +0000
1from typing import TYPE_CHECKING 1a
3if TYPE_CHECKING: 3 ↛ 4line 3 didn't jump to line 4 because the condition on line 3 was never true1a
4 from prefect.docker.docker_image import DockerImage
6__all__ = ["DockerImage"] 1a
8_public_api: dict[str, tuple[str, str]] = { 1a
9 "DockerImage": ("prefect.docker.docker_image", "DockerImage"),
10}
13def __getattr__(name: str) -> object: 1a
14 from importlib import import_module
16 if name in _public_api:
17 module, attr = _public_api[name]
18 return getattr(import_module(module), attr)
20 raise AttributeError(f"module {__name__!r} has no attribute {name!r}")