1.16.14
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 | Description |
|---|---|---|
code |
str |
|
message |
str |
|
error_uri |
str |
|
kind |
int |
Properties
| Property | Type | Description |
|---|---|---|
code |
None |
:rtype: Text |
error_uri |
None |
:rtype: Text |
is_empty |
None |
|
kind |
None |
Enum value from ErrorKind |
message |
None |
:rtype: Text |
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.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 |
:rtype: 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 |
:rtype: Text |
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 | 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 :rtype: MessageFormat |
name |
None |
:rtype: Text |
ttl |
None |
:rtype: datetime.timedelta |
uri |
None |
:rtype: Text |
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.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 |
:rtype: Text |