FlyteAnnotation
A core object to add arbitrary annotations to flyte types.
Attributes
| Attribute | Type | Description |
|---|---|---|
| data | Dict[str, Any] | A dictionary of arbitrary metadata that is serialized into flyteidl type literals for retrieval from flyteadmin. |
Constructor
Signature
def FlyteAnnotation(self, data: Dict[str, Any]): ...
Parameters
| Name | Type | Description |
|---|---|---|
| data | Dict[str, Any] | A dictionary containing the annotation data to be serialized into flyteidl type literals. |
Methods
data()
@property
def data(self): ...
Retrieves the underlying dictionary of metadata associated with this annotation.
Returns
| Type | Description |
|---|---|
Dict[str, Any] | The raw dictionary of annotation data used for custom presentation in FlyteAdmin. |