1.16.16

flytekit.models.core.execution

Directory

Classes

Class Description
ExecutionError
NodeExecutionPhase
TaskExecutionPhase
TaskLog
WorkflowExecutionPhase This class holds enum values used for setting notifications.

flytekit.models.core.execution.ExecutionError

Parameters

class ExecutionError(
    code: str,
    message: str,
    error_uri: str,
    kind: int,
)
Parameter Type Description
code str
message str
error_uri str
kind int

Properties

Property Type Description
code None
error_uri None
is_empty None
kind None Enum value from ErrorKind
message None

Methods

Method Description
from_flyte_idl()
serialize_to_string()
short_string()
to_flyte_idl()

from_flyte_idl()

def from_flyte_idl(
    p,
)
Parameter Type Description
p

Returns: ExecutionError

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

Returns: Text

to_flyte_idl()

def to_flyte_idl()

Returns: flyteidl.core.execution_pb2.ExecutionError

flytekit.models.core.execution.NodeExecutionPhase

Methods

Method Description
enum_to_string()

enum_to_string()

def enum_to_string(
    int_value,
)
Parameter Type Description
int_value

Returns: Text

flytekit.models.core.execution.TaskExecutionPhase

Methods

Method Description
enum_to_string()

enum_to_string()

def enum_to_string(
    int_value,
)
Parameter Type Description
int_value

Returns: Text

flytekit.models.core.execution.TaskLog

Parameters

class TaskLog(
    uri: str,
    name: str,
    message_format: typing.Optional[flytekit.models.core.execution.TaskLog.MessageFormat],
    ttl: typing.Optional[datetime.timedelta],
)
Parameter Type Description
uri str
name str
message_format typing.Optional[flytekit.models.core.execution.TaskLog.MessageFormat]
ttl typing.Optional[datetime.timedelta]

Properties

Property Type Description
is_empty None
message_format None Enum value from TaskLog.MessageFormat
name None
ttl None
uri None

Methods

Method Description
from_flyte_idl()
serialize_to_string()
short_string()
to_flyte_idl()

from_flyte_idl()

def from_flyte_idl(
    p,
)
Parameter Type Description
p

Returns: TaskLog

serialize_to_string()

def serialize_to_string()

short_string()

def short_string()

Returns: Text

to_flyte_idl()

def to_flyte_idl()

Returns: flyteidl.core.execution_pb2.TaskLog

flytekit.models.core.execution.WorkflowExecutionPhase

This class holds enum values used for setting notifications. See {{< py_class_ref flytekit.Email >}} for sample usage.

Methods

Method Description
enum_to_string()

enum_to_string()

def enum_to_string(
    int_value,
)
Parameter Type Description
int_value

Returns: Text