flytekit.extend.ImageConfig

class flytekit.extend.ImageConfig(default_image=None, images=None)[source]

ImageConfig holds available images which can be used at registration time. A default image can be specified along with optional additional images. Each image in the config must have a unique name.

Parameters
Return type

None

default_image

The default image to be used as a container for task serialization.

Type

str

images

Optional, additional images which can be used in task container definitions.

Type

List[Image]

__init__(default_image=None, images=None)
Parameters
Return type

None

Methods

__init__([default_image, images])

find_image(name)

Return an image, by name, if it exists.

Attributes