flytekit.Blob

class flytekit.Blob(metadata, uri)[source]

This literal model is used to represent binary data offloaded to some storage location which is identifiable with a unique string. See flytekit.FlyteFile as an example.

Parameters
  • metadata (BlobMetadata) –

  • uri (Text) – The location of this blob

Methods

classmethod from_flyte_idl(proto)[source]
Parameters

proto (flyteidl.core.literals_pb2.Blob) –

Return type

Blob

short_string()
Return type

Text

to_flyte_idl()[source]
Return type

flyteidl.core.literals_pb2.Blob

verbose_string()
Return type

Text

Attributes

is_empty
metadata

BlobMetadata

Type

rtype

uri

Text

Type

rtype