flytekit.extend.Image#

class flytekit.extend.Image(name, fqn, tag)[source]#

Image is a structured wrapper for task container images used in object serialization.

Parameters
Return type

None

name#

A user-provided name to identify this image.

Type

str

fqn#

Fully qualified image name. This consists of #. a registry location #. a username #. a repository name For example: hostname/username/reponame

Type

str

tag#

Optional tag used to specify which version of an image to pull

Type

str

__init__(name, fqn, tag)#
Parameters
Return type

None

Methods

__init__(name, fqn, tag)

from_dict(kvs, *[, infer_missing])

from_json(s, *[, parse_float, parse_int, ...])

look_up_image_info(name, tag[, optional_tag])

Looks up the image tag from environment variable (should be set from the Dockerfile).

schema(*[, infer_missing, only, exclude, ...])

to_dict([encode_json])

to_json(*[, skipkeys, ensure_ascii, ...])

Attributes

dataclass_json_config

full

"

name

fqn

tag