flytekit.Labels

class flytekit.Labels(values)[source]

Methods

classmethod from_flyte_idl(pb2_object)[source]
Parameters:

pb2_object (flyteidl.admin.common_pb2.Labels)

Return type:

Labels

serialize_to_string()
Return type:

str

short_string()
Return type:

Text

to_flyte_idl()[source]
Return type:

dict[Text, Text]

verbose_string()
Return type:

Text

Attributes

is_empty
values