Data input/output#

This section covers how to manage data input and output in Union.

FlyteFile

Use FlyteFile to easily pass files across tasks.

FlyteDirectory

Use FlyteDirectory to easily pass directories across tasks.

Downloading with FlyteFile and FlyteDirectory

Details on how files and directories or downloaded with FlyteFile and FlyteDirectory.

StructuredDataset

Details on how StructuredDatasetis used as a general dataframe type.

Dataclass

Details on how to uses dataclasses across tasks.

Pydantic BaseModel

Details on how to use pydantic models across tasks.

Accessing Attributes

Details on how to directly access attributes on output promises for lists, dictionaries, dataclasses, and more.

Enums

Details on how use Enums across tasks.

Pickle

Details on how use pickled objects across tasks for generalized typing of complex objects.

Pytorch

Details on how use torch tensors and models across tasks.

Tensorflow

Details on how use tensorflow tensors and models across tasks.