Back to Prefect

docker

docs/v3/api-ref/python/prefect-testing-docker.mdx

3.6.30.dev3400 B
Original Source

prefect.testing.docker

Functions

capture_builders <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/testing/docker.py#L9" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
capture_builders() -> Generator[list[ImageBuilder], None, None]

Captures any instances of ImageBuilder created while this context is active