flytekit.Annotations#

class flytekit.Annotations(values)[source]#

Annotation values to be applied to a workflow execution resource.

Parameters

values (dict[Text, Text]) –

Methods

classmethod from_flyte_idl(pb2_object)[source]#
Parameters

pb2_object (flyteidl.admin.common_pb2.Annotations) –

Return type

Annotations

serialize_to_string()#
Return type

str

short_string()#
Return type

Text

to_flyte_idl()[source]#
Return type

_common_pb2.Annotations

verbose_string()#
Return type

Text

Attributes

is_empty
values