flyte 2.0.0b13__py3-none-any.whl → 2.0.0b15__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/_bin/debug.py +38 -0
- flyte/_bin/runtime.py +13 -0
- flyte/_code_bundle/_utils.py +2 -0
- flyte/_code_bundle/bundle.py +4 -4
- flyte/_debug/__init__.py +0 -0
- flyte/_debug/constants.py +39 -0
- flyte/_debug/utils.py +17 -0
- flyte/_debug/vscode.py +300 -0
- flyte/_image.py +32 -6
- flyte/_initialize.py +14 -28
- flyte/_internal/controllers/remote/_action.py +1 -1
- flyte/_internal/controllers/remote/_controller.py +35 -35
- flyte/_internal/imagebuild/docker_builder.py +11 -15
- flyte/_internal/imagebuild/remote_builder.py +52 -23
- flyte/_internal/runtime/entrypoints.py +3 -0
- flyte/_internal/runtime/task_serde.py +1 -2
- flyte/_internal/runtime/taskrunner.py +9 -3
- flyte/_protos/common/identifier_pb2.py +25 -19
- flyte/_protos/common/identifier_pb2.pyi +10 -0
- flyte/_protos/imagebuilder/definition_pb2.py +32 -31
- flyte/_protos/imagebuilder/definition_pb2.pyi +25 -12
- flyte/_protos/workflow/queue_service_pb2.py +26 -24
- flyte/_protos/workflow/queue_service_pb2.pyi +6 -4
- flyte/_protos/workflow/run_definition_pb2.py +50 -48
- flyte/_protos/workflow/run_definition_pb2.pyi +41 -16
- flyte/_protos/workflow/task_definition_pb2.py +16 -13
- flyte/_protos/workflow/task_definition_pb2.pyi +7 -0
- flyte/_task.py +6 -6
- flyte/_task_environment.py +4 -4
- flyte/_version.py +3 -3
- flyte/cli/_build.py +2 -3
- flyte/cli/_run.py +11 -12
- flyte/models.py +2 -0
- flyte/remote/_action.py +5 -2
- flyte/remote/_client/auth/_authenticators/device_code.py +1 -1
- flyte/remote/_client/auth/_authenticators/pkce.py +1 -1
- flyte/remote/_task.py +4 -4
- flyte-2.0.0b15.data/scripts/debug.py +38 -0
- {flyte-2.0.0b13.data → flyte-2.0.0b15.data}/scripts/runtime.py +13 -0
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b15.dist-info}/METADATA +2 -2
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b15.dist-info}/RECORD +45 -39
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b15.dist-info}/WHEEL +0 -0
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b15.dist-info}/entry_points.txt +0 -0
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b15.dist-info}/licenses/LICENSE +0 -0
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b15.dist-info}/top_level.txt +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from flyteidl.core import security_pb2 as _security_pb2
|
|
1
2
|
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
2
3
|
from google.protobuf.internal import containers as _containers
|
|
3
4
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -21,10 +22,12 @@ class Image(_message.Message):
|
|
|
21
22
|
def __init__(self, id: _Optional[_Union[ImageIdentifier, _Mapping]] = ..., fqin: _Optional[str] = ...) -> None: ...
|
|
22
23
|
|
|
23
24
|
class AptPackages(_message.Message):
|
|
24
|
-
__slots__ = ["packages"]
|
|
25
|
+
__slots__ = ["packages", "secret_mounts"]
|
|
25
26
|
PACKAGES_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
26
28
|
packages: _containers.RepeatedScalarFieldContainer[str]
|
|
27
|
-
|
|
29
|
+
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
30
|
+
def __init__(self, packages: _Optional[_Iterable[str]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
28
31
|
|
|
29
32
|
class PipOptions(_message.Message):
|
|
30
33
|
__slots__ = ["index_url", "extra_index_urls", "pre", "extra_args"]
|
|
@@ -39,44 +42,54 @@ class PipOptions(_message.Message):
|
|
|
39
42
|
def __init__(self, index_url: _Optional[str] = ..., extra_index_urls: _Optional[_Iterable[str]] = ..., pre: bool = ..., extra_args: _Optional[str] = ...) -> None: ...
|
|
40
43
|
|
|
41
44
|
class PipPackages(_message.Message):
|
|
42
|
-
__slots__ = ["packages", "options"]
|
|
45
|
+
__slots__ = ["packages", "options", "secret_mounts"]
|
|
43
46
|
PACKAGES_FIELD_NUMBER: _ClassVar[int]
|
|
44
47
|
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
45
49
|
packages: _containers.RepeatedScalarFieldContainer[str]
|
|
46
50
|
options: PipOptions
|
|
47
|
-
|
|
51
|
+
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
52
|
+
def __init__(self, packages: _Optional[_Iterable[str]] = ..., options: _Optional[_Union[PipOptions, _Mapping]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
48
53
|
|
|
49
54
|
class Requirements(_message.Message):
|
|
50
|
-
__slots__ = ["file", "options"]
|
|
55
|
+
__slots__ = ["file", "options", "secret_mounts"]
|
|
51
56
|
FILE_FIELD_NUMBER: _ClassVar[int]
|
|
52
57
|
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
53
59
|
file: str
|
|
54
60
|
options: PipOptions
|
|
55
|
-
|
|
61
|
+
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
62
|
+
def __init__(self, file: _Optional[str] = ..., options: _Optional[_Union[PipOptions, _Mapping]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
56
63
|
|
|
57
64
|
class PythonWheels(_message.Message):
|
|
58
|
-
__slots__ = ["dir", "options"]
|
|
65
|
+
__slots__ = ["dir", "options", "secret_mounts"]
|
|
59
66
|
DIR_FIELD_NUMBER: _ClassVar[int]
|
|
60
67
|
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
61
69
|
dir: str
|
|
62
70
|
options: PipOptions
|
|
63
|
-
|
|
71
|
+
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
72
|
+
def __init__(self, dir: _Optional[str] = ..., options: _Optional[_Union[PipOptions, _Mapping]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
64
73
|
|
|
65
74
|
class UVProject(_message.Message):
|
|
66
|
-
__slots__ = ["pyproject", "uvlock", "options"]
|
|
75
|
+
__slots__ = ["pyproject", "uvlock", "options", "secret_mounts"]
|
|
67
76
|
PYPROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
68
77
|
UVLOCK_FIELD_NUMBER: _ClassVar[int]
|
|
69
78
|
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
70
80
|
pyproject: str
|
|
71
81
|
uvlock: str
|
|
72
82
|
options: PipOptions
|
|
73
|
-
|
|
83
|
+
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
84
|
+
def __init__(self, pyproject: _Optional[str] = ..., uvlock: _Optional[str] = ..., options: _Optional[_Union[PipOptions, _Mapping]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
74
85
|
|
|
75
86
|
class Commands(_message.Message):
|
|
76
|
-
__slots__ = ["cmd"]
|
|
87
|
+
__slots__ = ["cmd", "secret_mounts"]
|
|
77
88
|
CMD_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
78
90
|
cmd: _containers.RepeatedScalarFieldContainer[str]
|
|
79
|
-
|
|
91
|
+
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
92
|
+
def __init__(self, cmd: _Optional[_Iterable[str]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
80
93
|
|
|
81
94
|
class WorkDir(_message.Message):
|
|
82
95
|
__slots__ = ["workdir"]
|
|
@@ -20,7 +20,7 @@ from flyte._protos.workflow import run_definition_pb2 as workflow_dot_run__defin
|
|
|
20
20
|
from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
|
|
21
21
|
|
|
22
22
|
|
|
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\"\
|
|
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\"\xcf\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\x12\x18\n\x07\x63luster\x18\x04 \x01(\tR\x07\x63luster\"\xd9\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\x07outputs\x12:\n\x04spec\x18\x06 \x01(\x0b\x32\x1c.cloudidl.workflow.TraceSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04specB\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')
|
|
24
24
|
|
|
25
25
|
_globals = globals()
|
|
26
26
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -50,6 +50,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
50
50
|
_TASKACTION.fields_by_name['spec']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
51
51
|
_TRACEACTION.fields_by_name['name']._options = None
|
|
52
52
|
_TRACEACTION.fields_by_name['name']._serialized_options = b'\372B\004r\002\020\001'
|
|
53
|
+
_TRACEACTION.fields_by_name['spec']._options = None
|
|
54
|
+
_TRACEACTION.fields_by_name['spec']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
53
55
|
_CONDITIONACTION.oneofs_by_name['scope']._options = None
|
|
54
56
|
_CONDITIONACTION.oneofs_by_name['scope']._serialized_options = b'\370B\001'
|
|
55
57
|
_CONDITIONACTION.fields_by_name['name']._options = None
|
|
@@ -83,27 +85,27 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
83
85
|
_globals['_ENQUEUEACTIONREQUEST']._serialized_start=386
|
|
84
86
|
_globals['_ENQUEUEACTIONREQUEST']._serialized_end=961
|
|
85
87
|
_globals['_TASKACTION']._serialized_start=964
|
|
86
|
-
_globals['_TASKACTION']._serialized_end=
|
|
87
|
-
_globals['_TRACEACTION']._serialized_start=
|
|
88
|
-
_globals['_TRACEACTION']._serialized_end=
|
|
89
|
-
_globals['_CONDITIONACTION']._serialized_start=
|
|
90
|
-
_globals['_CONDITIONACTION']._serialized_end=
|
|
91
|
-
_globals['_ENQUEUEACTIONRESPONSE']._serialized_start=
|
|
92
|
-
_globals['_ENQUEUEACTIONRESPONSE']._serialized_end=
|
|
93
|
-
_globals['_ABORTQUEUEDRUNREQUEST']._serialized_start=
|
|
94
|
-
_globals['_ABORTQUEUEDRUNREQUEST']._serialized_end=
|
|
95
|
-
_globals['_ABORTQUEUEDRUNRESPONSE']._serialized_start=
|
|
96
|
-
_globals['_ABORTQUEUEDRUNRESPONSE']._serialized_end=
|
|
97
|
-
_globals['_HEARTBEATREQUEST']._serialized_start=
|
|
98
|
-
_globals['_HEARTBEATREQUEST']._serialized_end=
|
|
99
|
-
_globals['_HEARTBEATRESPONSE']._serialized_start=
|
|
100
|
-
_globals['_HEARTBEATRESPONSE']._serialized_end=
|
|
101
|
-
_globals['_STREAMLEASESREQUEST']._serialized_start=
|
|
102
|
-
_globals['_STREAMLEASESREQUEST']._serialized_end=
|
|
103
|
-
_globals['_STREAMLEASESRESPONSE']._serialized_start=
|
|
104
|
-
_globals['_STREAMLEASESRESPONSE']._serialized_end=
|
|
105
|
-
_globals['_LEASE']._serialized_start=
|
|
106
|
-
_globals['_LEASE']._serialized_end=
|
|
107
|
-
_globals['_QUEUESERVICE']._serialized_start=
|
|
108
|
-
_globals['_QUEUESERVICE']._serialized_end=
|
|
88
|
+
_globals['_TASKACTION']._serialized_end=1171
|
|
89
|
+
_globals['_TRACEACTION']._serialized_start=1174
|
|
90
|
+
_globals['_TRACEACTION']._serialized_end=1519
|
|
91
|
+
_globals['_CONDITIONACTION']._serialized_start=1522
|
|
92
|
+
_globals['_CONDITIONACTION']._serialized_end=1788
|
|
93
|
+
_globals['_ENQUEUEACTIONRESPONSE']._serialized_start=1790
|
|
94
|
+
_globals['_ENQUEUEACTIONRESPONSE']._serialized_end=1813
|
|
95
|
+
_globals['_ABORTQUEUEDRUNREQUEST']._serialized_start=1815
|
|
96
|
+
_globals['_ABORTQUEUEDRUNREQUEST']._serialized_end=1903
|
|
97
|
+
_globals['_ABORTQUEUEDRUNRESPONSE']._serialized_start=1905
|
|
98
|
+
_globals['_ABORTQUEUEDRUNRESPONSE']._serialized_end=1929
|
|
99
|
+
_globals['_HEARTBEATREQUEST']._serialized_start=1932
|
|
100
|
+
_globals['_HEARTBEATREQUEST']._serialized_end=2316
|
|
101
|
+
_globals['_HEARTBEATRESPONSE']._serialized_start=2319
|
|
102
|
+
_globals['_HEARTBEATRESPONSE']._serialized_end=2545
|
|
103
|
+
_globals['_STREAMLEASESREQUEST']._serialized_start=2547
|
|
104
|
+
_globals['_STREAMLEASESREQUEST']._serialized_end=2644
|
|
105
|
+
_globals['_STREAMLEASESRESPONSE']._serialized_start=2646
|
|
106
|
+
_globals['_STREAMLEASESRESPONSE']._serialized_end=2718
|
|
107
|
+
_globals['_LEASE']._serialized_start=2721
|
|
108
|
+
_globals['_LEASE']._serialized_end=3306
|
|
109
|
+
_globals['_QUEUESERVICE']._serialized_start=3309
|
|
110
|
+
_globals['_QUEUESERVICE']._serialized_end=3725
|
|
109
111
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -47,14 +47,16 @@ class EnqueueActionRequest(_message.Message):
|
|
|
47
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: ...
|
|
48
48
|
|
|
49
49
|
class TaskAction(_message.Message):
|
|
50
|
-
__slots__ = ["id", "spec", "cache_key"]
|
|
50
|
+
__slots__ = ["id", "spec", "cache_key", "cluster"]
|
|
51
51
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
52
52
|
SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
53
53
|
CACHE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
CLUSTER_FIELD_NUMBER: _ClassVar[int]
|
|
54
55
|
id: _task_definition_pb2.TaskIdentifier
|
|
55
56
|
spec: _task_definition_pb2.TaskSpec
|
|
56
57
|
cache_key: _wrappers_pb2.StringValue
|
|
57
|
-
|
|
58
|
+
cluster: str
|
|
59
|
+
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]] = ..., cluster: _Optional[str] = ...) -> None: ...
|
|
58
60
|
|
|
59
61
|
class TraceAction(_message.Message):
|
|
60
62
|
__slots__ = ["name", "phase", "start_time", "end_time", "outputs", "spec"]
|
|
@@ -69,8 +71,8 @@ class TraceAction(_message.Message):
|
|
|
69
71
|
start_time: _timestamp_pb2.Timestamp
|
|
70
72
|
end_time: _timestamp_pb2.Timestamp
|
|
71
73
|
outputs: _run_definition_pb2.OutputReferences
|
|
72
|
-
spec: _task_definition_pb2.
|
|
73
|
-
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]] = ..., spec: _Optional[_Union[_task_definition_pb2.
|
|
74
|
+
spec: _task_definition_pb2.TraceSpec
|
|
75
|
+
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]] = ..., spec: _Optional[_Union[_task_definition_pb2.TraceSpec, _Mapping]] = ...) -> None: ...
|
|
74
76
|
|
|
75
77
|
class ConditionAction(_message.Message):
|
|
76
78
|
__slots__ = ["name", "run_id", "action_id", "type", "prompt", "description"]
|
|
@@ -22,7 +22,7 @@ from flyte._protos.validate.validate import validate_pb2 as validate_dot_validat
|
|
|
22
22
|
from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
|
|
23
23
|
|
|
24
24
|
|
|
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
|
+
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\"\xb0\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\x12\x18\n\x07\x63luster\x18\x06 \x01(\tR\x07\x63luster\"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\"\xb1\x03\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\tcondition\x12>\n\x0b\x61\x63tion_type\x18\n \x01(\x0e\x32\x1d.cloudidl.workflow.ActionTypeR\nactionTypeB\x06\n\x04spec\"\xad\x02\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\x61ttempts\x12\x44\n\x0c\x63\x61\x63he_status\x18\x05 \x01(\x0e\x32!.flyteidl.core.CatalogCacheStatusR\x0b\x63\x61\x63heStatusB\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\"\xf1\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\x12\x31\n\x04task\x18\x06 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecH\x01R\x04task\x12\x34\n\x05trace\x18\x08 \x01(\x0b\x32\x1c.cloudidl.workflow.TraceSpecH\x01R\x05trace\x12<\n\x08\x61ttempts\x18\x07 \x03(\x0b\x32 .cloudidl.workflow.ActionAttemptR\x08\x61ttemptsB\x08\n\x06resultB\x06\n\x04spec\"\x85\x06\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\x63luster\x12:\n\x0blog_context\x18\r \x01(\x0b\x32\x19.flyteidl.core.LogContextR\nlogContextB\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\"\xea\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\rclusterEvents\x12?\n\rreported_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0creportedTimeB\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\"|\n\x06Inputs\x12;\n\x08literals\x18\x01 \x03(\x0b\x32\x1f.cloudidl.workflow.NamedLiteralR\x08literals\x12\x35\n\x07\x63ontext\x18\x02 \x03(\x0b\x32\x1b.flyteidl.core.KeyValuePairR\x07\x63ontext\"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*q\n\nActionType\x12\x1b\n\x17\x41\x43TION_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41\x43TION_TYPE_TASK\x10\x01\x12\x15\n\x11\x41\x43TION_TYPE_TRACE\x10\x02\x12\x19\n\x15\x41\x43TION_TYPE_CONDITION\x10\x03\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')
|
|
26
26
|
|
|
27
27
|
_globals = globals()
|
|
28
28
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -60,8 +60,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
60
60
|
_ACTIONEVENT.fields_by_name['start_time']._serialized_options = b'\030\001'
|
|
61
61
|
_ACTIONEVENT.fields_by_name['end_time']._options = None
|
|
62
62
|
_ACTIONEVENT.fields_by_name['end_time']._serialized_options = b'\030\001'
|
|
63
|
-
_globals['_PHASE']._serialized_start=
|
|
64
|
-
_globals['_PHASE']._serialized_end=
|
|
63
|
+
_globals['_PHASE']._serialized_start=5770
|
|
64
|
+
_globals['_PHASE']._serialized_end=5973
|
|
65
|
+
_globals['_ACTIONTYPE']._serialized_start=5975
|
|
66
|
+
_globals['_ACTIONTYPE']._serialized_end=6088
|
|
65
67
|
_globals['_LABELS']._serialized_start=313
|
|
66
68
|
_globals['_LABELS']._serialized_end=443
|
|
67
69
|
_globals['_LABELS_VALUESENTRY']._serialized_start=386
|
|
@@ -73,49 +75,49 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
73
75
|
_globals['_ENVS']._serialized_start=588
|
|
74
76
|
_globals['_ENVS']._serialized_end=647
|
|
75
77
|
_globals['_RUNSPEC']._serialized_start=650
|
|
76
|
-
_globals['_RUNSPEC']._serialized_end=
|
|
77
|
-
_globals['_RUN']._serialized_start=
|
|
78
|
-
_globals['_RUN']._serialized_end=
|
|
79
|
-
_globals['_RUNDETAILS']._serialized_start=
|
|
80
|
-
_globals['_RUNDETAILS']._serialized_end=
|
|
81
|
-
_globals['_TASKACTIONMETADATA']._serialized_start=
|
|
82
|
-
_globals['_TASKACTIONMETADATA']._serialized_end=
|
|
83
|
-
_globals['_TRACEACTIONMETADATA']._serialized_start=
|
|
84
|
-
_globals['_TRACEACTIONMETADATA']._serialized_end=
|
|
85
|
-
_globals['_CONDITIONACTIONMETADATA']._serialized_start=
|
|
86
|
-
_globals['_CONDITIONACTIONMETADATA']._serialized_end=
|
|
87
|
-
_globals['_ACTIONMETADATA']._serialized_start=
|
|
88
|
-
_globals['_ACTIONMETADATA']._serialized_end=
|
|
89
|
-
_globals['_ACTIONSTATUS']._serialized_start=
|
|
90
|
-
_globals['_ACTIONSTATUS']._serialized_end=
|
|
91
|
-
_globals['_ACTION']._serialized_start=
|
|
92
|
-
_globals['_ACTION']._serialized_end=
|
|
93
|
-
_globals['_ENRICHEDACTION']._serialized_start=
|
|
94
|
-
_globals['_ENRICHEDACTION']._serialized_end=
|
|
95
|
-
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_start=
|
|
96
|
-
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_end=
|
|
97
|
-
_globals['_ERRORINFO']._serialized_start=
|
|
98
|
-
_globals['_ERRORINFO']._serialized_end=
|
|
99
|
-
_globals['_ERRORINFO_KIND']._serialized_start=
|
|
100
|
-
_globals['_ERRORINFO_KIND']._serialized_end=
|
|
101
|
-
_globals['_ABORTINFO']._serialized_start=
|
|
102
|
-
_globals['_ABORTINFO']._serialized_end=
|
|
103
|
-
_globals['_ACTIONDETAILS']._serialized_start=
|
|
104
|
-
_globals['_ACTIONDETAILS']._serialized_end=
|
|
105
|
-
_globals['_ACTIONATTEMPT']._serialized_start=
|
|
106
|
-
_globals['_ACTIONATTEMPT']._serialized_end=
|
|
107
|
-
_globals['_CLUSTEREVENT']._serialized_start=
|
|
108
|
-
_globals['_CLUSTEREVENT']._serialized_end=
|
|
109
|
-
_globals['_PHASETRANSITION']._serialized_start=
|
|
110
|
-
_globals['_PHASETRANSITION']._serialized_end=
|
|
111
|
-
_globals['_ACTIONEVENT']._serialized_start=
|
|
112
|
-
_globals['_ACTIONEVENT']._serialized_end=
|
|
113
|
-
_globals['_NAMEDLITERAL']._serialized_start=
|
|
114
|
-
_globals['_NAMEDLITERAL']._serialized_end=
|
|
115
|
-
_globals['_OUTPUTREFERENCES']._serialized_start=
|
|
116
|
-
_globals['_OUTPUTREFERENCES']._serialized_end=
|
|
117
|
-
_globals['_INPUTS']._serialized_start=
|
|
118
|
-
_globals['_INPUTS']._serialized_end=
|
|
119
|
-
_globals['_OUTPUTS']._serialized_start=
|
|
120
|
-
_globals['_OUTPUTS']._serialized_end=
|
|
78
|
+
_globals['_RUNSPEC']._serialized_end=954
|
|
79
|
+
_globals['_RUN']._serialized_start=956
|
|
80
|
+
_globals['_RUN']._serialized_end=1012
|
|
81
|
+
_globals['_RUNDETAILS']._serialized_start=1014
|
|
82
|
+
_globals['_RUNDETAILS']._serialized_end=1139
|
|
83
|
+
_globals['_TASKACTIONMETADATA']._serialized_start=1142
|
|
84
|
+
_globals['_TASKACTIONMETADATA']._serialized_end=1273
|
|
85
|
+
_globals['_TRACEACTIONMETADATA']._serialized_start=1275
|
|
86
|
+
_globals['_TRACEACTIONMETADATA']._serialized_end=1316
|
|
87
|
+
_globals['_CONDITIONACTIONMETADATA']._serialized_start=1319
|
|
88
|
+
_globals['_CONDITIONACTIONMETADATA']._serialized_end=1478
|
|
89
|
+
_globals['_ACTIONMETADATA']._serialized_start=1481
|
|
90
|
+
_globals['_ACTIONMETADATA']._serialized_end=1914
|
|
91
|
+
_globals['_ACTIONSTATUS']._serialized_start=1917
|
|
92
|
+
_globals['_ACTIONSTATUS']._serialized_end=2218
|
|
93
|
+
_globals['_ACTION']._serialized_start=2221
|
|
94
|
+
_globals['_ACTION']._serialized_end=2400
|
|
95
|
+
_globals['_ENRICHEDACTION']._serialized_start=2403
|
|
96
|
+
_globals['_ENRICHEDACTION']._serialized_end=2689
|
|
97
|
+
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_start=2619
|
|
98
|
+
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_end=2689
|
|
99
|
+
_globals['_ERRORINFO']._serialized_start=2692
|
|
100
|
+
_globals['_ERRORINFO']._serialized_end=2846
|
|
101
|
+
_globals['_ERRORINFO_KIND']._serialized_start=2786
|
|
102
|
+
_globals['_ERRORINFO_KIND']._serialized_end=2846
|
|
103
|
+
_globals['_ABORTINFO']._serialized_start=2848
|
|
104
|
+
_globals['_ABORTINFO']._serialized_end=2949
|
|
105
|
+
_globals['_ACTIONDETAILS']._serialized_start=2952
|
|
106
|
+
_globals['_ACTIONDETAILS']._serialized_end=3449
|
|
107
|
+
_globals['_ACTIONATTEMPT']._serialized_start=3452
|
|
108
|
+
_globals['_ACTIONATTEMPT']._serialized_end=4225
|
|
109
|
+
_globals['_CLUSTEREVENT']._serialized_start=4227
|
|
110
|
+
_globals['_CLUSTEREVENT']._serialized_end=4328
|
|
111
|
+
_globals['_PHASETRANSITION']._serialized_start=4331
|
|
112
|
+
_globals['_PHASETRANSITION']._serialized_end=4528
|
|
113
|
+
_globals['_ACTIONEVENT']._serialized_start=4531
|
|
114
|
+
_globals['_ACTIONEVENT']._serialized_end=5405
|
|
115
|
+
_globals['_NAMEDLITERAL']._serialized_start=5407
|
|
116
|
+
_globals['_NAMEDLITERAL']._serialized_end=5487
|
|
117
|
+
_globals['_OUTPUTREFERENCES']._serialized_start=5489
|
|
118
|
+
_globals['_OUTPUTREFERENCES']._serialized_end=5569
|
|
119
|
+
_globals['_INPUTS']._serialized_start=5571
|
|
120
|
+
_globals['_INPUTS']._serialized_end=5695
|
|
121
|
+
_globals['_OUTPUTS']._serialized_start=5697
|
|
122
|
+
_globals['_OUTPUTS']._serialized_end=5767
|
|
121
123
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -26,6 +26,13 @@ class Phase(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
|
26
26
|
PHASE_FAILED: _ClassVar[Phase]
|
|
27
27
|
PHASE_ABORTED: _ClassVar[Phase]
|
|
28
28
|
PHASE_TIMED_OUT: _ClassVar[Phase]
|
|
29
|
+
|
|
30
|
+
class ActionType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
31
|
+
__slots__ = []
|
|
32
|
+
ACTION_TYPE_UNSPECIFIED: _ClassVar[ActionType]
|
|
33
|
+
ACTION_TYPE_TASK: _ClassVar[ActionType]
|
|
34
|
+
ACTION_TYPE_TRACE: _ClassVar[ActionType]
|
|
35
|
+
ACTION_TYPE_CONDITION: _ClassVar[ActionType]
|
|
29
36
|
PHASE_UNSPECIFIED: Phase
|
|
30
37
|
PHASE_QUEUED: Phase
|
|
31
38
|
PHASE_WAITING_FOR_RESOURCES: Phase
|
|
@@ -35,6 +42,10 @@ PHASE_SUCCEEDED: Phase
|
|
|
35
42
|
PHASE_FAILED: Phase
|
|
36
43
|
PHASE_ABORTED: Phase
|
|
37
44
|
PHASE_TIMED_OUT: Phase
|
|
45
|
+
ACTION_TYPE_UNSPECIFIED: ActionType
|
|
46
|
+
ACTION_TYPE_TASK: ActionType
|
|
47
|
+
ACTION_TYPE_TRACE: ActionType
|
|
48
|
+
ACTION_TYPE_CONDITION: ActionType
|
|
38
49
|
|
|
39
50
|
class Labels(_message.Message):
|
|
40
51
|
__slots__ = ["values"]
|
|
@@ -69,18 +80,20 @@ class Envs(_message.Message):
|
|
|
69
80
|
def __init__(self, values: _Optional[_Iterable[_Union[_literals_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ...
|
|
70
81
|
|
|
71
82
|
class RunSpec(_message.Message):
|
|
72
|
-
__slots__ = ["labels", "annotations", "envs", "interruptible", "overwrite_cache"]
|
|
83
|
+
__slots__ = ["labels", "annotations", "envs", "interruptible", "overwrite_cache", "cluster"]
|
|
73
84
|
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
74
85
|
ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
75
86
|
ENVS_FIELD_NUMBER: _ClassVar[int]
|
|
76
87
|
INTERRUPTIBLE_FIELD_NUMBER: _ClassVar[int]
|
|
77
88
|
OVERWRITE_CACHE_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
CLUSTER_FIELD_NUMBER: _ClassVar[int]
|
|
78
90
|
labels: Labels
|
|
79
91
|
annotations: Annotations
|
|
80
92
|
envs: Envs
|
|
81
93
|
interruptible: _wrappers_pb2.BoolValue
|
|
82
94
|
overwrite_cache: bool
|
|
83
|
-
|
|
95
|
+
cluster: str
|
|
96
|
+
def __init__(self, labels: _Optional[_Union[Labels, _Mapping]] = ..., annotations: _Optional[_Union[Annotations, _Mapping]] = ..., envs: _Optional[_Union[Envs, _Mapping]] = ..., interruptible: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., overwrite_cache: bool = ..., cluster: _Optional[str] = ...) -> None: ...
|
|
84
97
|
|
|
85
98
|
class Run(_message.Message):
|
|
86
99
|
__slots__ = ["action"]
|
|
@@ -124,32 +137,36 @@ class ConditionActionMetadata(_message.Message):
|
|
|
124
137
|
def __init__(self, name: _Optional[str] = ..., run_id: _Optional[str] = ..., action_id: _Optional[str] = ..., **kwargs) -> None: ...
|
|
125
138
|
|
|
126
139
|
class ActionMetadata(_message.Message):
|
|
127
|
-
__slots__ = ["parent", "group", "executed_by", "task", "trace", "condition"]
|
|
140
|
+
__slots__ = ["parent", "group", "executed_by", "task", "trace", "condition", "action_type"]
|
|
128
141
|
PARENT_FIELD_NUMBER: _ClassVar[int]
|
|
129
142
|
GROUP_FIELD_NUMBER: _ClassVar[int]
|
|
130
143
|
EXECUTED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
131
144
|
TASK_FIELD_NUMBER: _ClassVar[int]
|
|
132
145
|
TRACE_FIELD_NUMBER: _ClassVar[int]
|
|
133
146
|
CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
ACTION_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
134
148
|
parent: str
|
|
135
149
|
group: str
|
|
136
150
|
executed_by: _identity_pb2.EnrichedIdentity
|
|
137
151
|
task: TaskActionMetadata
|
|
138
152
|
trace: TraceActionMetadata
|
|
139
153
|
condition: ConditionActionMetadata
|
|
140
|
-
|
|
154
|
+
action_type: ActionType
|
|
155
|
+
def __init__(self, parent: _Optional[str] = ..., group: _Optional[str] = ..., executed_by: _Optional[_Union[_identity_pb2.EnrichedIdentity, _Mapping]] = ..., task: _Optional[_Union[TaskActionMetadata, _Mapping]] = ..., trace: _Optional[_Union[TraceActionMetadata, _Mapping]] = ..., condition: _Optional[_Union[ConditionActionMetadata, _Mapping]] = ..., action_type: _Optional[_Union[ActionType, str]] = ...) -> None: ...
|
|
141
156
|
|
|
142
157
|
class ActionStatus(_message.Message):
|
|
143
|
-
__slots__ = ["phase", "start_time", "end_time", "attempts"]
|
|
158
|
+
__slots__ = ["phase", "start_time", "end_time", "attempts", "cache_status"]
|
|
144
159
|
PHASE_FIELD_NUMBER: _ClassVar[int]
|
|
145
160
|
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
146
161
|
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
147
162
|
ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
|
|
163
|
+
CACHE_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
148
164
|
phase: Phase
|
|
149
165
|
start_time: _timestamp_pb2.Timestamp
|
|
150
166
|
end_time: _timestamp_pb2.Timestamp
|
|
151
167
|
attempts: int
|
|
152
|
-
|
|
168
|
+
cache_status: _catalog_pb2.CatalogCacheStatus
|
|
169
|
+
def __init__(self, phase: _Optional[_Union[Phase, str]] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., attempts: _Optional[int] = ..., cache_status: _Optional[_Union[_catalog_pb2.CatalogCacheStatus, str]] = ...) -> None: ...
|
|
153
170
|
|
|
154
171
|
class Action(_message.Message):
|
|
155
172
|
__slots__ = ["id", "metadata", "status"]
|
|
@@ -203,25 +220,27 @@ class AbortInfo(_message.Message):
|
|
|
203
220
|
def __init__(self, reason: _Optional[str] = ..., aborted_by: _Optional[_Union[_identity_pb2.EnrichedIdentity, _Mapping]] = ...) -> None: ...
|
|
204
221
|
|
|
205
222
|
class ActionDetails(_message.Message):
|
|
206
|
-
__slots__ = ["id", "metadata", "status", "error_info", "abort_info", "
|
|
223
|
+
__slots__ = ["id", "metadata", "status", "error_info", "abort_info", "task", "trace", "attempts"]
|
|
207
224
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
208
225
|
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
209
226
|
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
210
227
|
ERROR_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
211
228
|
ABORT_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
212
|
-
|
|
229
|
+
TASK_FIELD_NUMBER: _ClassVar[int]
|
|
230
|
+
TRACE_FIELD_NUMBER: _ClassVar[int]
|
|
213
231
|
ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
|
|
214
232
|
id: _identifier_pb2.ActionIdentifier
|
|
215
233
|
metadata: ActionMetadata
|
|
216
234
|
status: ActionStatus
|
|
217
235
|
error_info: ErrorInfo
|
|
218
236
|
abort_info: AbortInfo
|
|
219
|
-
|
|
237
|
+
task: _task_definition_pb2.TaskSpec
|
|
238
|
+
trace: _task_definition_pb2.TraceSpec
|
|
220
239
|
attempts: _containers.RepeatedCompositeFieldContainer[ActionAttempt]
|
|
221
|
-
def __init__(self, id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ..., metadata: _Optional[_Union[ActionMetadata, _Mapping]] = ..., status: _Optional[_Union[ActionStatus, _Mapping]] = ..., error_info: _Optional[_Union[ErrorInfo, _Mapping]] = ..., abort_info: _Optional[_Union[AbortInfo, _Mapping]] = ...,
|
|
240
|
+
def __init__(self, id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ..., metadata: _Optional[_Union[ActionMetadata, _Mapping]] = ..., status: _Optional[_Union[ActionStatus, _Mapping]] = ..., error_info: _Optional[_Union[ErrorInfo, _Mapping]] = ..., abort_info: _Optional[_Union[AbortInfo, _Mapping]] = ..., task: _Optional[_Union[_task_definition_pb2.TaskSpec, _Mapping]] = ..., trace: _Optional[_Union[_task_definition_pb2.TraceSpec, _Mapping]] = ..., attempts: _Optional[_Iterable[_Union[ActionAttempt, _Mapping]]] = ...) -> None: ...
|
|
222
241
|
|
|
223
242
|
class ActionAttempt(_message.Message):
|
|
224
|
-
__slots__ = ["phase", "start_time", "end_time", "error_info", "attempt", "log_info", "outputs", "logs_available", "cache_status", "cluster_events", "phase_transitions", "cluster"]
|
|
243
|
+
__slots__ = ["phase", "start_time", "end_time", "error_info", "attempt", "log_info", "outputs", "logs_available", "cache_status", "cluster_events", "phase_transitions", "cluster", "log_context"]
|
|
225
244
|
PHASE_FIELD_NUMBER: _ClassVar[int]
|
|
226
245
|
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
227
246
|
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -234,6 +253,7 @@ class ActionAttempt(_message.Message):
|
|
|
234
253
|
CLUSTER_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
235
254
|
PHASE_TRANSITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
236
255
|
CLUSTER_FIELD_NUMBER: _ClassVar[int]
|
|
256
|
+
LOG_CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
237
257
|
phase: Phase
|
|
238
258
|
start_time: _timestamp_pb2.Timestamp
|
|
239
259
|
end_time: _timestamp_pb2.Timestamp
|
|
@@ -246,7 +266,8 @@ class ActionAttempt(_message.Message):
|
|
|
246
266
|
cluster_events: _containers.RepeatedCompositeFieldContainer[ClusterEvent]
|
|
247
267
|
phase_transitions: _containers.RepeatedCompositeFieldContainer[PhaseTransition]
|
|
248
268
|
cluster: str
|
|
249
|
-
|
|
269
|
+
log_context: _execution_pb2.LogContext
|
|
270
|
+
def __init__(self, phase: _Optional[_Union[Phase, str]] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., error_info: _Optional[_Union[ErrorInfo, _Mapping]] = ..., attempt: _Optional[int] = ..., log_info: _Optional[_Iterable[_Union[_execution_pb2.TaskLog, _Mapping]]] = ..., outputs: _Optional[_Union[OutputReferences, _Mapping]] = ..., logs_available: bool = ..., cache_status: _Optional[_Union[_catalog_pb2.CatalogCacheStatus, str]] = ..., cluster_events: _Optional[_Iterable[_Union[ClusterEvent, _Mapping]]] = ..., phase_transitions: _Optional[_Iterable[_Union[PhaseTransition, _Mapping]]] = ..., cluster: _Optional[str] = ..., log_context: _Optional[_Union[_execution_pb2.LogContext, _Mapping]] = ...) -> None: ...
|
|
250
271
|
|
|
251
272
|
class ClusterEvent(_message.Message):
|
|
252
273
|
__slots__ = ["occurred_at", "message"]
|
|
@@ -267,7 +288,7 @@ class PhaseTransition(_message.Message):
|
|
|
267
288
|
def __init__(self, phase: _Optional[_Union[Phase, str]] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
268
289
|
|
|
269
290
|
class ActionEvent(_message.Message):
|
|
270
|
-
__slots__ = ["id", "attempt", "phase", "version", "start_time", "updated_time", "end_time", "error_info", "log_info", "log_context", "cluster", "outputs", "cache_status", "cluster_events"]
|
|
291
|
+
__slots__ = ["id", "attempt", "phase", "version", "start_time", "updated_time", "end_time", "error_info", "log_info", "log_context", "cluster", "outputs", "cache_status", "cluster_events", "reported_time"]
|
|
271
292
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
272
293
|
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
273
294
|
PHASE_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -282,6 +303,7 @@ class ActionEvent(_message.Message):
|
|
|
282
303
|
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
283
304
|
CACHE_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
284
305
|
CLUSTER_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
306
|
+
REPORTED_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
285
307
|
id: _identifier_pb2.ActionIdentifier
|
|
286
308
|
attempt: int
|
|
287
309
|
phase: Phase
|
|
@@ -296,7 +318,8 @@ class ActionEvent(_message.Message):
|
|
|
296
318
|
outputs: OutputReferences
|
|
297
319
|
cache_status: _catalog_pb2.CatalogCacheStatus
|
|
298
320
|
cluster_events: _containers.RepeatedCompositeFieldContainer[ClusterEvent]
|
|
299
|
-
|
|
321
|
+
reported_time: _timestamp_pb2.Timestamp
|
|
322
|
+
def __init__(self, id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ..., attempt: _Optional[int] = ..., phase: _Optional[_Union[Phase, str]] = ..., version: _Optional[int] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., error_info: _Optional[_Union[ErrorInfo, _Mapping]] = ..., log_info: _Optional[_Iterable[_Union[_execution_pb2.TaskLog, _Mapping]]] = ..., log_context: _Optional[_Union[_execution_pb2.LogContext, _Mapping]] = ..., cluster: _Optional[str] = ..., outputs: _Optional[_Union[OutputReferences, _Mapping]] = ..., cache_status: _Optional[_Union[_catalog_pb2.CatalogCacheStatus, str]] = ..., cluster_events: _Optional[_Iterable[_Union[ClusterEvent, _Mapping]]] = ..., reported_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
300
323
|
|
|
301
324
|
class NamedLiteral(_message.Message):
|
|
302
325
|
__slots__ = ["name", "value"]
|
|
@@ -315,10 +338,12 @@ class OutputReferences(_message.Message):
|
|
|
315
338
|
def __init__(self, output_uri: _Optional[str] = ..., report_uri: _Optional[str] = ...) -> None: ...
|
|
316
339
|
|
|
317
340
|
class Inputs(_message.Message):
|
|
318
|
-
__slots__ = ["literals"]
|
|
341
|
+
__slots__ = ["literals", "context"]
|
|
319
342
|
LITERALS_FIELD_NUMBER: _ClassVar[int]
|
|
343
|
+
CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
320
344
|
literals: _containers.RepeatedCompositeFieldContainer[NamedLiteral]
|
|
321
|
-
|
|
345
|
+
context: _containers.RepeatedCompositeFieldContainer[_literals_pb2.KeyValuePair]
|
|
346
|
+
def __init__(self, literals: _Optional[_Iterable[_Union[NamedLiteral, _Mapping]]] = ..., context: _Optional[_Iterable[_Union[_literals_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ...
|
|
322
347
|
|
|
323
348
|
class Outputs(_message.Message):
|
|
324
349
|
__slots__ = ["literals"]
|