Skip to main content

FlyteAnnotation

A core object to add arbitrary annotations to flyte types.

Attributes

AttributeTypeDescription
datadictA dictionary of arbitrary metadata that is serialized into FlyteIDL type literals for custom presentation in FlyteAdmin.

Constructor

Signature

def FlyteAnnotation(self, data: Dict[str, Any]): ...

Parameters

NameTypeDescription
dataDict[str, Any]A dictionary containing arbitrary metadata to be serialized into flyteidl type literals.

Methods


data()

@property
def data(self): ...

Returns the underlying dictionary of metadata associated with this annotation.

Returns

TypeDescription
Dict[str, Any]The raw dictionary of annotation data intended for serialization and custom presentation in FlyteAdmin.