1.16.14

flytekit.models.core.compiler

Directory

Classes

Class Description
CompiledTask
CompiledWorkflow
CompiledWorkflowClosure
ConnectionSet

flytekit.models.core.compiler.CompiledTask

class CompiledTask(
    template,
)
Parameter Type Description
template

Properties

Property Type Description
is_empty None
template None :rtype: TODO

Methods

Method Description
from_flyte_idl()
serialize_to_string()
short_string() :rtype: Text.
to_flyte_idl() :rtype: flyteidl.

from_flyte_idl()

def from_flyte_idl(
    p,
)
Parameter Type Description
p

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

:rtype: Text

to_flyte_idl()

def to_flyte_idl()

:rtype: flyteidl.core.compiler_pb2.CompiledTask

flytekit.models.core.compiler.CompiledWorkflow

class CompiledWorkflow(
    template,
    connections,
)
Parameter Type Description
template
connections

Properties

Property Type Description
connections None :rtype: ConnectionSet
is_empty None
template None :rtype: flytekit.models.core.workflow.WorkflowTemplate

Methods

Method Description
from_flyte_idl()
serialize_to_string()
short_string() :rtype: Text.
to_flyte_idl() :rtype: flyteidl.

from_flyte_idl()

def from_flyte_idl(
    p,
)
Parameter Type Description
p

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

:rtype: Text

to_flyte_idl()

def to_flyte_idl()

:rtype: flyteidl.core.compiler_pb2.CompiledWorkflow

flytekit.models.core.compiler.CompiledWorkflowClosure

class CompiledWorkflowClosure(
    primary,
    sub_workflows,
    tasks,
)
Parameter Type Description
primary
sub_workflows
tasks

Properties

Property Type Description
is_empty None
primary None :rtype: CompiledWorkflow
sub_workflows None :rtype: list[CompiledWorkflow]
tasks None :rtype: list[CompiledTask]

Methods

Method Description
from_flyte_idl()
serialize_to_string()
short_string() :rtype: Text.
to_flyte_idl() :rtype: flyteidl.

from_flyte_idl()

def from_flyte_idl(
    p,
)
Parameter Type Description
p

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

:rtype: Text

to_flyte_idl()

def to_flyte_idl()

:rtype: flyteidl.core.compiler_pb2.CompiledWorkflowClosure

flytekit.models.core.compiler.ConnectionSet

class ConnectionSet(
    upstream,
    downstream,
)
Parameter Type Description
upstream
downstream

Properties

Property Type Description
downstream None :rtype: dict[Text, ConnectionSet.IdList]
is_empty None
upstream None :rtype: dict[Text, ConnectionSet.IdList]

Methods

Method Description
from_flyte_idl()
serialize_to_string()
short_string() :rtype: Text.
to_flyte_idl() :rtype: flyteidl.

from_flyte_idl()

def from_flyte_idl(
    p,
)
Parameter Type Description
p

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

:rtype: Text

to_flyte_idl()

def to_flyte_idl()

:rtype: flyteidl.core.compiler_pb2.ConnectionSet