0.1.dev2192+g7c539c3.d20250403
    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
class ExecutionError(
    code: str,
    message: str,
    error_uri: str,
    kind: int,
)| Parameter | Type | 
|---|---|
| code | str | 
| message | str | 
| error_uri | str | 
| kind | int | 
Methods
| Method | Description | 
|---|---|
| from_flyte_idl() | |
| serialize_to_string() | |
| short_string() | :rtype: Text. | 
| to_flyte_idl() | :rtype: flyteidl. | 
| verbose_string() | :rtype: Text. | 
from_flyte_idl()
def from_flyte_idl(
    p,
) -> e: ExecutionError| Parameter | Type | 
|---|---|
| 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.execution_pb2.ExecutionError
verbose_string()
def verbose_string():rtype: Text
Properties
| Property | Type | Description | 
|---|---|---|
| code | :rtype: Text | |
| error_uri | :rtype: Text | |
| is_empty | ||
| kind | Enum value from ErrorKind | |
| message | :rtype: Text | 
flytekit.models.core.execution.NodeExecutionPhase
Methods
| Method | Description | 
|---|---|
| enum_to_string() | 
enum_to_string()
def enum_to_string(
    int_value,
) -> e: Text| Parameter | Type | 
|---|---|
| int_value | 
flytekit.models.core.execution.TaskExecutionPhase
Methods
| Method | Description | 
|---|---|
| enum_to_string() | 
enum_to_string()
def enum_to_string(
    int_value,
) -> e: Text| Parameter | Type | 
|---|---|
| int_value | 
flytekit.models.core.execution.TaskLog
class TaskLog(
    uri: str,
    name: str,
    message_format: typing.Optional[flytekit.models.core.execution.TaskLog.MessageFormat],
    ttl: typing.Optional[datetime.timedelta],
)| Parameter | Type | 
|---|---|
| uri | str | 
| name | str | 
| message_format | typing.Optional[flytekit.models.core.execution.TaskLog.MessageFormat] | 
| ttl | typing.Optional[datetime.timedelta] | 
Methods
| Method | Description | 
|---|---|
| from_flyte_idl() | |
| serialize_to_string() | |
| short_string() | :rtype: Text. | 
| to_flyte_idl() | :rtype: flyteidl. | 
| verbose_string() | :rtype: Text. | 
from_flyte_idl()
def from_flyte_idl(
    p,
) -> e: TaskLog| Parameter | Type | 
|---|---|
| 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.execution_pb2.TaskLog
verbose_string()
def verbose_string():rtype: Text
Properties
| Property | Type | Description | 
|---|---|---|
| is_empty | ||
| message_format | Enum value from TaskLog.MessageFormat :rtype: MessageFormat | |
| name | :rtype: Text | |
| ttl | :rtype: datetime.timedelta | |
| uri | :rtype: Text | 
flytekit.models.core.execution.WorkflowExecutionPhase
This class holds enum values used for setting notifications. See flytekit.Email
for sample usage.
Methods
| Method | Description | 
|---|---|
| enum_to_string() | 
enum_to_string()
def enum_to_string(
    int_value,
) -> e: Text| Parameter | Type | 
|---|---|
| int_value |