flytekit.SourceCode

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

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

Methods

Parameters:

link (str | None)

classmethod from_flyte_idl(pb2_object)[source]
Parameters:

pb2_object (SourceCode)

Return type:

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: str | None = None