The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.models.execution
class AbortMetadata(
cause: str,
principal: str,
)
| Parameter |
Type |
Description |
cause |
str |
|
principal |
str |
|
| Property |
Type |
Description |
cause |
None |
|
is_empty |
None |
|
principal |
None |
|
def from_flyte_idl(
pb2_object: flyteidl.admin.execution_pb2.AbortMetadata,
) -> AbortMetadata
| Parameter |
Type |
Description |
pb2_object |
flyteidl.admin.execution_pb2.AbortMetadata |
|
def serialize_to_string()
:rtype: Text
class ClusterAssignment(
cluster_pool,
)
| Parameter |
Type |
Description |
cluster_pool |
|
|
| Property |
Type |
Description |
cluster_pool |
None |
:rtype: Text |
is_empty |
None |
|
| Parameter |
Type |
Description |
p |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.admin._cluster_assignment_pb2.ClusterAssignment
class Execution(
id,
spec,
closure,
)
| Parameter |
Type |
Description |
id |
|
|
spec |
|
|
closure |
|
|
| Property |
Type |
Description |
closure |
None |
:rtype: ExecutionClosure |
id |
None |
:rtype: flytekit.models.core.identifier.WorkflowExecutionIdentifier |
is_empty |
None |
|
spec |
None |
:rtype: ExecutionSpec |
def from_flyte_idl(
pb,
)
| Parameter |
Type |
Description |
pb |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.admin.execution_pb2.Execution
class ExecutionClosure(
phase: int,
started_at: datetime.datetime,
duration: datetime.timedelta,
error: typing.Optional[_core_execution.ExecutionError],
outputs: typing.Optional[LiteralMapBlob],
abort_metadata: typing.Optional[AbortMetadata],
created_at: typing.Optional[datetime.datetime],
updated_at: typing.Optional[datetime.datetime],
)
| Parameter |
Type |
Description |
phase |
int |
From the flytekit.models.core.execution.WorkflowExecutionPhase enum |
started_at |
datetime.datetime |
|
duration |
datetime.timedelta |
Duration for which the execution has been running. |
error |
typing.Optional[_core_execution.ExecutionError] |
|
outputs |
typing.Optional[LiteralMapBlob] |
|
abort_metadata |
typing.Optional[AbortMetadata] |
Specifies metadata around an aborted workflow execution. |
created_at |
typing.Optional[datetime.datetime] |
|
updated_at |
typing.Optional[datetime.datetime] |
|
| Property |
Type |
Description |
abort_metadata |
None |
|
created_at |
None |
|
duration |
None |
|
error |
None |
|
is_empty |
None |
|
outputs |
None |
|
phase |
None |
From the flytekit.models.core.execution.WorkflowExecutionPhase enum |
started_at |
None |
|
updated_at |
None |
|
def from_flyte_idl(
pb2_object,
)
| Parameter |
Type |
Description |
pb2_object |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.admin.execution_pb2.ExecutionClosure
class ExecutionMetadata(
mode: int,
principal: str,
nesting: int,
scheduled_at: Optional[datetime.datetime],
parent_node_execution: Optional[_identifier.NodeExecutionIdentifier],
reference_execution: Optional[_identifier.WorkflowExecutionIdentifier],
system_metadata: Optional[SystemMetadata],
)
| Parameter |
Type |
Description |
mode |
int |
An enum value from ExecutionMetadata.ExecutionMode which specifies how the job started. |
principal |
str |
The entity that triggered the execution |
nesting |
int |
An integer representing how deeply nested the workflow is (i.e. was it triggered by a parent workflow) |
scheduled_at |
Optional[datetime.datetime] |
For scheduled executions, the requested time for execution for this specific schedule invocation. |
parent_node_execution |
Optional[_identifier.NodeExecutionIdentifier] |
Which subworkflow node (if any) launched this execution |
reference_execution |
Optional[_identifier.WorkflowExecutionIdentifier] |
Optional, reference workflow execution related to this execution |
system_metadata |
Optional[SystemMetadata] |
Optional, platform-specific metadata about the execution. |
| Property |
Type |
Description |
is_empty |
None |
|
mode |
None |
An enum value from ExecutionMetadata.ExecutionMode which specifies how the job started. |
nesting |
None |
An integer representing how deeply nested the workflow is (i.e. was it triggered by a parent workflow) |
parent_node_execution |
None |
Which subworkflow node (if any) launched this execution |
principal |
None |
The entity that triggered the execution |
reference_execution |
None |
Optional, reference workflow execution related to this execution |
scheduled_at |
None |
For scheduled executions, the requested time for execution for this specific schedule invocation. |
system_metadata |
None |
Optional, platform-specific metadata about the execution. |
def from_flyte_idl(
pb2_object,
)
| Parameter |
Type |
Description |
pb2_object |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.admin.execution_pb2.ExecutionMetadata
class ExecutionSpec(
launch_plan,
metadata,
notifications,
disable_all,
labels,
annotations,
auth_role,
raw_output_data_config,
max_parallelism: Optional[int],
security_context: Optional[security.SecurityContext],
overwrite_cache: Optional[bool],
interruptible: Optional[bool],
envs: Optional[_common_models.Envs],
tags: Optional[typing.List[str]],
cluster_assignment: Optional[ClusterAssignment],
execution_cluster_label: Optional[ExecutionClusterLabel],
)
| Parameter |
Type |
Description |
launch_plan |
|
|
metadata |
|
|
notifications |
|
|
disable_all |
|
|
labels |
|
|
annotations |
|
|
auth_role |
|
|
raw_output_data_config |
|
Optional location of offloaded data for things like S3, etc. |
max_parallelism |
Optional[int] |
|
security_context |
Optional[security.SecurityContext] |
Optional security context to use for this execution. |
overwrite_cache |
Optional[bool] |
Optional flag to overwrite the cache for this execution. |
interruptible |
Optional[bool] |
Optional flag to override the default interruptible flag of the executed entity. |
envs |
Optional[_common_models.Envs] |
flytekit.models.common.Envs environment variables to set for this execution. |
tags |
Optional[typing.List[str]] |
Optional list of tags to apply to the execution. |
cluster_assignment |
Optional[ClusterAssignment] |
|
execution_cluster_label |
Optional[ExecutionClusterLabel] |
Optional execution cluster label to use for this execution. |
| Property |
Type |
Description |
annotations |
None |
:rtype: flytekit.models.common.Annotations |
auth_role |
None |
:rtype: flytekit.models.common.AuthRole |
cluster_assignment |
None |
|
disable_all |
None |
:rtype: Optional[bool] |
envs |
None |
|
execution_cluster_label |
None |
|
interruptible |
None |
|
is_empty |
None |
|
labels |
None |
:rtype: flytekit.models.common.Labels |
launch_plan |
None |
If the values were too large, this is the URI where the values were offloaded. :rtype: flytekit.models.core.identifier.Identifier |
max_parallelism |
None |
|
metadata |
None |
:rtype: ExecutionMetadata |
notifications |
None |
:rtype: Optional[NotificationList] |
overwrite_cache |
None |
|
raw_output_data_config |
None |
:rtype: flytekit.models.common.RawOutputDataConfig |
security_context |
None |
|
tags |
None |
|
| Parameter |
Type |
Description |
p |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.admin.execution_pb2.ExecutionSpec
class LiteralMapBlob(
values,
uri,
)
| Parameter |
Type |
Description |
values |
|
|
uri |
|
|
| Property |
Type |
Description |
is_empty |
None |
|
uri |
None |
:rtype: Text |
values |
None |
:rtype: flytekit.models.literals.LiteralMap |
def from_flyte_idl(
pb,
)
| Parameter |
Type |
Description |
pb |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.admin.execution_pb2.LiteralMapBlob
class NodeExecutionGetDataResponse(
args,
dynamic_workflow: typing.Optional[DynamicWorkflowNodeMetadata],
kwargs,
)
| Parameter |
Type |
Description |
args |
*args |
|
dynamic_workflow |
typing.Optional[DynamicWorkflowNodeMetadata] |
|
kwargs |
**kwargs |
|
| Property |
Type |
Description |
dynamic_workflow |
None |
|
full_inputs |
None |
:rtype: _literals_models.LiteralMap |
full_outputs |
None |
:rtype: _literals_models.LiteralMap |
inputs |
None |
:rtype: _common_models.UrlBlob |
is_empty |
None |
|
outputs |
None |
:rtype: _common_models.UrlBlob |
def from_flyte_idl(
pb2_object,
)
| Parameter |
Type |
Description |
pb2_object |
|
|
def serialize_to_string()
:rtype: Text
:rtype: _node_execution_pb2.NodeExecutionGetDataResponse
class NotificationList(
notifications,
)
| Parameter |
Type |
Description |
notifications |
|
|
| Property |
Type |
Description |
is_empty |
None |
|
notifications |
None |
:rtype: list[flytekit.models.common.Notification] |
def from_flyte_idl(
pb2_object,
)
| Parameter |
Type |
Description |
pb2_object |
|
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.admin.execution_pb2.NotificationList
class SystemMetadata(
execution_cluster: str,
)
| Parameter |
Type |
Description |
execution_cluster |
str |
|
| Property |
Type |
Description |
execution_cluster |
None |
|
is_empty |
None |
|
def from_flyte_idl(
pb2_object: flyteidl.admin.execution_pb2.SystemMetadata,
) -> SystemMetadata
| Parameter |
Type |
Description |
pb2_object |
flyteidl.admin.execution_pb2.SystemMetadata |
|
def serialize_to_string()
:rtype: Text
class TaskExecutionGetDataResponse(
inputs,
outputs,
full_inputs,
full_outputs,
)
| Parameter |
Type |
Description |
inputs |
|
|
outputs |
|
|
full_inputs |
|
|
full_outputs |
|
|
| Property |
Type |
Description |
full_inputs |
None |
:rtype: _literals_models.LiteralMap |
full_outputs |
None |
:rtype: _literals_models.LiteralMap |
inputs |
None |
:rtype: _common_models.UrlBlob |
is_empty |
None |
|
outputs |
None |
:rtype: _common_models.UrlBlob |
def from_flyte_idl(
pb2_object,
)
| Parameter |
Type |
Description |
pb2_object |
|
|
def serialize_to_string()
:rtype: Text
:rtype: _task_execution_pb2.TaskExecutionGetDataResponse
class WorkflowExecutionGetDataResponse(
inputs,
outputs,
full_inputs,
full_outputs,
)
| Parameter |
Type |
Description |
inputs |
|
|
outputs |
|
|
full_inputs |
|
|
full_outputs |
|
|
| Property |
Type |
Description |
full_inputs |
None |
:rtype: _literals_models.LiteralMap |
full_outputs |
None |
:rtype: _literals_models.LiteralMap |
inputs |
None |
:rtype: _common_models.UrlBlob |
is_empty |
None |
|
outputs |
None |
:rtype: _common_models.UrlBlob |
def from_flyte_idl(
pb2_object,
)
| Parameter |
Type |
Description |
pb2_object |
|
|
def serialize_to_string()
:rtype: Text
:rtype: _execution_pb2.WorkflowExecutionGetDataResponse