flyte 0.2.0b35__py3-none-any.whl → 0.2.0b37__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flyte might be problematic. Click here for more details.
- flyte/_image.py +1 -1
- flyte/_internal/controllers/_local_controller.py +3 -2
- flyte/_internal/controllers/_trace.py +14 -10
- flyte/_internal/controllers/remote/_action.py +37 -7
- flyte/_internal/controllers/remote/_controller.py +43 -21
- flyte/_internal/controllers/remote/_core.py +32 -16
- flyte/_internal/controllers/remote/_informer.py +18 -7
- flyte/_internal/runtime/task_serde.py +17 -6
- flyte/_protos/common/identifier_pb2.py +23 -1
- flyte/_protos/common/identifier_pb2.pyi +28 -0
- flyte/_protos/workflow/queue_service_pb2.py +33 -29
- flyte/_protos/workflow/queue_service_pb2.pyi +34 -16
- flyte/_protos/workflow/run_definition_pb2.py +64 -71
- flyte/_protos/workflow/run_definition_pb2.pyi +44 -31
- flyte/_protos/workflow/run_logs_service_pb2.py +10 -10
- flyte/_protos/workflow/run_logs_service_pb2.pyi +3 -3
- flyte/_protos/workflow/run_service_pb2.py +54 -46
- flyte/_protos/workflow/run_service_pb2.pyi +32 -18
- flyte/_protos/workflow/run_service_pb2_grpc.py +34 -0
- flyte/_protos/workflow/state_service_pb2.py +20 -19
- flyte/_protos/workflow/state_service_pb2.pyi +13 -12
- flyte/_run.py +11 -6
- flyte/_trace.py +4 -10
- flyte/_version.py +2 -2
- flyte/migrate/__init__.py +1 -0
- flyte/migrate/dynamic.py +13 -0
- flyte/migrate/task.py +99 -0
- flyte/migrate/workflow.py +13 -0
- flyte/remote/_action.py +56 -25
- flyte/remote/_logs.py +4 -3
- flyte/remote/_run.py +5 -4
- flyte-0.2.0b37.dist-info/METADATA +371 -0
- {flyte-0.2.0b35.dist-info → flyte-0.2.0b37.dist-info}/RECORD +38 -33
- flyte-0.2.0b37.dist-info/licenses/LICENSE +201 -0
- flyte-0.2.0b35.dist-info/METADATA +0 -249
- {flyte-0.2.0b35.data → flyte-0.2.0b37.data}/scripts/runtime.py +0 -0
- {flyte-0.2.0b35.dist-info → flyte-0.2.0b37.dist-info}/WHEEL +0 -0
- {flyte-0.2.0b35.dist-info → flyte-0.2.0b37.dist-info}/entry_points.txt +0 -0
- {flyte-0.2.0b35.dist-info → flyte-0.2.0b37.dist-info}/top_level.txt +0 -0
|
@@ -80,3 +80,31 @@ class PolicyIdentifier(_message.Message):
|
|
|
80
80
|
organization: str
|
|
81
81
|
name: str
|
|
82
82
|
def __init__(self, organization: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
|
|
83
|
+
|
|
84
|
+
class RunIdentifier(_message.Message):
|
|
85
|
+
__slots__ = ["org", "project", "domain", "name"]
|
|
86
|
+
ORG_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
PROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
org: str
|
|
91
|
+
project: str
|
|
92
|
+
domain: str
|
|
93
|
+
name: str
|
|
94
|
+
def __init__(self, org: _Optional[str] = ..., project: _Optional[str] = ..., domain: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
|
|
95
|
+
|
|
96
|
+
class ActionIdentifier(_message.Message):
|
|
97
|
+
__slots__ = ["run", "name"]
|
|
98
|
+
RUN_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
run: RunIdentifier
|
|
101
|
+
name: str
|
|
102
|
+
def __init__(self, run: _Optional[_Union[RunIdentifier, _Mapping]] = ..., name: _Optional[str] = ...) -> None: ...
|
|
103
|
+
|
|
104
|
+
class ActionAttemptIdentifier(_message.Message):
|
|
105
|
+
__slots__ = ["action_id", "attempt"]
|
|
106
|
+
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
+
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
action_id: ActionIdentifier
|
|
109
|
+
attempt: int
|
|
110
|
+
def __init__(self, action_id: _Optional[_Union[ActionIdentifier, _Mapping]] = ..., attempt: _Optional[int] = ...) -> None: ...
|
|
@@ -11,14 +11,16 @@ from google.protobuf.internal import builder as _builder
|
|
|
11
11
|
_sym_db = _symbol_database.Default()
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
|
|
14
15
|
from flyteidl.core import types_pb2 as flyteidl_dot_core_dot_types__pb2
|
|
16
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
17
|
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
16
18
|
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
17
19
|
from flyte._protos.workflow import run_definition_pb2 as workflow_dot_run__definition__pb2
|
|
18
20
|
from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
|
|
19
21
|
|
|
20
22
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cworkflow/queue_service.proto\x12\x11\x63loudidl.workflow\x1a\x19\x66lyteidl/core/types.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17validate/validate.proto\x1a\x1dworkflow/run_definition.proto\x1a\x1eworkflow/task_definition.proto\"\x7f\n\x10WorkerIdentifier\x12+\n\x0corganization\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x0corganization\x12!\n\x07\x63luster\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x07\x63luster\x12\x1b\n\x04name\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x04name\"\
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cworkflow/queue_service.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17validate/validate.proto\x1a\x1dworkflow/run_definition.proto\x1a\x1eworkflow/task_definition.proto\"\x7f\n\x10WorkerIdentifier\x12+\n\x0corganization\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x0corganization\x12!\n\x07\x63luster\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x07\x63luster\x12\x1b\n\x04name\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x04name\"\xbf\x04\n\x14\x45nqueueActionRequest\x12H\n\taction_id\x18\x01 \x01(\x0b\x32!.cloudidl.common.ActionIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08\x61\x63tionId\x12\x31\n\x12parent_action_name\x18\x02 \x01(\tH\x01R\x10parentActionName\x88\x01\x01\x12\x35\n\x08run_spec\x18\x03 \x01(\x0b\x32\x1a.cloudidl.workflow.RunSpecR\x07runSpec\x12$\n\tinput_uri\x18\x06 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x08inputUri\x12/\n\x0frun_output_base\x18\x07 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\rrunOutputBase\x12\x14\n\x05group\x18\x08 \x01(\tR\x05group\x12\x18\n\x07subject\x18\t \x01(\tR\x07subject\x12=\n\x04task\x18\n \x01(\x0b\x32\x1d.cloudidl.workflow.TaskActionB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x04task\x12@\n\x05trace\x18\x0b \x01(\x0b\x32\x1e.cloudidl.workflow.TraceActionB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x05trace\x12L\n\tcondition\x18\x0c \x01(\x0b\x32\".cloudidl.workflow.ConditionActionB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tconditionB\x06\n\x04specB\x15\n\x13_parent_action_name\"\xb5\x01\n\nTaskAction\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierR\x02id\x12\x39\n\x04spec\x18\x02 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04spec\x12\x39\n\tcache_key\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueR\x08\x63\x61\x63heKey\"\x9d\x02\n\x0bTraceAction\x12\x1b\n\x04name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x04name\x12.\n\x05phase\x18\x02 \x01(\x0e\x32\x18.cloudidl.workflow.PhaseR\x05phase\x12\x39\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12:\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x07\x65ndTime\x88\x01\x01\x12=\n\x07outputs\x18\x05 \x01(\x0b\x32#.cloudidl.workflow.OutputReferencesR\x07outputsB\x0b\n\t_end_time\"\x8a\x02\n\x0f\x43onditionAction\x12\x1b\n\x04name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x04name\x12 \n\x06run_id\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01H\x00R\x05runId\x12&\n\taction_id\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01H\x00R\x08\x61\x63tionId\x12\x18\n\x06global\x18\x04 \x01(\x08H\x00R\x06global\x12.\n\x04type\x18\x06 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12\x16\n\x06prompt\x18\x07 \x01(\tR\x06prompt\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scriptionB\x0c\n\x05scope\x12\x03\xf8\x42\x01\"\x17\n\x15\x45nqueueActionResponse\"X\n\x15\x41\x62ortQueuedRunRequest\x12?\n\x06run_id\x18\x01 \x01(\x0b\x32\x1e.cloudidl.common.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x05runId\"\x18\n\x16\x41\x62ortQueuedRunResponse\"\x80\x03\n\x10HeartbeatRequest\x12J\n\tworker_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.WorkerIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08workerId\x12M\n\x11\x61\x63tive_action_ids\x18\x02 \x03(\x0b\x32!.cloudidl.common.ActionIdentifierR\x0f\x61\x63tiveActionIds\x12Q\n\x13terminal_action_ids\x18\x03 \x03(\x0b\x32!.cloudidl.common.ActionIdentifierR\x11terminalActionIds\x12O\n\x12\x61\x62orted_action_ids\x18\x04 \x03(\x0b\x32!.cloudidl.common.ActionIdentifierR\x10\x61\x62ortedActionIds\x12-\n\x12\x61vailable_capacity\x18\x05 \x01(\x05R\x11\x61vailableCapacity\"\xe2\x01\n\x11HeartbeatResponse\x12\x37\n\nnew_leases\x18\x01 \x03(\x0b\x32\x18.cloudidl.workflow.LeaseR\tnewLeases\x12?\n\x0e\x61\x62orted_leases\x18\x02 \x03(\x0b\x32\x18.cloudidl.workflow.LeaseR\rabortedLeases\x12S\n\x14\x66inalized_action_ids\x18\x03 \x03(\x0b\x32!.cloudidl.common.ActionIdentifierR\x12\x66inalizedActionIds\"a\n\x13StreamLeasesRequest\x12J\n\tworker_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.WorkerIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08workerId\"H\n\x14StreamLeasesResponse\x12\x30\n\x06leases\x18\x01 \x03(\x0b\x32\x18.cloudidl.workflow.LeaseR\x06leases\"\xc9\x04\n\x05Lease\x12H\n\taction_id\x18\x01 \x01(\x0b\x32!.cloudidl.common.ActionIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08\x61\x63tionId\x12\x31\n\x12parent_action_name\x18\x02 \x01(\tH\x01R\x10parentActionName\x88\x01\x01\x12\x35\n\x08run_spec\x18\x03 \x01(\x0b\x32\x1a.cloudidl.workflow.RunSpecR\x07runSpec\x12$\n\tinput_uri\x18\x04 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x08inputUri\x12/\n\x0frun_output_base\x18\x05 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\rrunOutputBase\x12=\n\x04task\x18\x06 \x01(\x0b\x32\x1d.cloudidl.workflow.TaskActionB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x04task\x12L\n\tcondition\x18\x07 \x01(\x0b\x32\".cloudidl.workflow.ConditionActionB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tcondition\x12@\n\x05trace\x18\n \x01(\x0b\x32\x1e.cloudidl.workflow.TraceActionB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x05trace\x12\x14\n\x05group\x18\x08 \x01(\tR\x05group\x12\x18\n\x07subject\x18\t \x01(\tR\x07subject\x12\x12\n\x04host\x18\x0b \x01(\tR\x04hostB\x0b\n\x04spec\x12\x03\xf8\x42\x01\x42\x15\n\x13_parent_action_name2\xa0\x03\n\x0cQueueService\x12\x64\n\rEnqueueAction\x12\'.cloudidl.workflow.EnqueueActionRequest\x1a(.cloudidl.workflow.EnqueueActionResponse\"\x00\x12g\n\x0e\x41\x62ortQueuedRun\x12(.cloudidl.workflow.AbortQueuedRunRequest\x1a).cloudidl.workflow.AbortQueuedRunResponse\"\x00\x12\\\n\tHeartbeat\x12#.cloudidl.workflow.HeartbeatRequest\x1a$.cloudidl.workflow.HeartbeatResponse\"\x00(\x01\x30\x01\x12\x63\n\x0cStreamLeases\x12&.cloudidl.workflow.StreamLeasesRequest\x1a\'.cloudidl.workflow.StreamLeasesResponse\"\x00\x30\x01\x42\xbe\x01\n\x15\x63om.cloudidl.workflowB\x11QueueServiceProtoH\x02P\x01Z+github.com/unionai/cloud/gen/pb-go/workflow\xa2\x02\x03\x43WX\xaa\x02\x11\x43loudidl.Workflow\xca\x02\x11\x43loudidl\\Workflow\xe2\x02\x1d\x43loudidl\\Workflow\\GPBMetadata\xea\x02\x12\x43loudidl::Workflowb\x06proto3')
|
|
22
24
|
|
|
23
25
|
_globals = globals()
|
|
24
26
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -74,32 +76,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
74
76
|
_LEASE.fields_by_name['task']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
75
77
|
_LEASE.fields_by_name['condition']._options = None
|
|
76
78
|
_LEASE.fields_by_name['condition']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
79
|
+
_LEASE.fields_by_name['trace']._options = None
|
|
80
|
+
_LEASE.fields_by_name['trace']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
81
|
+
_globals['_WORKERIDENTIFIER']._serialized_start=256
|
|
82
|
+
_globals['_WORKERIDENTIFIER']._serialized_end=383
|
|
83
|
+
_globals['_ENQUEUEACTIONREQUEST']._serialized_start=386
|
|
84
|
+
_globals['_ENQUEUEACTIONREQUEST']._serialized_end=961
|
|
85
|
+
_globals['_TASKACTION']._serialized_start=964
|
|
86
|
+
_globals['_TASKACTION']._serialized_end=1145
|
|
87
|
+
_globals['_TRACEACTION']._serialized_start=1148
|
|
88
|
+
_globals['_TRACEACTION']._serialized_end=1433
|
|
89
|
+
_globals['_CONDITIONACTION']._serialized_start=1436
|
|
90
|
+
_globals['_CONDITIONACTION']._serialized_end=1702
|
|
91
|
+
_globals['_ENQUEUEACTIONRESPONSE']._serialized_start=1704
|
|
92
|
+
_globals['_ENQUEUEACTIONRESPONSE']._serialized_end=1727
|
|
93
|
+
_globals['_ABORTQUEUEDRUNREQUEST']._serialized_start=1729
|
|
94
|
+
_globals['_ABORTQUEUEDRUNREQUEST']._serialized_end=1817
|
|
95
|
+
_globals['_ABORTQUEUEDRUNRESPONSE']._serialized_start=1819
|
|
96
|
+
_globals['_ABORTQUEUEDRUNRESPONSE']._serialized_end=1843
|
|
97
|
+
_globals['_HEARTBEATREQUEST']._serialized_start=1846
|
|
98
|
+
_globals['_HEARTBEATREQUEST']._serialized_end=2230
|
|
99
|
+
_globals['_HEARTBEATRESPONSE']._serialized_start=2233
|
|
100
|
+
_globals['_HEARTBEATRESPONSE']._serialized_end=2459
|
|
101
|
+
_globals['_STREAMLEASESREQUEST']._serialized_start=2461
|
|
102
|
+
_globals['_STREAMLEASESREQUEST']._serialized_end=2558
|
|
103
|
+
_globals['_STREAMLEASESRESPONSE']._serialized_start=2560
|
|
104
|
+
_globals['_STREAMLEASESRESPONSE']._serialized_end=2632
|
|
105
|
+
_globals['_LEASE']._serialized_start=2635
|
|
106
|
+
_globals['_LEASE']._serialized_end=3220
|
|
107
|
+
_globals['_QUEUESERVICE']._serialized_start=3223
|
|
108
|
+
_globals['_QUEUESERVICE']._serialized_end=3639
|
|
105
109
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
from flyte._protos.common import identifier_pb2 as _identifier_pb2
|
|
1
2
|
from flyteidl.core import types_pb2 as _types_pb2
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
2
4
|
from google.protobuf import wrappers_pb2 as _wrappers_pb2
|
|
3
5
|
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
4
6
|
from flyte._protos.workflow import run_definition_pb2 as _run_definition_pb2
|
|
@@ -21,9 +23,10 @@ class WorkerIdentifier(_message.Message):
|
|
|
21
23
|
def __init__(self, organization: _Optional[str] = ..., cluster: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
|
|
22
24
|
|
|
23
25
|
class EnqueueActionRequest(_message.Message):
|
|
24
|
-
__slots__ = ["action_id", "parent_action_name", "input_uri", "run_output_base", "group", "subject", "task", "trace", "condition"]
|
|
26
|
+
__slots__ = ["action_id", "parent_action_name", "run_spec", "input_uri", "run_output_base", "group", "subject", "task", "trace", "condition"]
|
|
25
27
|
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
26
28
|
PARENT_ACTION_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
RUN_SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
27
30
|
INPUT_URI_FIELD_NUMBER: _ClassVar[int]
|
|
28
31
|
RUN_OUTPUT_BASE_FIELD_NUMBER: _ClassVar[int]
|
|
29
32
|
GROUP_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -31,8 +34,9 @@ class EnqueueActionRequest(_message.Message):
|
|
|
31
34
|
TASK_FIELD_NUMBER: _ClassVar[int]
|
|
32
35
|
TRACE_FIELD_NUMBER: _ClassVar[int]
|
|
33
36
|
CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
-
action_id:
|
|
37
|
+
action_id: _identifier_pb2.ActionIdentifier
|
|
35
38
|
parent_action_name: str
|
|
39
|
+
run_spec: _run_definition_pb2.RunSpec
|
|
36
40
|
input_uri: str
|
|
37
41
|
run_output_base: str
|
|
38
42
|
group: str
|
|
@@ -40,7 +44,7 @@ class EnqueueActionRequest(_message.Message):
|
|
|
40
44
|
task: TaskAction
|
|
41
45
|
trace: TraceAction
|
|
42
46
|
condition: ConditionAction
|
|
43
|
-
def __init__(self, action_id: _Optional[_Union[
|
|
47
|
+
def __init__(self, action_id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ..., parent_action_name: _Optional[str] = ..., run_spec: _Optional[_Union[_run_definition_pb2.RunSpec, _Mapping]] = ..., input_uri: _Optional[str] = ..., run_output_base: _Optional[str] = ..., group: _Optional[str] = ..., subject: _Optional[str] = ..., task: _Optional[_Union[TaskAction, _Mapping]] = ..., trace: _Optional[_Union[TraceAction, _Mapping]] = ..., condition: _Optional[_Union[ConditionAction, _Mapping]] = ...) -> None: ...
|
|
44
48
|
|
|
45
49
|
class TaskAction(_message.Message):
|
|
46
50
|
__slots__ = ["id", "spec", "cache_key"]
|
|
@@ -53,10 +57,18 @@ class TaskAction(_message.Message):
|
|
|
53
57
|
def __init__(self, id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ..., spec: _Optional[_Union[_task_definition_pb2.TaskSpec, _Mapping]] = ..., cache_key: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ...) -> None: ...
|
|
54
58
|
|
|
55
59
|
class TraceAction(_message.Message):
|
|
56
|
-
__slots__ = ["name"]
|
|
60
|
+
__slots__ = ["name", "phase", "start_time", "end_time", "outputs"]
|
|
57
61
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
PHASE_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
58
66
|
name: str
|
|
59
|
-
|
|
67
|
+
phase: _run_definition_pb2.Phase
|
|
68
|
+
start_time: _timestamp_pb2.Timestamp
|
|
69
|
+
end_time: _timestamp_pb2.Timestamp
|
|
70
|
+
outputs: _run_definition_pb2.OutputReferences
|
|
71
|
+
def __init__(self, name: _Optional[str] = ..., phase: _Optional[_Union[_run_definition_pb2.Phase, str]] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., outputs: _Optional[_Union[_run_definition_pb2.OutputReferences, _Mapping]] = ...) -> None: ...
|
|
60
72
|
|
|
61
73
|
class ConditionAction(_message.Message):
|
|
62
74
|
__slots__ = ["name", "run_id", "action_id", "type", "prompt", "description"]
|
|
@@ -82,8 +94,8 @@ class EnqueueActionResponse(_message.Message):
|
|
|
82
94
|
class AbortQueuedRunRequest(_message.Message):
|
|
83
95
|
__slots__ = ["run_id"]
|
|
84
96
|
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
-
run_id:
|
|
86
|
-
def __init__(self, run_id: _Optional[_Union[
|
|
97
|
+
run_id: _identifier_pb2.RunIdentifier
|
|
98
|
+
def __init__(self, run_id: _Optional[_Union[_identifier_pb2.RunIdentifier, _Mapping]] = ...) -> None: ...
|
|
87
99
|
|
|
88
100
|
class AbortQueuedRunResponse(_message.Message):
|
|
89
101
|
__slots__ = []
|
|
@@ -97,11 +109,11 @@ class HeartbeatRequest(_message.Message):
|
|
|
97
109
|
ABORTED_ACTION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
98
110
|
AVAILABLE_CAPACITY_FIELD_NUMBER: _ClassVar[int]
|
|
99
111
|
worker_id: WorkerIdentifier
|
|
100
|
-
active_action_ids: _containers.RepeatedCompositeFieldContainer[
|
|
101
|
-
terminal_action_ids: _containers.RepeatedCompositeFieldContainer[
|
|
102
|
-
aborted_action_ids: _containers.RepeatedCompositeFieldContainer[
|
|
112
|
+
active_action_ids: _containers.RepeatedCompositeFieldContainer[_identifier_pb2.ActionIdentifier]
|
|
113
|
+
terminal_action_ids: _containers.RepeatedCompositeFieldContainer[_identifier_pb2.ActionIdentifier]
|
|
114
|
+
aborted_action_ids: _containers.RepeatedCompositeFieldContainer[_identifier_pb2.ActionIdentifier]
|
|
103
115
|
available_capacity: int
|
|
104
|
-
def __init__(self, worker_id: _Optional[_Union[WorkerIdentifier, _Mapping]] = ..., active_action_ids: _Optional[_Iterable[_Union[
|
|
116
|
+
def __init__(self, worker_id: _Optional[_Union[WorkerIdentifier, _Mapping]] = ..., active_action_ids: _Optional[_Iterable[_Union[_identifier_pb2.ActionIdentifier, _Mapping]]] = ..., terminal_action_ids: _Optional[_Iterable[_Union[_identifier_pb2.ActionIdentifier, _Mapping]]] = ..., aborted_action_ids: _Optional[_Iterable[_Union[_identifier_pb2.ActionIdentifier, _Mapping]]] = ..., available_capacity: _Optional[int] = ...) -> None: ...
|
|
105
117
|
|
|
106
118
|
class HeartbeatResponse(_message.Message):
|
|
107
119
|
__slots__ = ["new_leases", "aborted_leases", "finalized_action_ids"]
|
|
@@ -110,8 +122,8 @@ class HeartbeatResponse(_message.Message):
|
|
|
110
122
|
FINALIZED_ACTION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
111
123
|
new_leases: _containers.RepeatedCompositeFieldContainer[Lease]
|
|
112
124
|
aborted_leases: _containers.RepeatedCompositeFieldContainer[Lease]
|
|
113
|
-
finalized_action_ids: _containers.RepeatedCompositeFieldContainer[
|
|
114
|
-
def __init__(self, new_leases: _Optional[_Iterable[_Union[Lease, _Mapping]]] = ..., aborted_leases: _Optional[_Iterable[_Union[Lease, _Mapping]]] = ..., finalized_action_ids: _Optional[_Iterable[_Union[
|
|
125
|
+
finalized_action_ids: _containers.RepeatedCompositeFieldContainer[_identifier_pb2.ActionIdentifier]
|
|
126
|
+
def __init__(self, new_leases: _Optional[_Iterable[_Union[Lease, _Mapping]]] = ..., aborted_leases: _Optional[_Iterable[_Union[Lease, _Mapping]]] = ..., finalized_action_ids: _Optional[_Iterable[_Union[_identifier_pb2.ActionIdentifier, _Mapping]]] = ...) -> None: ...
|
|
115
127
|
|
|
116
128
|
class StreamLeasesRequest(_message.Message):
|
|
117
129
|
__slots__ = ["worker_id"]
|
|
@@ -126,21 +138,27 @@ class StreamLeasesResponse(_message.Message):
|
|
|
126
138
|
def __init__(self, leases: _Optional[_Iterable[_Union[Lease, _Mapping]]] = ...) -> None: ...
|
|
127
139
|
|
|
128
140
|
class Lease(_message.Message):
|
|
129
|
-
__slots__ = ["action_id", "parent_action_name", "input_uri", "run_output_base", "task", "condition", "group", "subject"]
|
|
141
|
+
__slots__ = ["action_id", "parent_action_name", "run_spec", "input_uri", "run_output_base", "task", "condition", "trace", "group", "subject", "host"]
|
|
130
142
|
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
131
143
|
PARENT_ACTION_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
144
|
+
RUN_SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
132
145
|
INPUT_URI_FIELD_NUMBER: _ClassVar[int]
|
|
133
146
|
RUN_OUTPUT_BASE_FIELD_NUMBER: _ClassVar[int]
|
|
134
147
|
TASK_FIELD_NUMBER: _ClassVar[int]
|
|
135
148
|
CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
149
|
+
TRACE_FIELD_NUMBER: _ClassVar[int]
|
|
136
150
|
GROUP_FIELD_NUMBER: _ClassVar[int]
|
|
137
151
|
SUBJECT_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
-
|
|
152
|
+
HOST_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
+
action_id: _identifier_pb2.ActionIdentifier
|
|
139
154
|
parent_action_name: str
|
|
155
|
+
run_spec: _run_definition_pb2.RunSpec
|
|
140
156
|
input_uri: str
|
|
141
157
|
run_output_base: str
|
|
142
158
|
task: TaskAction
|
|
143
159
|
condition: ConditionAction
|
|
160
|
+
trace: TraceAction
|
|
144
161
|
group: str
|
|
145
162
|
subject: str
|
|
146
|
-
|
|
163
|
+
host: str
|
|
164
|
+
def __init__(self, action_id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ..., parent_action_name: _Optional[str] = ..., run_spec: _Optional[_Union[_run_definition_pb2.RunSpec, _Mapping]] = ..., input_uri: _Optional[str] = ..., run_output_base: _Optional[str] = ..., task: _Optional[_Union[TaskAction, _Mapping]] = ..., condition: _Optional[_Union[ConditionAction, _Mapping]] = ..., trace: _Optional[_Union[TraceAction, _Mapping]] = ..., group: _Optional[str] = ..., subject: _Optional[str] = ..., host: _Optional[str] = ...) -> None: ...
|
|
@@ -13,6 +13,7 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
|
|
15
15
|
from flyte._protos.common import identity_pb2 as common_dot_identity__pb2
|
|
16
|
+
from flyteidl.core import catalog_pb2 as flyteidl_dot_core_dot_catalog__pb2
|
|
16
17
|
from flyteidl.core import execution_pb2 as flyteidl_dot_core_dot_execution__pb2
|
|
17
18
|
from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2
|
|
18
19
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
@@ -21,7 +22,7 @@ from flyte._protos.validate.validate import validate_pb2 as validate_dot_validat
|
|
|
21
22
|
from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
|
|
22
23
|
|
|
23
24
|
|
|
24
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dworkflow/run_definition.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x15\x63ommon/identity.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17validate/validate.proto\x1a\x1eworkflow/task_definition.proto\"\
|
|
25
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dworkflow/run_definition.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x15\x63ommon/identity.proto\x1a\x1b\x66lyteidl/core/catalog.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17validate/validate.proto\x1a\x1eworkflow/task_definition.proto\"\x82\x01\n\x06Labels\x12=\n\x06values\x18\x01 \x03(\x0b\x32%.cloudidl.workflow.Labels.ValuesEntryR\x06values\x1a\x39\n\x0bValuesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\x8c\x01\n\x0b\x41nnotations\x12\x42\n\x06values\x18\x01 \x03(\x0b\x32*.cloudidl.workflow.Annotations.ValuesEntryR\x06values\x1a\x39\n\x0bValuesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\";\n\x04\x45nvs\x12\x33\n\x06values\x18\x01 \x03(\x0b\x32\x1b.flyteidl.core.KeyValuePairR\x06values\"\x96\x02\n\x07RunSpec\x12\x31\n\x06labels\x18\x01 \x01(\x0b\x32\x19.cloudidl.workflow.LabelsR\x06labels\x12@\n\x0b\x61nnotations\x18\x02 \x01(\x0b\x32\x1e.cloudidl.workflow.AnnotationsR\x0b\x61nnotations\x12+\n\x04\x65nvs\x18\x03 \x01(\x0b\x32\x17.cloudidl.workflow.EnvsR\x04\x65nvs\x12@\n\rinterruptible\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\rinterruptible\x12\'\n\x0foverwrite_cache\x18\x05 \x01(\x08R\x0eoverwriteCache\"8\n\x03Run\x12\x31\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x19.cloudidl.workflow.ActionR\x06\x61\x63tion\"}\n\nRunDetails\x12\x35\n\x08run_spec\x18\x01 \x01(\x0b\x32\x1a.cloudidl.workflow.RunSpecR\x07runSpec\x12\x38\n\x06\x61\x63tion\x18\x02 \x01(\x0b\x32 .cloudidl.workflow.ActionDetailsR\x06\x61\x63tion\"\x83\x01\n\x12TaskActionMetadata\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierR\x02id\x12\x1b\n\ttask_type\x18\x02 \x01(\tR\x08taskType\x12\x1d\n\nshort_name\x18\x03 \x01(\tR\tshortName\")\n\x13TraceActionMetadata\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"\x9f\x01\n\x17\x43onditionActionMetadata\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x06run_id\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01H\x00R\x05runId\x12&\n\taction_id\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01H\x00R\x08\x61\x63tionId\x12\x18\n\x06global\x18\x04 \x01(\x08H\x00R\x06globalB\x0c\n\x05scope\x12\x03\xf8\x42\x01\"\xf1\x02\n\x0e\x41\x63tionMetadata\x12\x16\n\x06parent\x18\x03 \x01(\tR\x06parent\x12\x14\n\x05group\x18\x05 \x01(\tR\x05group\x12\x42\n\x0b\x65xecuted_by\x18\x06 \x01(\x0b\x32!.cloudidl.common.EnrichedIdentityR\nexecutedBy\x12\x45\n\x04task\x18\x07 \x01(\x0b\x32%.cloudidl.workflow.TaskActionMetadataB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x04task\x12H\n\x05trace\x18\x08 \x01(\x0b\x32&.cloudidl.workflow.TraceActionMetadataB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x05trace\x12T\n\tcondition\x18\t \x01(\x0b\x32*.cloudidl.workflow.ConditionActionMetadataB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tconditionB\x06\n\x04spec\"\xe7\x01\n\x0c\x41\x63tionStatus\x12.\n\x05phase\x18\x01 \x01(\x0e\x32\x18.cloudidl.workflow.PhaseR\x05phase\x12\x39\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12:\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x07\x65ndTime\x88\x01\x01\x12#\n\x08\x61ttempts\x18\x04 \x01(\rB\x07\xfa\x42\x04*\x02 \x00R\x08\x61ttemptsB\x0b\n\t_end_time\"\xb3\x01\n\x06\x41\x63tion\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32!.cloudidl.common.ActionIdentifierR\x02id\x12=\n\x08metadata\x18\x02 \x01(\x0b\x32!.cloudidl.workflow.ActionMetadataR\x08metadata\x12\x37\n\x06status\x18\x03 \x01(\x0b\x32\x1f.cloudidl.workflow.ActionStatusR\x06status\"\x9e\x02\n\x0e\x45nrichedAction\x12\x31\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\x19.cloudidl.workflow.ActionR\x06\x61\x63tion\x12!\n\x0cmeets_filter\x18\x02 \x01(\x08R\x0bmeetsFilter\x12n\n\x15\x63hildren_phase_counts\x18\x03 \x03(\x0b\x32:.cloudidl.workflow.EnrichedAction.ChildrenPhaseCountsEntryR\x13\x63hildrenPhaseCounts\x1a\x46\n\x18\x43hildrenPhaseCountsEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\x9a\x01\n\tErrorInfo\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message\x12\x35\n\x04kind\x18\x02 \x01(\x0e\x32!.cloudidl.workflow.ErrorInfo.KindR\x04kind\"<\n\x04Kind\x12\x14\n\x10KIND_UNSPECIFIED\x10\x00\x12\r\n\tKIND_USER\x10\x01\x12\x0f\n\x0bKIND_SYSTEM\x10\x02\"e\n\tAbortInfo\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reason\x12@\n\naborted_by\x18\x02 \x01(\x0b\x32!.cloudidl.common.EnrichedIdentityR\tabortedBy\"\xcb\x03\n\rActionDetails\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32!.cloudidl.common.ActionIdentifierR\x02id\x12=\n\x08metadata\x18\x02 \x01(\x0b\x32!.cloudidl.workflow.ActionMetadataR\x08metadata\x12\x37\n\x06status\x18\x03 \x01(\x0b\x32\x1f.cloudidl.workflow.ActionStatusR\x06status\x12=\n\nerror_info\x18\x04 \x01(\x0b\x32\x1c.cloudidl.workflow.ErrorInfoH\x00R\terrorInfo\x12=\n\nabort_info\x18\x05 \x01(\x0b\x32\x1c.cloudidl.workflow.AbortInfoH\x00R\tabortInfo\x12I\n\x12resolved_task_spec\x18\x06 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecR\x10resolvedTaskSpec\x12<\n\x08\x61ttempts\x18\x07 \x03(\x0b\x32 .cloudidl.workflow.ActionAttemptR\x08\x61ttemptsB\x08\n\x06result\"\xc9\x05\n\rActionAttempt\x12.\n\x05phase\x18\x01 \x01(\x0e\x32\x18.cloudidl.workflow.PhaseR\x05phase\x12\x39\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12:\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x07\x65ndTime\x88\x01\x01\x12@\n\nerror_info\x18\x04 \x01(\x0b\x32\x1c.cloudidl.workflow.ErrorInfoH\x01R\terrorInfo\x88\x01\x01\x12!\n\x07\x61ttempt\x18\x05 \x01(\rB\x07\xfa\x42\x04*\x02 \x00R\x07\x61ttempt\x12\x31\n\x08log_info\x18\x06 \x03(\x0b\x32\x16.flyteidl.core.TaskLogR\x07logInfo\x12=\n\x07outputs\x18\x07 \x01(\x0b\x32#.cloudidl.workflow.OutputReferencesR\x07outputs\x12%\n\x0elogs_available\x18\x08 \x01(\x08R\rlogsAvailable\x12\x44\n\x0c\x63\x61\x63he_status\x18\t \x01(\x0e\x32!.flyteidl.core.CatalogCacheStatusR\x0b\x63\x61\x63heStatus\x12\x46\n\x0e\x63luster_events\x18\n \x03(\x0b\x32\x1f.cloudidl.workflow.ClusterEventR\rclusterEvents\x12O\n\x11phase_transitions\x18\x0b \x03(\x0b\x32\".cloudidl.workflow.PhaseTransitionR\x10phaseTransitions\x12\x18\n\x07\x63luster\x18\x0c \x01(\tR\x07\x63lusterB\x0b\n\t_end_timeB\r\n\x0b_error_info\"e\n\x0c\x43lusterEvent\x12;\n\x0boccurred_at\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\noccurredAt\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\"\xc5\x01\n\x0fPhaseTransition\x12.\n\x05phase\x18\x01 \x01(\x0e\x32\x18.cloudidl.workflow.PhaseR\x05phase\x12\x39\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12:\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x07\x65ndTime\x88\x01\x01\x42\x0b\n\t_end_time\"\xa9\x06\n\x0b\x41\x63tionEvent\x12;\n\x02id\x18\x01 \x01(\x0b\x32!.cloudidl.common.ActionIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x02id\x12!\n\x07\x61ttempt\x18\x02 \x01(\rB\x07\xfa\x42\x04*\x02 \x00R\x07\x61ttempt\x12.\n\x05phase\x18\x03 \x01(\x0e\x32\x18.cloudidl.workflow.PhaseR\x05phase\x12\x18\n\x07version\x18\x04 \x01(\rR\x07version\x12=\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01R\tstartTime\x12=\n\x0cupdated_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bupdatedTime\x12>\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01H\x00R\x07\x65ndTime\x88\x01\x01\x12@\n\nerror_info\x18\x08 \x01(\x0b\x32\x1c.cloudidl.workflow.ErrorInfoH\x01R\terrorInfo\x88\x01\x01\x12\x31\n\x08log_info\x18\t \x03(\x0b\x32\x16.flyteidl.core.TaskLogR\x07logInfo\x12:\n\x0blog_context\x18\n \x01(\x0b\x32\x19.flyteidl.core.LogContextR\nlogContext\x12\x18\n\x07\x63luster\x18\x0b \x01(\tR\x07\x63luster\x12=\n\x07outputs\x18\x0c \x01(\x0b\x32#.cloudidl.workflow.OutputReferencesR\x07outputs\x12\x44\n\x0c\x63\x61\x63he_status\x18\r \x01(\x0e\x32!.flyteidl.core.CatalogCacheStatusR\x0b\x63\x61\x63heStatus\x12\x46\n\x0e\x63luster_events\x18\x0e \x03(\x0b\x32\x1f.cloudidl.workflow.ClusterEventR\rclusterEventsB\x0b\n\t_end_timeB\r\n\x0b_error_info\"P\n\x0cNamedLiteral\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\"P\n\x10OutputReferences\x12\x1d\n\noutput_uri\x18\x01 \x01(\tR\toutputUri\x12\x1d\n\nreport_uri\x18\x02 \x01(\tR\treportUri\"E\n\x06Inputs\x12;\n\x08literals\x18\x01 \x03(\x0b\x32\x1f.cloudidl.workflow.NamedLiteralR\x08literals\"F\n\x07Outputs\x12;\n\x08literals\x18\x01 \x03(\x0b\x32\x1f.cloudidl.workflow.NamedLiteralR\x08literals*\xcb\x01\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPHASE_QUEUED\x10\x01\x12\x1f\n\x1bPHASE_WAITING_FOR_RESOURCES\x10\x02\x12\x16\n\x12PHASE_INITIALIZING\x10\x03\x12\x11\n\rPHASE_RUNNING\x10\x04\x12\x13\n\x0fPHASE_SUCCEEDED\x10\x05\x12\x10\n\x0cPHASE_FAILED\x10\x06\x12\x11\n\rPHASE_ABORTED\x10\x07\x12\x13\n\x0fPHASE_TIMED_OUT\x10\x08\x42\xbf\x01\n\x15\x63om.cloudidl.workflowB\x12RunDefinitionProtoH\x02P\x01Z+github.com/unionai/cloud/gen/pb-go/workflow\xa2\x02\x03\x43WX\xaa\x02\x11\x43loudidl.Workflow\xca\x02\x11\x43loudidl\\Workflow\xe2\x02\x1d\x43loudidl\\Workflow\\GPBMetadata\xea\x02\x12\x43loudidl::Workflowb\x06proto3')
|
|
25
26
|
|
|
26
27
|
_globals = globals()
|
|
27
28
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -29,22 +30,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.run_definition_pb2
|
|
|
29
30
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
30
31
|
DESCRIPTOR._options = None
|
|
31
32
|
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\022RunDefinitionProtoH\002P\001Z+github.com/unionai/cloud/gen/pb-go/workflow\242\002\003CWX\252\002\021Cloudidl.Workflow\312\002\021Cloudidl\\Workflow\342\002\035Cloudidl\\Workflow\\GPBMetadata\352\002\022Cloudidl::Workflow'
|
|
32
|
-
_RUNIDENTIFIER.fields_by_name['org']._options = None
|
|
33
|
-
_RUNIDENTIFIER.fields_by_name['org']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
34
|
-
_RUNIDENTIFIER.fields_by_name['project']._options = None
|
|
35
|
-
_RUNIDENTIFIER.fields_by_name['project']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
36
|
-
_RUNIDENTIFIER.fields_by_name['domain']._options = None
|
|
37
|
-
_RUNIDENTIFIER.fields_by_name['domain']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
38
|
-
_RUNIDENTIFIER.fields_by_name['name']._options = None
|
|
39
|
-
_RUNIDENTIFIER.fields_by_name['name']._serialized_options = b'\372B\006r\004\020\001\030\036'
|
|
40
33
|
_LABELS_VALUESENTRY._options = None
|
|
41
34
|
_LABELS_VALUESENTRY._serialized_options = b'8\001'
|
|
42
35
|
_ANNOTATIONS_VALUESENTRY._options = None
|
|
43
36
|
_ANNOTATIONS_VALUESENTRY._serialized_options = b'8\001'
|
|
44
|
-
_ACTIONIDENTIFIER.fields_by_name['run']._options = None
|
|
45
|
-
_ACTIONIDENTIFIER.fields_by_name['run']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
46
|
-
_ACTIONIDENTIFIER.fields_by_name['name']._options = None
|
|
47
|
-
_ACTIONIDENTIFIER.fields_by_name['name']._serialized_options = b'\372B\006r\004\020\001\030\036'
|
|
48
37
|
_CONDITIONACTIONMETADATA.oneofs_by_name['scope']._options = None
|
|
49
38
|
_CONDITIONACTIONMETADATA.oneofs_by_name['scope']._serialized_options = b'\370B\001'
|
|
50
39
|
_CONDITIONACTIONMETADATA.fields_by_name['run_id']._options = None
|
|
@@ -67,62 +56,66 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
67
56
|
_ACTIONEVENT.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
68
57
|
_ACTIONEVENT.fields_by_name['attempt']._options = None
|
|
69
58
|
_ACTIONEVENT.fields_by_name['attempt']._serialized_options = b'\372B\004*\002 \000'
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['_TASKACTIONMETADATA']._serialized_start=
|
|
93
|
-
_globals['_TASKACTIONMETADATA']._serialized_end=
|
|
94
|
-
_globals['_TRACEACTIONMETADATA']._serialized_start=
|
|
95
|
-
_globals['_TRACEACTIONMETADATA']._serialized_end=
|
|
96
|
-
_globals['_CONDITIONACTIONMETADATA']._serialized_start=
|
|
97
|
-
_globals['_CONDITIONACTIONMETADATA']._serialized_end=
|
|
98
|
-
_globals['_ACTIONMETADATA']._serialized_start=
|
|
99
|
-
_globals['_ACTIONMETADATA']._serialized_end=
|
|
100
|
-
_globals['_ACTIONSTATUS']._serialized_start=
|
|
101
|
-
_globals['_ACTIONSTATUS']._serialized_end=
|
|
102
|
-
_globals['_ACTION']._serialized_start=
|
|
103
|
-
_globals['_ACTION']._serialized_end=
|
|
104
|
-
_globals['_ENRICHEDACTION']._serialized_start=
|
|
105
|
-
_globals['_ENRICHEDACTION']._serialized_end=
|
|
106
|
-
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_start=
|
|
107
|
-
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_end=
|
|
108
|
-
_globals['_ERRORINFO']._serialized_start=
|
|
109
|
-
_globals['_ERRORINFO']._serialized_end=
|
|
110
|
-
_globals['_ERRORINFO_KIND']._serialized_start=
|
|
111
|
-
_globals['_ERRORINFO_KIND']._serialized_end=
|
|
112
|
-
_globals['_ABORTINFO']._serialized_start=
|
|
113
|
-
_globals['_ABORTINFO']._serialized_end=
|
|
114
|
-
_globals['_ACTIONDETAILS']._serialized_start=
|
|
115
|
-
_globals['_ACTIONDETAILS']._serialized_end=
|
|
116
|
-
_globals['_ACTIONATTEMPT']._serialized_start=
|
|
117
|
-
_globals['_ACTIONATTEMPT']._serialized_end=
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
120
|
-
_globals['
|
|
121
|
-
_globals['
|
|
122
|
-
_globals['
|
|
123
|
-
_globals['
|
|
124
|
-
_globals['
|
|
125
|
-
_globals['
|
|
126
|
-
_globals['
|
|
127
|
-
_globals['
|
|
59
|
+
_ACTIONEVENT.fields_by_name['start_time']._options = None
|
|
60
|
+
_ACTIONEVENT.fields_by_name['start_time']._serialized_options = b'\030\001'
|
|
61
|
+
_ACTIONEVENT.fields_by_name['end_time']._options = None
|
|
62
|
+
_ACTIONEVENT.fields_by_name['end_time']._serialized_options = b'\030\001'
|
|
63
|
+
_globals['_PHASE']._serialized_start=5392
|
|
64
|
+
_globals['_PHASE']._serialized_end=5595
|
|
65
|
+
_globals['_LABELS']._serialized_start=313
|
|
66
|
+
_globals['_LABELS']._serialized_end=443
|
|
67
|
+
_globals['_LABELS_VALUESENTRY']._serialized_start=386
|
|
68
|
+
_globals['_LABELS_VALUESENTRY']._serialized_end=443
|
|
69
|
+
_globals['_ANNOTATIONS']._serialized_start=446
|
|
70
|
+
_globals['_ANNOTATIONS']._serialized_end=586
|
|
71
|
+
_globals['_ANNOTATIONS_VALUESENTRY']._serialized_start=386
|
|
72
|
+
_globals['_ANNOTATIONS_VALUESENTRY']._serialized_end=443
|
|
73
|
+
_globals['_ENVS']._serialized_start=588
|
|
74
|
+
_globals['_ENVS']._serialized_end=647
|
|
75
|
+
_globals['_RUNSPEC']._serialized_start=650
|
|
76
|
+
_globals['_RUNSPEC']._serialized_end=928
|
|
77
|
+
_globals['_RUN']._serialized_start=930
|
|
78
|
+
_globals['_RUN']._serialized_end=986
|
|
79
|
+
_globals['_RUNDETAILS']._serialized_start=988
|
|
80
|
+
_globals['_RUNDETAILS']._serialized_end=1113
|
|
81
|
+
_globals['_TASKACTIONMETADATA']._serialized_start=1116
|
|
82
|
+
_globals['_TASKACTIONMETADATA']._serialized_end=1247
|
|
83
|
+
_globals['_TRACEACTIONMETADATA']._serialized_start=1249
|
|
84
|
+
_globals['_TRACEACTIONMETADATA']._serialized_end=1290
|
|
85
|
+
_globals['_CONDITIONACTIONMETADATA']._serialized_start=1293
|
|
86
|
+
_globals['_CONDITIONACTIONMETADATA']._serialized_end=1452
|
|
87
|
+
_globals['_ACTIONMETADATA']._serialized_start=1455
|
|
88
|
+
_globals['_ACTIONMETADATA']._serialized_end=1824
|
|
89
|
+
_globals['_ACTIONSTATUS']._serialized_start=1827
|
|
90
|
+
_globals['_ACTIONSTATUS']._serialized_end=2058
|
|
91
|
+
_globals['_ACTION']._serialized_start=2061
|
|
92
|
+
_globals['_ACTION']._serialized_end=2240
|
|
93
|
+
_globals['_ENRICHEDACTION']._serialized_start=2243
|
|
94
|
+
_globals['_ENRICHEDACTION']._serialized_end=2529
|
|
95
|
+
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_start=2459
|
|
96
|
+
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_end=2529
|
|
97
|
+
_globals['_ERRORINFO']._serialized_start=2532
|
|
98
|
+
_globals['_ERRORINFO']._serialized_end=2686
|
|
99
|
+
_globals['_ERRORINFO_KIND']._serialized_start=2626
|
|
100
|
+
_globals['_ERRORINFO_KIND']._serialized_end=2686
|
|
101
|
+
_globals['_ABORTINFO']._serialized_start=2688
|
|
102
|
+
_globals['_ABORTINFO']._serialized_end=2789
|
|
103
|
+
_globals['_ACTIONDETAILS']._serialized_start=2792
|
|
104
|
+
_globals['_ACTIONDETAILS']._serialized_end=3251
|
|
105
|
+
_globals['_ACTIONATTEMPT']._serialized_start=3254
|
|
106
|
+
_globals['_ACTIONATTEMPT']._serialized_end=3967
|
|
107
|
+
_globals['_CLUSTEREVENT']._serialized_start=3969
|
|
108
|
+
_globals['_CLUSTEREVENT']._serialized_end=4070
|
|
109
|
+
_globals['_PHASETRANSITION']._serialized_start=4073
|
|
110
|
+
_globals['_PHASETRANSITION']._serialized_end=4270
|
|
111
|
+
_globals['_ACTIONEVENT']._serialized_start=4273
|
|
112
|
+
_globals['_ACTIONEVENT']._serialized_end=5082
|
|
113
|
+
_globals['_NAMEDLITERAL']._serialized_start=5084
|
|
114
|
+
_globals['_NAMEDLITERAL']._serialized_end=5164
|
|
115
|
+
_globals['_OUTPUTREFERENCES']._serialized_start=5166
|
|
116
|
+
_globals['_OUTPUTREFERENCES']._serialized_end=5246
|
|
117
|
+
_globals['_INPUTS']._serialized_start=5248
|
|
118
|
+
_globals['_INPUTS']._serialized_end=5317
|
|
119
|
+
_globals['_OUTPUTS']._serialized_start=5319
|
|
120
|
+
_globals['_OUTPUTS']._serialized_end=5389
|
|
128
121
|
# @@protoc_insertion_point(module_scope)
|