flytekit.BlobType

class flytekit.BlobType(format, dimensionality)[source]

This type represents offloaded data and is typically used for things like files.

Parameters
  • format (Text) – A string describing the format of the underlying blob data.

  • dimensionality (int) – An integer from BlobType.BlobDimensionality enum

Methods

classmethod from_flyte_idl(proto)[source]
Parameters

proto (flyteidl.core.types_pb2.BlobType) –

Return type

BlobType

short_string()
Return type

Text

to_flyte_idl()[source]
Return type

flyteidl.core.types_pb2.BlobType

verbose_string()
Return type

Text

Attributes

dimensionality

An integer from BlobType.BlobDimensionality enum :rtype: int

format

A string describing the format of the underlying blob data. :rtype: Text

is_empty