Flytekit File TypeΒΆ

This list also contains a bunch of pre-formatted flytekit.types.file.FlyteFile types.

FlyteFile(path, downloader, remote_path)

HDF5EncodedFile

This can be used to denote that the returned file is of type hdf5 and can be received by other tasks that accept an hdf5 format.

HTMLPage

Can be used to receive or return an HTMLPage.

JoblibSerializedFile

This File represents a file that was serialized using joblib.dump method can be loaded back using joblib.load.

JPEGImageFile

Can be used to receive or return an JPEGImage.

PDFFile

Can be used to receive or return an PDFFile.

PNGImageFile

Can be used to receive or return an PNGImage.

PythonPickledFile

This type can be used when a serialized Python pickled object is returned and shared between tasks.

PythonNotebook

This type is used to identify a Python notebook file.

SVGImageFile

Can be used to receive or return an SVGImage.