flytekit.Labels#

class flytekit.Labels(values)[source]#

Label 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.Labels) –

Return type

Labels

short_string()#
Return type

Text

to_flyte_idl()[source]#
Return type

dict[Text, Text]

verbose_string()#
Return type

Text

Attributes

is_empty#
values#