flytekit.models.admin.workflow
flytekit.models.admin.workflow
Directory
Classes
flytekit.models.admin.workflow.Documentation
DescriptionEntity contains detailed description for the task/workflow/launch plan.
Documentation could provide insight into the algorithms, business use case, etc.
def Documentation (
short_description: typing. Optional[str],
long_description: typing. Optional[flytekit. models. documentation. Description],
source_code: typing. Optional[flytekit. models. documentation. SourceCode],
):
Parameter
Type
short_description
typing.Optional[str]
long_description
typing.Optional[flytekit.models.documentation.Description]
source_code
typing.Optional[flytekit.models.documentation.SourceCode]
Methods
from_flyte_idl()
def from_flyte_idl (
pb2_object: flyteidl. admin. description_entity_pb2. DescriptionEntity,
):
Parameter
Type
pb2_object
flyteidl.admin.description_entity_pb2.DescriptionEntity
serialize_to_string()
def serialize_to_string ()
short_string()
to_flyte_idl()
verbose_string()
Properties
Property
Type
Description
is_empty
flytekit.models.admin.workflow.Workflow
def Workflow (
id,
closure,
):
Parameter
Type
id
closure
Methods
from_flyte_idl()
def from_flyte_idl (
pb2_object,
):
Parameter
Type
pb2_object
serialize_to_string()
def serialize_to_string ()
short_string()
to_flyte_idl()
verbose_string()
Properties
Property
Type
Description
closure
id
is_empty
flytekit.models.admin.workflow.WorkflowClosure
def WorkflowClosure (
compiled_workflow,
):
Parameter
Type
compiled_workflow
Methods
from_flyte_idl()
def from_flyte_idl (
p,
):
serialize_to_string()
def serialize_to_string ()
short_string()
to_flyte_idl()
verbose_string()
Properties
Property
Type
Description
compiled_workflow
is_empty
flytekit.models.admin.workflow.WorkflowSpec
def WorkflowSpec (
template: flytekit. models. core. workflow. WorkflowTemplate,
sub_workflows: typing. List[flytekit. models. core. workflow. WorkflowTemplate],
docs: typing. Optional[flytekit. models. documentation. Documentation],
):
This object fully encapsulates the specification of a workflow
Parameter
Type
template
flytekit.models.core.workflow.WorkflowTemplate
sub_workflows
typing.List[flytekit.models.core.workflow.WorkflowTemplate]
docs
typing.Optional[flytekit.models.documentation.Documentation]
Methods
from_flyte_idl()
def from_flyte_idl (
pb2_object,
):
Parameter
Type
pb2_object
serialize_to_string()
def serialize_to_string ()
short_string()
to_flyte_idl()
verbose_string()
Properties
Property
Type
Description
docs
is_empty
sub_workflows
template