flytekit.SourceCode#

class flytekit.SourceCode(link=None)[source]#

Link to source code used to define this task or workflow.

Methods

Parameters

link (Optional[str]) –

Return type

None

classmethod from_flyte_idl(pb2_object)[source]#
Parameters

pb2_object (flyteidl.admin.description_entity_pb2.SourceCode) –

Return type

flytekit.models.documentation.SourceCode

serialize_to_string()#
Return type

str

short_string()#
Return type

Text

to_flyte_idl()[source]#
verbose_string()#
Return type

Text

Attributes

is_empty
link: Optional[str] = None