flyte 2.0.0b13__py3-none-any.whl → 2.0.0b30__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.
Files changed (211) hide show
  1. flyte/__init__.py +18 -2
  2. flyte/_bin/debug.py +38 -0
  3. flyte/_bin/runtime.py +62 -8
  4. flyte/_cache/cache.py +4 -2
  5. flyte/_cache/local_cache.py +216 -0
  6. flyte/_code_bundle/_ignore.py +12 -4
  7. flyte/_code_bundle/_packaging.py +13 -9
  8. flyte/_code_bundle/_utils.py +18 -10
  9. flyte/_code_bundle/bundle.py +17 -9
  10. flyte/_constants.py +1 -0
  11. flyte/_context.py +4 -1
  12. flyte/_custom_context.py +73 -0
  13. flyte/_debug/constants.py +38 -0
  14. flyte/_debug/utils.py +17 -0
  15. flyte/_debug/vscode.py +307 -0
  16. flyte/_deploy.py +235 -61
  17. flyte/_environment.py +20 -6
  18. flyte/_excepthook.py +1 -1
  19. flyte/_hash.py +1 -16
  20. flyte/_image.py +178 -81
  21. flyte/_initialize.py +132 -51
  22. flyte/_interface.py +39 -2
  23. flyte/_internal/controllers/__init__.py +4 -5
  24. flyte/_internal/controllers/_local_controller.py +70 -29
  25. flyte/_internal/controllers/_trace.py +1 -1
  26. flyte/_internal/controllers/remote/__init__.py +0 -2
  27. flyte/_internal/controllers/remote/_action.py +14 -16
  28. flyte/_internal/controllers/remote/_client.py +1 -1
  29. flyte/_internal/controllers/remote/_controller.py +68 -70
  30. flyte/_internal/controllers/remote/_core.py +127 -99
  31. flyte/_internal/controllers/remote/_informer.py +19 -10
  32. flyte/_internal/controllers/remote/_service_protocol.py +7 -7
  33. flyte/_internal/imagebuild/docker_builder.py +181 -69
  34. flyte/_internal/imagebuild/image_builder.py +0 -5
  35. flyte/_internal/imagebuild/remote_builder.py +155 -64
  36. flyte/_internal/imagebuild/utils.py +51 -2
  37. flyte/_internal/resolvers/_task_module.py +5 -38
  38. flyte/_internal/resolvers/default.py +2 -2
  39. flyte/_internal/runtime/convert.py +110 -21
  40. flyte/_internal/runtime/entrypoints.py +27 -1
  41. flyte/_internal/runtime/io.py +21 -8
  42. flyte/_internal/runtime/resources_serde.py +20 -6
  43. flyte/_internal/runtime/reuse.py +1 -1
  44. flyte/_internal/runtime/rusty.py +20 -5
  45. flyte/_internal/runtime/task_serde.py +34 -19
  46. flyte/_internal/runtime/taskrunner.py +22 -4
  47. flyte/_internal/runtime/trigger_serde.py +160 -0
  48. flyte/_internal/runtime/types_serde.py +1 -1
  49. flyte/_keyring/__init__.py +0 -0
  50. flyte/_keyring/file.py +115 -0
  51. flyte/_logging.py +201 -39
  52. flyte/_map.py +111 -14
  53. flyte/_module.py +70 -0
  54. flyte/_pod.py +4 -3
  55. flyte/_resources.py +213 -31
  56. flyte/_run.py +110 -39
  57. flyte/_task.py +75 -16
  58. flyte/_task_environment.py +105 -29
  59. flyte/_task_plugins.py +4 -2
  60. flyte/_trace.py +5 -0
  61. flyte/_trigger.py +1000 -0
  62. flyte/_utils/__init__.py +2 -1
  63. flyte/_utils/asyn.py +3 -1
  64. flyte/_utils/coro_management.py +2 -1
  65. flyte/_utils/docker_credentials.py +173 -0
  66. flyte/_utils/module_loader.py +17 -2
  67. flyte/_version.py +3 -3
  68. flyte/cli/_abort.py +3 -3
  69. flyte/cli/_build.py +3 -6
  70. flyte/cli/_common.py +78 -7
  71. flyte/cli/_create.py +182 -4
  72. flyte/cli/_delete.py +23 -1
  73. flyte/cli/_deploy.py +63 -16
  74. flyte/cli/_get.py +79 -34
  75. flyte/cli/_params.py +26 -10
  76. flyte/cli/_plugins.py +209 -0
  77. flyte/cli/_run.py +151 -26
  78. flyte/cli/_serve.py +64 -0
  79. flyte/cli/_update.py +37 -0
  80. flyte/cli/_user.py +17 -0
  81. flyte/cli/main.py +30 -4
  82. flyte/config/_config.py +10 -6
  83. flyte/config/_internal.py +1 -0
  84. flyte/config/_reader.py +29 -8
  85. flyte/connectors/__init__.py +11 -0
  86. flyte/connectors/_connector.py +270 -0
  87. flyte/connectors/_server.py +197 -0
  88. flyte/connectors/utils.py +135 -0
  89. flyte/errors.py +22 -2
  90. flyte/extend.py +8 -1
  91. flyte/extras/_container.py +6 -1
  92. flyte/git/__init__.py +3 -0
  93. flyte/git/_config.py +21 -0
  94. flyte/io/__init__.py +2 -0
  95. flyte/io/_dataframe/__init__.py +2 -0
  96. flyte/io/_dataframe/basic_dfs.py +17 -8
  97. flyte/io/_dataframe/dataframe.py +98 -132
  98. flyte/io/_dir.py +575 -113
  99. flyte/io/_file.py +582 -139
  100. flyte/io/_hashing_io.py +342 -0
  101. flyte/models.py +74 -15
  102. flyte/remote/__init__.py +6 -1
  103. flyte/remote/_action.py +34 -26
  104. flyte/remote/_client/_protocols.py +39 -4
  105. flyte/remote/_client/auth/_authenticators/device_code.py +4 -5
  106. flyte/remote/_client/auth/_authenticators/pkce.py +1 -1
  107. flyte/remote/_client/auth/_channel.py +10 -6
  108. flyte/remote/_client/controlplane.py +17 -5
  109. flyte/remote/_console.py +3 -2
  110. flyte/remote/_data.py +6 -6
  111. flyte/remote/_logs.py +3 -3
  112. flyte/remote/_run.py +64 -8
  113. flyte/remote/_secret.py +26 -17
  114. flyte/remote/_task.py +75 -33
  115. flyte/remote/_trigger.py +306 -0
  116. flyte/remote/_user.py +33 -0
  117. flyte/report/_report.py +1 -1
  118. flyte/storage/__init__.py +6 -1
  119. flyte/storage/_config.py +5 -1
  120. flyte/storage/_parallel_reader.py +274 -0
  121. flyte/storage/_storage.py +200 -103
  122. flyte/types/__init__.py +16 -0
  123. flyte/types/_interface.py +2 -2
  124. flyte/types/_pickle.py +35 -8
  125. flyte/types/_string_literals.py +8 -9
  126. flyte/types/_type_engine.py +40 -70
  127. flyte/types/_utils.py +1 -1
  128. flyte-2.0.0b30.data/scripts/debug.py +38 -0
  129. {flyte-2.0.0b13.data → flyte-2.0.0b30.data}/scripts/runtime.py +62 -8
  130. {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/METADATA +11 -3
  131. flyte-2.0.0b30.dist-info/RECORD +192 -0
  132. {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/entry_points.txt +3 -0
  133. flyte/_protos/common/authorization_pb2.py +0 -66
  134. flyte/_protos/common/authorization_pb2.pyi +0 -108
  135. flyte/_protos/common/authorization_pb2_grpc.py +0 -4
  136. flyte/_protos/common/identifier_pb2.py +0 -93
  137. flyte/_protos/common/identifier_pb2.pyi +0 -110
  138. flyte/_protos/common/identifier_pb2_grpc.py +0 -4
  139. flyte/_protos/common/identity_pb2.py +0 -48
  140. flyte/_protos/common/identity_pb2.pyi +0 -72
  141. flyte/_protos/common/identity_pb2_grpc.py +0 -4
  142. flyte/_protos/common/list_pb2.py +0 -36
  143. flyte/_protos/common/list_pb2.pyi +0 -71
  144. flyte/_protos/common/list_pb2_grpc.py +0 -4
  145. flyte/_protos/common/policy_pb2.py +0 -37
  146. flyte/_protos/common/policy_pb2.pyi +0 -27
  147. flyte/_protos/common/policy_pb2_grpc.py +0 -4
  148. flyte/_protos/common/role_pb2.py +0 -37
  149. flyte/_protos/common/role_pb2.pyi +0 -53
  150. flyte/_protos/common/role_pb2_grpc.py +0 -4
  151. flyte/_protos/common/runtime_version_pb2.py +0 -28
  152. flyte/_protos/common/runtime_version_pb2.pyi +0 -24
  153. flyte/_protos/common/runtime_version_pb2_grpc.py +0 -4
  154. flyte/_protos/imagebuilder/definition_pb2.py +0 -59
  155. flyte/_protos/imagebuilder/definition_pb2.pyi +0 -140
  156. flyte/_protos/imagebuilder/definition_pb2_grpc.py +0 -4
  157. flyte/_protos/imagebuilder/payload_pb2.py +0 -32
  158. flyte/_protos/imagebuilder/payload_pb2.pyi +0 -21
  159. flyte/_protos/imagebuilder/payload_pb2_grpc.py +0 -4
  160. flyte/_protos/imagebuilder/service_pb2.py +0 -29
  161. flyte/_protos/imagebuilder/service_pb2.pyi +0 -5
  162. flyte/_protos/imagebuilder/service_pb2_grpc.py +0 -66
  163. flyte/_protos/logs/dataplane/payload_pb2.py +0 -100
  164. flyte/_protos/logs/dataplane/payload_pb2.pyi +0 -177
  165. flyte/_protos/logs/dataplane/payload_pb2_grpc.py +0 -4
  166. flyte/_protos/secret/definition_pb2.py +0 -49
  167. flyte/_protos/secret/definition_pb2.pyi +0 -93
  168. flyte/_protos/secret/definition_pb2_grpc.py +0 -4
  169. flyte/_protos/secret/payload_pb2.py +0 -62
  170. flyte/_protos/secret/payload_pb2.pyi +0 -94
  171. flyte/_protos/secret/payload_pb2_grpc.py +0 -4
  172. flyte/_protos/secret/secret_pb2.py +0 -38
  173. flyte/_protos/secret/secret_pb2.pyi +0 -6
  174. flyte/_protos/secret/secret_pb2_grpc.py +0 -198
  175. flyte/_protos/secret/secret_pb2_grpc_grpc.py +0 -198
  176. flyte/_protos/validate/validate/validate_pb2.py +0 -76
  177. flyte/_protos/workflow/common_pb2.py +0 -27
  178. flyte/_protos/workflow/common_pb2.pyi +0 -14
  179. flyte/_protos/workflow/common_pb2_grpc.py +0 -4
  180. flyte/_protos/workflow/environment_pb2.py +0 -29
  181. flyte/_protos/workflow/environment_pb2.pyi +0 -12
  182. flyte/_protos/workflow/environment_pb2_grpc.py +0 -4
  183. flyte/_protos/workflow/node_execution_service_pb2.py +0 -26
  184. flyte/_protos/workflow/node_execution_service_pb2.pyi +0 -4
  185. flyte/_protos/workflow/node_execution_service_pb2_grpc.py +0 -32
  186. flyte/_protos/workflow/queue_service_pb2.py +0 -109
  187. flyte/_protos/workflow/queue_service_pb2.pyi +0 -166
  188. flyte/_protos/workflow/queue_service_pb2_grpc.py +0 -172
  189. flyte/_protos/workflow/run_definition_pb2.py +0 -121
  190. flyte/_protos/workflow/run_definition_pb2.pyi +0 -327
  191. flyte/_protos/workflow/run_definition_pb2_grpc.py +0 -4
  192. flyte/_protos/workflow/run_logs_service_pb2.py +0 -41
  193. flyte/_protos/workflow/run_logs_service_pb2.pyi +0 -28
  194. flyte/_protos/workflow/run_logs_service_pb2_grpc.py +0 -69
  195. flyte/_protos/workflow/run_service_pb2.py +0 -137
  196. flyte/_protos/workflow/run_service_pb2.pyi +0 -185
  197. flyte/_protos/workflow/run_service_pb2_grpc.py +0 -446
  198. flyte/_protos/workflow/state_service_pb2.py +0 -67
  199. flyte/_protos/workflow/state_service_pb2.pyi +0 -76
  200. flyte/_protos/workflow/state_service_pb2_grpc.py +0 -138
  201. flyte/_protos/workflow/task_definition_pb2.py +0 -79
  202. flyte/_protos/workflow/task_definition_pb2.pyi +0 -81
  203. flyte/_protos/workflow/task_definition_pb2_grpc.py +0 -4
  204. flyte/_protos/workflow/task_service_pb2.py +0 -60
  205. flyte/_protos/workflow/task_service_pb2.pyi +0 -59
  206. flyte/_protos/workflow/task_service_pb2_grpc.py +0 -138
  207. flyte-2.0.0b13.dist-info/RECORD +0 -239
  208. /flyte/{_protos → _debug}/__init__.py +0 -0
  209. {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/WHEEL +0 -0
  210. {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/licenses/LICENSE +0 -0
  211. {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/top_level.txt +0 -0
@@ -1,327 +0,0 @@
1
- from flyte._protos.common import identifier_pb2 as _identifier_pb2
2
- from flyte._protos.common import identity_pb2 as _identity_pb2
3
- from flyteidl.core import catalog_pb2 as _catalog_pb2
4
- from flyteidl.core import execution_pb2 as _execution_pb2
5
- from flyteidl.core import literals_pb2 as _literals_pb2
6
- from google.protobuf import timestamp_pb2 as _timestamp_pb2
7
- from google.protobuf import wrappers_pb2 as _wrappers_pb2
8
- from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
9
- from flyte._protos.workflow import task_definition_pb2 as _task_definition_pb2
10
- from google.protobuf.internal import containers as _containers
11
- from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
12
- from google.protobuf import descriptor as _descriptor
13
- from google.protobuf import message as _message
14
- from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
15
-
16
- DESCRIPTOR: _descriptor.FileDescriptor
17
-
18
- class Phase(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
19
- __slots__ = []
20
- PHASE_UNSPECIFIED: _ClassVar[Phase]
21
- PHASE_QUEUED: _ClassVar[Phase]
22
- PHASE_WAITING_FOR_RESOURCES: _ClassVar[Phase]
23
- PHASE_INITIALIZING: _ClassVar[Phase]
24
- PHASE_RUNNING: _ClassVar[Phase]
25
- PHASE_SUCCEEDED: _ClassVar[Phase]
26
- PHASE_FAILED: _ClassVar[Phase]
27
- PHASE_ABORTED: _ClassVar[Phase]
28
- PHASE_TIMED_OUT: _ClassVar[Phase]
29
- PHASE_UNSPECIFIED: Phase
30
- PHASE_QUEUED: Phase
31
- PHASE_WAITING_FOR_RESOURCES: Phase
32
- PHASE_INITIALIZING: Phase
33
- PHASE_RUNNING: Phase
34
- PHASE_SUCCEEDED: Phase
35
- PHASE_FAILED: Phase
36
- PHASE_ABORTED: Phase
37
- PHASE_TIMED_OUT: Phase
38
-
39
- class Labels(_message.Message):
40
- __slots__ = ["values"]
41
- class ValuesEntry(_message.Message):
42
- __slots__ = ["key", "value"]
43
- KEY_FIELD_NUMBER: _ClassVar[int]
44
- VALUE_FIELD_NUMBER: _ClassVar[int]
45
- key: str
46
- value: str
47
- def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
48
- VALUES_FIELD_NUMBER: _ClassVar[int]
49
- values: _containers.ScalarMap[str, str]
50
- def __init__(self, values: _Optional[_Mapping[str, str]] = ...) -> None: ...
51
-
52
- class Annotations(_message.Message):
53
- __slots__ = ["values"]
54
- class ValuesEntry(_message.Message):
55
- __slots__ = ["key", "value"]
56
- KEY_FIELD_NUMBER: _ClassVar[int]
57
- VALUE_FIELD_NUMBER: _ClassVar[int]
58
- key: str
59
- value: str
60
- def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
61
- VALUES_FIELD_NUMBER: _ClassVar[int]
62
- values: _containers.ScalarMap[str, str]
63
- def __init__(self, values: _Optional[_Mapping[str, str]] = ...) -> None: ...
64
-
65
- class Envs(_message.Message):
66
- __slots__ = ["values"]
67
- VALUES_FIELD_NUMBER: _ClassVar[int]
68
- values: _containers.RepeatedCompositeFieldContainer[_literals_pb2.KeyValuePair]
69
- def __init__(self, values: _Optional[_Iterable[_Union[_literals_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ...
70
-
71
- class RunSpec(_message.Message):
72
- __slots__ = ["labels", "annotations", "envs", "interruptible", "overwrite_cache"]
73
- LABELS_FIELD_NUMBER: _ClassVar[int]
74
- ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
75
- ENVS_FIELD_NUMBER: _ClassVar[int]
76
- INTERRUPTIBLE_FIELD_NUMBER: _ClassVar[int]
77
- OVERWRITE_CACHE_FIELD_NUMBER: _ClassVar[int]
78
- labels: Labels
79
- annotations: Annotations
80
- envs: Envs
81
- interruptible: _wrappers_pb2.BoolValue
82
- overwrite_cache: bool
83
- 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 = ...) -> None: ...
84
-
85
- class Run(_message.Message):
86
- __slots__ = ["action"]
87
- ACTION_FIELD_NUMBER: _ClassVar[int]
88
- action: Action
89
- def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ...) -> None: ...
90
-
91
- class RunDetails(_message.Message):
92
- __slots__ = ["run_spec", "action"]
93
- RUN_SPEC_FIELD_NUMBER: _ClassVar[int]
94
- ACTION_FIELD_NUMBER: _ClassVar[int]
95
- run_spec: RunSpec
96
- action: ActionDetails
97
- def __init__(self, run_spec: _Optional[_Union[RunSpec, _Mapping]] = ..., action: _Optional[_Union[ActionDetails, _Mapping]] = ...) -> None: ...
98
-
99
- class TaskActionMetadata(_message.Message):
100
- __slots__ = ["id", "task_type", "short_name"]
101
- ID_FIELD_NUMBER: _ClassVar[int]
102
- TASK_TYPE_FIELD_NUMBER: _ClassVar[int]
103
- SHORT_NAME_FIELD_NUMBER: _ClassVar[int]
104
- id: _task_definition_pb2.TaskIdentifier
105
- task_type: str
106
- short_name: str
107
- def __init__(self, id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ..., task_type: _Optional[str] = ..., short_name: _Optional[str] = ...) -> None: ...
108
-
109
- class TraceActionMetadata(_message.Message):
110
- __slots__ = ["name"]
111
- NAME_FIELD_NUMBER: _ClassVar[int]
112
- name: str
113
- def __init__(self, name: _Optional[str] = ...) -> None: ...
114
-
115
- class ConditionActionMetadata(_message.Message):
116
- __slots__ = ["name", "run_id", "action_id"]
117
- NAME_FIELD_NUMBER: _ClassVar[int]
118
- RUN_ID_FIELD_NUMBER: _ClassVar[int]
119
- ACTION_ID_FIELD_NUMBER: _ClassVar[int]
120
- GLOBAL_FIELD_NUMBER: _ClassVar[int]
121
- name: str
122
- run_id: str
123
- action_id: str
124
- def __init__(self, name: _Optional[str] = ..., run_id: _Optional[str] = ..., action_id: _Optional[str] = ..., **kwargs) -> None: ...
125
-
126
- class ActionMetadata(_message.Message):
127
- __slots__ = ["parent", "group", "executed_by", "task", "trace", "condition"]
128
- PARENT_FIELD_NUMBER: _ClassVar[int]
129
- GROUP_FIELD_NUMBER: _ClassVar[int]
130
- EXECUTED_BY_FIELD_NUMBER: _ClassVar[int]
131
- TASK_FIELD_NUMBER: _ClassVar[int]
132
- TRACE_FIELD_NUMBER: _ClassVar[int]
133
- CONDITION_FIELD_NUMBER: _ClassVar[int]
134
- parent: str
135
- group: str
136
- executed_by: _identity_pb2.EnrichedIdentity
137
- task: TaskActionMetadata
138
- trace: TraceActionMetadata
139
- condition: ConditionActionMetadata
140
- 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]] = ...) -> None: ...
141
-
142
- class ActionStatus(_message.Message):
143
- __slots__ = ["phase", "start_time", "end_time", "attempts"]
144
- PHASE_FIELD_NUMBER: _ClassVar[int]
145
- START_TIME_FIELD_NUMBER: _ClassVar[int]
146
- END_TIME_FIELD_NUMBER: _ClassVar[int]
147
- ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
148
- phase: Phase
149
- start_time: _timestamp_pb2.Timestamp
150
- end_time: _timestamp_pb2.Timestamp
151
- attempts: int
152
- 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] = ...) -> None: ...
153
-
154
- class Action(_message.Message):
155
- __slots__ = ["id", "metadata", "status"]
156
- ID_FIELD_NUMBER: _ClassVar[int]
157
- METADATA_FIELD_NUMBER: _ClassVar[int]
158
- STATUS_FIELD_NUMBER: _ClassVar[int]
159
- id: _identifier_pb2.ActionIdentifier
160
- metadata: ActionMetadata
161
- status: ActionStatus
162
- def __init__(self, id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ..., metadata: _Optional[_Union[ActionMetadata, _Mapping]] = ..., status: _Optional[_Union[ActionStatus, _Mapping]] = ...) -> None: ...
163
-
164
- class EnrichedAction(_message.Message):
165
- __slots__ = ["action", "meets_filter", "children_phase_counts"]
166
- class ChildrenPhaseCountsEntry(_message.Message):
167
- __slots__ = ["key", "value"]
168
- KEY_FIELD_NUMBER: _ClassVar[int]
169
- VALUE_FIELD_NUMBER: _ClassVar[int]
170
- key: int
171
- value: int
172
- def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ...
173
- ACTION_FIELD_NUMBER: _ClassVar[int]
174
- MEETS_FILTER_FIELD_NUMBER: _ClassVar[int]
175
- CHILDREN_PHASE_COUNTS_FIELD_NUMBER: _ClassVar[int]
176
- action: Action
177
- meets_filter: bool
178
- children_phase_counts: _containers.ScalarMap[int, int]
179
- def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ..., meets_filter: bool = ..., children_phase_counts: _Optional[_Mapping[int, int]] = ...) -> None: ...
180
-
181
- class ErrorInfo(_message.Message):
182
- __slots__ = ["message", "kind"]
183
- class Kind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
184
- __slots__ = []
185
- KIND_UNSPECIFIED: _ClassVar[ErrorInfo.Kind]
186
- KIND_USER: _ClassVar[ErrorInfo.Kind]
187
- KIND_SYSTEM: _ClassVar[ErrorInfo.Kind]
188
- KIND_UNSPECIFIED: ErrorInfo.Kind
189
- KIND_USER: ErrorInfo.Kind
190
- KIND_SYSTEM: ErrorInfo.Kind
191
- MESSAGE_FIELD_NUMBER: _ClassVar[int]
192
- KIND_FIELD_NUMBER: _ClassVar[int]
193
- message: str
194
- kind: ErrorInfo.Kind
195
- def __init__(self, message: _Optional[str] = ..., kind: _Optional[_Union[ErrorInfo.Kind, str]] = ...) -> None: ...
196
-
197
- class AbortInfo(_message.Message):
198
- __slots__ = ["reason", "aborted_by"]
199
- REASON_FIELD_NUMBER: _ClassVar[int]
200
- ABORTED_BY_FIELD_NUMBER: _ClassVar[int]
201
- reason: str
202
- aborted_by: _identity_pb2.EnrichedIdentity
203
- def __init__(self, reason: _Optional[str] = ..., aborted_by: _Optional[_Union[_identity_pb2.EnrichedIdentity, _Mapping]] = ...) -> None: ...
204
-
205
- class ActionDetails(_message.Message):
206
- __slots__ = ["id", "metadata", "status", "error_info", "abort_info", "resolved_task_spec", "attempts"]
207
- ID_FIELD_NUMBER: _ClassVar[int]
208
- METADATA_FIELD_NUMBER: _ClassVar[int]
209
- STATUS_FIELD_NUMBER: _ClassVar[int]
210
- ERROR_INFO_FIELD_NUMBER: _ClassVar[int]
211
- ABORT_INFO_FIELD_NUMBER: _ClassVar[int]
212
- RESOLVED_TASK_SPEC_FIELD_NUMBER: _ClassVar[int]
213
- ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
214
- id: _identifier_pb2.ActionIdentifier
215
- metadata: ActionMetadata
216
- status: ActionStatus
217
- error_info: ErrorInfo
218
- abort_info: AbortInfo
219
- resolved_task_spec: _task_definition_pb2.TaskSpec
220
- 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]] = ..., resolved_task_spec: _Optional[_Union[_task_definition_pb2.TaskSpec, _Mapping]] = ..., attempts: _Optional[_Iterable[_Union[ActionAttempt, _Mapping]]] = ...) -> None: ...
222
-
223
- 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"]
225
- PHASE_FIELD_NUMBER: _ClassVar[int]
226
- START_TIME_FIELD_NUMBER: _ClassVar[int]
227
- END_TIME_FIELD_NUMBER: _ClassVar[int]
228
- ERROR_INFO_FIELD_NUMBER: _ClassVar[int]
229
- ATTEMPT_FIELD_NUMBER: _ClassVar[int]
230
- LOG_INFO_FIELD_NUMBER: _ClassVar[int]
231
- OUTPUTS_FIELD_NUMBER: _ClassVar[int]
232
- LOGS_AVAILABLE_FIELD_NUMBER: _ClassVar[int]
233
- CACHE_STATUS_FIELD_NUMBER: _ClassVar[int]
234
- CLUSTER_EVENTS_FIELD_NUMBER: _ClassVar[int]
235
- PHASE_TRANSITIONS_FIELD_NUMBER: _ClassVar[int]
236
- CLUSTER_FIELD_NUMBER: _ClassVar[int]
237
- phase: Phase
238
- start_time: _timestamp_pb2.Timestamp
239
- end_time: _timestamp_pb2.Timestamp
240
- error_info: ErrorInfo
241
- attempt: int
242
- log_info: _containers.RepeatedCompositeFieldContainer[_execution_pb2.TaskLog]
243
- outputs: OutputReferences
244
- logs_available: bool
245
- cache_status: _catalog_pb2.CatalogCacheStatus
246
- cluster_events: _containers.RepeatedCompositeFieldContainer[ClusterEvent]
247
- phase_transitions: _containers.RepeatedCompositeFieldContainer[PhaseTransition]
248
- cluster: str
249
- 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] = ...) -> None: ...
250
-
251
- class ClusterEvent(_message.Message):
252
- __slots__ = ["occurred_at", "message"]
253
- OCCURRED_AT_FIELD_NUMBER: _ClassVar[int]
254
- MESSAGE_FIELD_NUMBER: _ClassVar[int]
255
- occurred_at: _timestamp_pb2.Timestamp
256
- message: str
257
- def __init__(self, occurred_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., message: _Optional[str] = ...) -> None: ...
258
-
259
- class PhaseTransition(_message.Message):
260
- __slots__ = ["phase", "start_time", "end_time"]
261
- PHASE_FIELD_NUMBER: _ClassVar[int]
262
- START_TIME_FIELD_NUMBER: _ClassVar[int]
263
- END_TIME_FIELD_NUMBER: _ClassVar[int]
264
- phase: Phase
265
- start_time: _timestamp_pb2.Timestamp
266
- end_time: _timestamp_pb2.Timestamp
267
- 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
-
269
- 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"]
271
- ID_FIELD_NUMBER: _ClassVar[int]
272
- ATTEMPT_FIELD_NUMBER: _ClassVar[int]
273
- PHASE_FIELD_NUMBER: _ClassVar[int]
274
- VERSION_FIELD_NUMBER: _ClassVar[int]
275
- START_TIME_FIELD_NUMBER: _ClassVar[int]
276
- UPDATED_TIME_FIELD_NUMBER: _ClassVar[int]
277
- END_TIME_FIELD_NUMBER: _ClassVar[int]
278
- ERROR_INFO_FIELD_NUMBER: _ClassVar[int]
279
- LOG_INFO_FIELD_NUMBER: _ClassVar[int]
280
- LOG_CONTEXT_FIELD_NUMBER: _ClassVar[int]
281
- CLUSTER_FIELD_NUMBER: _ClassVar[int]
282
- OUTPUTS_FIELD_NUMBER: _ClassVar[int]
283
- CACHE_STATUS_FIELD_NUMBER: _ClassVar[int]
284
- CLUSTER_EVENTS_FIELD_NUMBER: _ClassVar[int]
285
- id: _identifier_pb2.ActionIdentifier
286
- attempt: int
287
- phase: Phase
288
- version: int
289
- start_time: _timestamp_pb2.Timestamp
290
- updated_time: _timestamp_pb2.Timestamp
291
- end_time: _timestamp_pb2.Timestamp
292
- error_info: ErrorInfo
293
- log_info: _containers.RepeatedCompositeFieldContainer[_execution_pb2.TaskLog]
294
- log_context: _execution_pb2.LogContext
295
- cluster: str
296
- outputs: OutputReferences
297
- cache_status: _catalog_pb2.CatalogCacheStatus
298
- cluster_events: _containers.RepeatedCompositeFieldContainer[ClusterEvent]
299
- 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]]] = ...) -> None: ...
300
-
301
- class NamedLiteral(_message.Message):
302
- __slots__ = ["name", "value"]
303
- NAME_FIELD_NUMBER: _ClassVar[int]
304
- VALUE_FIELD_NUMBER: _ClassVar[int]
305
- name: str
306
- value: _literals_pb2.Literal
307
- def __init__(self, name: _Optional[str] = ..., value: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ...) -> None: ...
308
-
309
- class OutputReferences(_message.Message):
310
- __slots__ = ["output_uri", "report_uri"]
311
- OUTPUT_URI_FIELD_NUMBER: _ClassVar[int]
312
- REPORT_URI_FIELD_NUMBER: _ClassVar[int]
313
- output_uri: str
314
- report_uri: str
315
- def __init__(self, output_uri: _Optional[str] = ..., report_uri: _Optional[str] = ...) -> None: ...
316
-
317
- class Inputs(_message.Message):
318
- __slots__ = ["literals"]
319
- LITERALS_FIELD_NUMBER: _ClassVar[int]
320
- literals: _containers.RepeatedCompositeFieldContainer[NamedLiteral]
321
- def __init__(self, literals: _Optional[_Iterable[_Union[NamedLiteral, _Mapping]]] = ...) -> None: ...
322
-
323
- class Outputs(_message.Message):
324
- __slots__ = ["literals"]
325
- LITERALS_FIELD_NUMBER: _ClassVar[int]
326
- literals: _containers.RepeatedCompositeFieldContainer[NamedLiteral]
327
- def __init__(self, literals: _Optional[_Iterable[_Union[NamedLiteral, _Mapping]]] = ...) -> None: ...
@@ -1,4 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
-
@@ -1,41 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: workflow/run_logs_service.proto
4
- """Generated protocol buffer code."""
5
- from google.protobuf import descriptor as _descriptor
6
- from google.protobuf import descriptor_pool as _descriptor_pool
7
- from google.protobuf import symbol_database as _symbol_database
8
- from google.protobuf.internal import builder as _builder
9
- # @@protoc_insertion_point(imports)
10
-
11
- _sym_db = _symbol_database.Default()
12
-
13
-
14
- from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
15
- from flyte._protos.logs.dataplane import payload_pb2 as logs_dot_dataplane_dot_payload__pb2
16
- from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
17
-
18
-
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fworkflow/run_logs_service.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x1clogs/dataplane/payload.proto\x1a\x17validate/validate.proto\"~\n\x0fTailLogsRequest\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!\n\x07\x61ttempt\x18\x02 \x01(\rB\x07\xfa\x42\x04*\x02 \x00R\x07\x61ttempt\"\x90\x01\n\x10TailLogsResponse\x12<\n\x04logs\x18\x01 \x03(\x0b\x32(.cloudidl.workflow.TailLogsResponse.LogsR\x04logs\x1a>\n\x04Logs\x12\x36\n\x05lines\x18\x01 \x03(\x0b\x32 .cloudidl.logs.dataplane.LogLineR\x05lines2l\n\x0eRunLogsService\x12Z\n\x08TailLogs\x12\".cloudidl.workflow.TailLogsRequest\x1a#.cloudidl.workflow.TailLogsResponse\"\x03\x90\x02\x01\x30\x01\x42\xc0\x01\n\x15\x63om.cloudidl.workflowB\x13RunLogsServiceProtoH\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')
20
-
21
- _globals = globals()
22
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.run_logs_service_pb2', _globals)
24
- if _descriptor._USE_C_DESCRIPTORS == False:
25
- DESCRIPTOR._options = None
26
- DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\023RunLogsServiceProtoH\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'
27
- _TAILLOGSREQUEST.fields_by_name['action_id']._options = None
28
- _TAILLOGSREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
29
- _TAILLOGSREQUEST.fields_by_name['attempt']._options = None
30
- _TAILLOGSREQUEST.fields_by_name['attempt']._serialized_options = b'\372B\004*\002 \000'
31
- _RUNLOGSSERVICE.methods_by_name['TailLogs']._options = None
32
- _RUNLOGSSERVICE.methods_by_name['TailLogs']._serialized_options = b'\220\002\001'
33
- _globals['_TAILLOGSREQUEST']._serialized_start=134
34
- _globals['_TAILLOGSREQUEST']._serialized_end=260
35
- _globals['_TAILLOGSRESPONSE']._serialized_start=263
36
- _globals['_TAILLOGSRESPONSE']._serialized_end=407
37
- _globals['_TAILLOGSRESPONSE_LOGS']._serialized_start=345
38
- _globals['_TAILLOGSRESPONSE_LOGS']._serialized_end=407
39
- _globals['_RUNLOGSSERVICE']._serialized_start=409
40
- _globals['_RUNLOGSSERVICE']._serialized_end=517
41
- # @@protoc_insertion_point(module_scope)
@@ -1,28 +0,0 @@
1
- from flyte._protos.common import identifier_pb2 as _identifier_pb2
2
- from flyte._protos.logs.dataplane import payload_pb2 as _payload_pb2
3
- from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
4
- from google.protobuf.internal import containers as _containers
5
- from google.protobuf import descriptor as _descriptor
6
- from google.protobuf import message as _message
7
- from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
8
-
9
- DESCRIPTOR: _descriptor.FileDescriptor
10
-
11
- class TailLogsRequest(_message.Message):
12
- __slots__ = ["action_id", "attempt"]
13
- ACTION_ID_FIELD_NUMBER: _ClassVar[int]
14
- ATTEMPT_FIELD_NUMBER: _ClassVar[int]
15
- action_id: _identifier_pb2.ActionIdentifier
16
- attempt: int
17
- def __init__(self, action_id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ..., attempt: _Optional[int] = ...) -> None: ...
18
-
19
- class TailLogsResponse(_message.Message):
20
- __slots__ = ["logs"]
21
- class Logs(_message.Message):
22
- __slots__ = ["lines"]
23
- LINES_FIELD_NUMBER: _ClassVar[int]
24
- lines: _containers.RepeatedCompositeFieldContainer[_payload_pb2.LogLine]
25
- def __init__(self, lines: _Optional[_Iterable[_Union[_payload_pb2.LogLine, _Mapping]]] = ...) -> None: ...
26
- LOGS_FIELD_NUMBER: _ClassVar[int]
27
- logs: _containers.RepeatedCompositeFieldContainer[TailLogsResponse.Logs]
28
- def __init__(self, logs: _Optional[_Iterable[_Union[TailLogsResponse.Logs, _Mapping]]] = ...) -> None: ...
@@ -1,69 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
-
5
- from flyte._protos.workflow import run_logs_service_pb2 as workflow_dot_run__logs__service__pb2
6
-
7
-
8
- class RunLogsServiceStub(object):
9
- """RunLogsService provides an interface for streaming logs.
10
- """
11
-
12
- def __init__(self, channel):
13
- """Constructor.
14
-
15
- Args:
16
- channel: A grpc.Channel.
17
- """
18
- self.TailLogs = channel.unary_stream(
19
- '/cloudidl.workflow.RunLogsService/TailLogs',
20
- request_serializer=workflow_dot_run__logs__service__pb2.TailLogsRequest.SerializeToString,
21
- response_deserializer=workflow_dot_run__logs__service__pb2.TailLogsResponse.FromString,
22
- )
23
-
24
-
25
- class RunLogsServiceServicer(object):
26
- """RunLogsService provides an interface for streaming logs.
27
- """
28
-
29
- def TailLogs(self, request, context):
30
- """Missing associated documentation comment in .proto file."""
31
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
32
- context.set_details('Method not implemented!')
33
- raise NotImplementedError('Method not implemented!')
34
-
35
-
36
- def add_RunLogsServiceServicer_to_server(servicer, server):
37
- rpc_method_handlers = {
38
- 'TailLogs': grpc.unary_stream_rpc_method_handler(
39
- servicer.TailLogs,
40
- request_deserializer=workflow_dot_run__logs__service__pb2.TailLogsRequest.FromString,
41
- response_serializer=workflow_dot_run__logs__service__pb2.TailLogsResponse.SerializeToString,
42
- ),
43
- }
44
- generic_handler = grpc.method_handlers_generic_handler(
45
- 'cloudidl.workflow.RunLogsService', rpc_method_handlers)
46
- server.add_generic_rpc_handlers((generic_handler,))
47
-
48
-
49
- # This class is part of an EXPERIMENTAL API.
50
- class RunLogsService(object):
51
- """RunLogsService provides an interface for streaming logs.
52
- """
53
-
54
- @staticmethod
55
- def TailLogs(request,
56
- target,
57
- options=(),
58
- channel_credentials=None,
59
- call_credentials=None,
60
- insecure=False,
61
- compression=None,
62
- wait_for_ready=None,
63
- timeout=None,
64
- metadata=None):
65
- return grpc.experimental.unary_stream(request, target, '/cloudidl.workflow.RunLogsService/TailLogs',
66
- workflow_dot_run__logs__service__pb2.TailLogsRequest.SerializeToString,
67
- workflow_dot_run__logs__service__pb2.TailLogsResponse.FromString,
68
- options, channel_credentials,
69
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -1,137 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: workflow/run_service.proto
4
- """Generated protocol buffer code."""
5
- from google.protobuf import descriptor as _descriptor
6
- from google.protobuf import descriptor_pool as _descriptor_pool
7
- from google.protobuf import symbol_database as _symbol_database
8
- from google.protobuf.internal import builder as _builder
9
- # @@protoc_insertion_point(imports)
10
-
11
- _sym_db = _symbol_database.Default()
12
-
13
-
14
- from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
15
- from flyte._protos.common import list_pb2 as common_dot_list__pb2
16
- from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
17
- from flyte._protos.workflow import run_definition_pb2 as workflow_dot_run__definition__pb2
18
- from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
19
-
20
-
21
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aworkflow/run_service.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x11\x63ommon/list.proto\x1a\x17validate/validate.proto\x1a\x1dworkflow/run_definition.proto\x1a\x1eworkflow/task_definition.proto\"\xb4\x03\n\x10\x43reateRunRequest\x12\x41\n\x06run_id\x18\x01 \x01(\x0b\x32\x1e.cloudidl.common.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x05runId\x12M\n\nproject_id\x18\x06 \x01(\x0b\x32\".cloudidl.common.ProjectIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tprojectId\x12\x46\n\x07task_id\x18\x02 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x01R\x06taskId\x12\x44\n\ttask_spec\x18\x03 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x01R\x08taskSpec\x12\x31\n\x06inputs\x18\x04 \x01(\x0b\x32\x19.cloudidl.workflow.InputsR\x06inputs\x12\x35\n\x08run_spec\x18\x05 \x01(\x0b\x32\x1a.cloudidl.workflow.RunSpecR\x07runSpecB\t\n\x02id\x12\x03\xf8\x42\x01\x42\x0b\n\x04task\x12\x03\xf8\x42\x01\"=\n\x11\x43reateRunResponse\x12(\n\x03run\x18\x01 \x01(\x0b\x32\x16.cloudidl.workflow.RunR\x03run\"R\n\x0f\x41\x62ortRunRequest\x12?\n\x06run_id\x18\x01 \x01(\x0b\x32\x1e.cloudidl.common.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x05runId\"\x12\n\x10\x41\x62ortRunResponse\"W\n\x14GetRunDetailsRequest\x12?\n\x06run_id\x18\x01 \x01(\x0b\x32\x1e.cloudidl.common.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x05runId\"P\n\x15GetRunDetailsResponse\x12\x37\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1d.cloudidl.workflow.RunDetailsR\x07\x64\x65tails\"Y\n\x16WatchRunDetailsRequest\x12?\n\x06run_id\x18\x01 \x01(\x0b\x32\x1e.cloudidl.common.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x05runId\"R\n\x17WatchRunDetailsResponse\x12\x37\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1d.cloudidl.workflow.RunDetailsR\x07\x64\x65tails\"c\n\x17GetActionDetailsRequest\x12H\n\taction_id\x18\x01 \x01(\x0b\x32!.cloudidl.common.ActionIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08\x61\x63tionId\"V\n\x18GetActionDetailsResponse\x12:\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.ActionDetailsR\x07\x64\x65tails\"e\n\x19WatchActionDetailsRequest\x12H\n\taction_id\x18\x01 \x01(\x0b\x32!.cloudidl.common.ActionIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08\x61\x63tionId\"X\n\x1aWatchActionDetailsResponse\x12:\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.ActionDetailsR\x07\x64\x65tails\"`\n\x14GetActionDataRequest\x12H\n\taction_id\x18\x01 \x01(\x0b\x32!.cloudidl.common.ActionIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08\x61\x63tionId\"\x80\x01\n\x15GetActionDataResponse\x12\x31\n\x06inputs\x18\x01 \x01(\x0b\x32\x19.cloudidl.workflow.InputsR\x06inputs\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.cloudidl.workflow.OutputsR\x07outputs\"\xd2\x01\n\x0fListRunsRequest\x12\x36\n\x07request\x18\x01 \x01(\x0b\x32\x1c.cloudidl.common.ListRequestR\x07request\x12\x1b\n\x03org\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01H\x00R\x03org\x12M\n\nproject_id\x18\x04 \x01(\x0b\x32\".cloudidl.common.ProjectIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tprojectIdB\x0f\n\x08scope_by\x12\x03\xf8\x42\x01J\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06\"T\n\x10ListRunsResponse\x12*\n\x04runs\x18\x01 \x03(\x0b\x32\x16.cloudidl.workflow.RunR\x04runs\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xa4\x02\n\x10WatchRunsRequest\x12\x1b\n\x03org\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01H\x00R\x03org\x12M\n\ncluster_id\x18\x03 \x01(\x0b\x32\".cloudidl.common.ClusterIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tclusterId\x12M\n\nproject_id\x18\x04 \x01(\x0b\x32\".cloudidl.common.ProjectIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tprojectId\x12\x46\n\x07task_id\x18\x05 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x06taskIdB\r\n\x06target\x12\x03\xf8\x42\x01\"?\n\x11WatchRunsResponse\x12*\n\x04runs\x18\x01 \x03(\x0b\x32\x16.cloudidl.workflow.RunR\x04runs\"\x8d\x01\n\x12ListActionsRequest\x12\x36\n\x07request\x18\x01 \x01(\x0b\x32\x1c.cloudidl.common.ListRequestR\x07request\x12?\n\x06run_id\x18\x02 \x01(\x0b\x32\x1e.cloudidl.common.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x05runId\"`\n\x13ListActionsResponse\x12\x33\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x19.cloudidl.workflow.ActionR\x07\x61\x63tions\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\x87\x01\n\x13WatchActionsRequest\x12?\n\x06run_id\x18\x01 \x01(\x0b\x32\x1e.cloudidl.common.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x05runId\x12/\n\x06\x66ilter\x18\x02 \x03(\x0b\x32\x17.cloudidl.common.FilterR\x06\x66ilter\"d\n\x14WatchActionsResponse\x12L\n\x10\x65nriched_actions\x18\x01 \x03(\x0b\x32!.cloudidl.workflow.EnrichedActionR\x0f\x65nrichedActions\"{\n\x19WatchClusterEventsRequest\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\"d\n\x1aWatchClusterEventsResponse\x12\x46\n\x0e\x63luster_events\x18\x01 \x03(\x0b\x32\x1f.cloudidl.workflow.ClusterEventR\rclusterEvents2\xdb\t\n\nRunService\x12X\n\tCreateRun\x12#.cloudidl.workflow.CreateRunRequest\x1a$.cloudidl.workflow.CreateRunResponse\"\x00\x12U\n\x08\x41\x62ortRun\x12\".cloudidl.workflow.AbortRunRequest\x1a#.cloudidl.workflow.AbortRunResponse\"\x00\x12g\n\rGetRunDetails\x12\'.cloudidl.workflow.GetRunDetailsRequest\x1a(.cloudidl.workflow.GetRunDetailsResponse\"\x03\x90\x02\x01\x12l\n\x0fWatchRunDetails\x12).cloudidl.workflow.WatchRunDetailsRequest\x1a*.cloudidl.workflow.WatchRunDetailsResponse\"\x00\x30\x01\x12p\n\x10GetActionDetails\x12*.cloudidl.workflow.GetActionDetailsRequest\x1a+.cloudidl.workflow.GetActionDetailsResponse\"\x03\x90\x02\x01\x12u\n\x12WatchActionDetails\x12,.cloudidl.workflow.WatchActionDetailsRequest\x1a-.cloudidl.workflow.WatchActionDetailsResponse\"\x00\x30\x01\x12g\n\rGetActionData\x12\'.cloudidl.workflow.GetActionDataRequest\x1a(.cloudidl.workflow.GetActionDataResponse\"\x03\x90\x02\x01\x12X\n\x08ListRuns\x12\".cloudidl.workflow.ListRunsRequest\x1a#.cloudidl.workflow.ListRunsResponse\"\x03\x90\x02\x01\x12Z\n\tWatchRuns\x12#.cloudidl.workflow.WatchRunsRequest\x1a$.cloudidl.workflow.WatchRunsResponse\"\x00\x30\x01\x12\x61\n\x0bListActions\x12%.cloudidl.workflow.ListActionsRequest\x1a&.cloudidl.workflow.ListActionsResponse\"\x03\x90\x02\x01\x12\x63\n\x0cWatchActions\x12&.cloudidl.workflow.WatchActionsRequest\x1a\'.cloudidl.workflow.WatchActionsResponse\"\x00\x30\x01\x12u\n\x12WatchClusterEvents\x12,.cloudidl.workflow.WatchClusterEventsRequest\x1a-.cloudidl.workflow.WatchClusterEventsResponse\"\x00\x30\x01\x42\xbc\x01\n\x15\x63om.cloudidl.workflowB\x0fRunServiceProtoH\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
-
23
- _globals = globals()
24
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
25
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.run_service_pb2', _globals)
26
- if _descriptor._USE_C_DESCRIPTORS == False:
27
- DESCRIPTOR._options = None
28
- DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\017RunServiceProtoH\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'
29
- _CREATERUNREQUEST.oneofs_by_name['id']._options = None
30
- _CREATERUNREQUEST.oneofs_by_name['id']._serialized_options = b'\370B\001'
31
- _CREATERUNREQUEST.oneofs_by_name['task']._options = None
32
- _CREATERUNREQUEST.oneofs_by_name['task']._serialized_options = b'\370B\001'
33
- _CREATERUNREQUEST.fields_by_name['run_id']._options = None
34
- _CREATERUNREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
35
- _CREATERUNREQUEST.fields_by_name['project_id']._options = None
36
- _CREATERUNREQUEST.fields_by_name['project_id']._serialized_options = b'\372B\005\212\001\002\020\001'
37
- _CREATERUNREQUEST.fields_by_name['task_id']._options = None
38
- _CREATERUNREQUEST.fields_by_name['task_id']._serialized_options = b'\372B\005\212\001\002\020\001'
39
- _CREATERUNREQUEST.fields_by_name['task_spec']._options = None
40
- _CREATERUNREQUEST.fields_by_name['task_spec']._serialized_options = b'\372B\005\212\001\002\020\001'
41
- _ABORTRUNREQUEST.fields_by_name['run_id']._options = None
42
- _ABORTRUNREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
43
- _GETRUNDETAILSREQUEST.fields_by_name['run_id']._options = None
44
- _GETRUNDETAILSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
45
- _WATCHRUNDETAILSREQUEST.fields_by_name['run_id']._options = None
46
- _WATCHRUNDETAILSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
47
- _GETACTIONDETAILSREQUEST.fields_by_name['action_id']._options = None
48
- _GETACTIONDETAILSREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
49
- _WATCHACTIONDETAILSREQUEST.fields_by_name['action_id']._options = None
50
- _WATCHACTIONDETAILSREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
51
- _GETACTIONDATAREQUEST.fields_by_name['action_id']._options = None
52
- _GETACTIONDATAREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
53
- _LISTRUNSREQUEST.oneofs_by_name['scope_by']._options = None
54
- _LISTRUNSREQUEST.oneofs_by_name['scope_by']._serialized_options = b'\370B\001'
55
- _LISTRUNSREQUEST.fields_by_name['org']._options = None
56
- _LISTRUNSREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
57
- _LISTRUNSREQUEST.fields_by_name['project_id']._options = None
58
- _LISTRUNSREQUEST.fields_by_name['project_id']._serialized_options = b'\372B\005\212\001\002\020\001'
59
- _WATCHRUNSREQUEST.oneofs_by_name['target']._options = None
60
- _WATCHRUNSREQUEST.oneofs_by_name['target']._serialized_options = b'\370B\001'
61
- _WATCHRUNSREQUEST.fields_by_name['org']._options = None
62
- _WATCHRUNSREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
63
- _WATCHRUNSREQUEST.fields_by_name['cluster_id']._options = None
64
- _WATCHRUNSREQUEST.fields_by_name['cluster_id']._serialized_options = b'\372B\005\212\001\002\020\001'
65
- _WATCHRUNSREQUEST.fields_by_name['project_id']._options = None
66
- _WATCHRUNSREQUEST.fields_by_name['project_id']._serialized_options = b'\372B\005\212\001\002\020\001'
67
- _WATCHRUNSREQUEST.fields_by_name['task_id']._options = None
68
- _WATCHRUNSREQUEST.fields_by_name['task_id']._serialized_options = b'\372B\005\212\001\002\020\001'
69
- _LISTACTIONSREQUEST.fields_by_name['run_id']._options = None
70
- _LISTACTIONSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
71
- _WATCHACTIONSREQUEST.fields_by_name['run_id']._options = None
72
- _WATCHACTIONSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
73
- _WATCHCLUSTEREVENTSREQUEST.fields_by_name['id']._options = None
74
- _WATCHCLUSTEREVENTSREQUEST.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
75
- _WATCHCLUSTEREVENTSREQUEST.fields_by_name['attempt']._options = None
76
- _WATCHCLUSTEREVENTSREQUEST.fields_by_name['attempt']._serialized_options = b'\372B\004*\002 \000'
77
- _RUNSERVICE.methods_by_name['GetRunDetails']._options = None
78
- _RUNSERVICE.methods_by_name['GetRunDetails']._serialized_options = b'\220\002\001'
79
- _RUNSERVICE.methods_by_name['GetActionDetails']._options = None
80
- _RUNSERVICE.methods_by_name['GetActionDetails']._serialized_options = b'\220\002\001'
81
- _RUNSERVICE.methods_by_name['GetActionData']._options = None
82
- _RUNSERVICE.methods_by_name['GetActionData']._serialized_options = b'\220\002\001'
83
- _RUNSERVICE.methods_by_name['ListRuns']._options = None
84
- _RUNSERVICE.methods_by_name['ListRuns']._serialized_options = b'\220\002\001'
85
- _RUNSERVICE.methods_by_name['ListActions']._options = None
86
- _RUNSERVICE.methods_by_name['ListActions']._serialized_options = b'\220\002\001'
87
- _globals['_CREATERUNREQUEST']._serialized_start=182
88
- _globals['_CREATERUNREQUEST']._serialized_end=618
89
- _globals['_CREATERUNRESPONSE']._serialized_start=620
90
- _globals['_CREATERUNRESPONSE']._serialized_end=681
91
- _globals['_ABORTRUNREQUEST']._serialized_start=683
92
- _globals['_ABORTRUNREQUEST']._serialized_end=765
93
- _globals['_ABORTRUNRESPONSE']._serialized_start=767
94
- _globals['_ABORTRUNRESPONSE']._serialized_end=785
95
- _globals['_GETRUNDETAILSREQUEST']._serialized_start=787
96
- _globals['_GETRUNDETAILSREQUEST']._serialized_end=874
97
- _globals['_GETRUNDETAILSRESPONSE']._serialized_start=876
98
- _globals['_GETRUNDETAILSRESPONSE']._serialized_end=956
99
- _globals['_WATCHRUNDETAILSREQUEST']._serialized_start=958
100
- _globals['_WATCHRUNDETAILSREQUEST']._serialized_end=1047
101
- _globals['_WATCHRUNDETAILSRESPONSE']._serialized_start=1049
102
- _globals['_WATCHRUNDETAILSRESPONSE']._serialized_end=1131
103
- _globals['_GETACTIONDETAILSREQUEST']._serialized_start=1133
104
- _globals['_GETACTIONDETAILSREQUEST']._serialized_end=1232
105
- _globals['_GETACTIONDETAILSRESPONSE']._serialized_start=1234
106
- _globals['_GETACTIONDETAILSRESPONSE']._serialized_end=1320
107
- _globals['_WATCHACTIONDETAILSREQUEST']._serialized_start=1322
108
- _globals['_WATCHACTIONDETAILSREQUEST']._serialized_end=1423
109
- _globals['_WATCHACTIONDETAILSRESPONSE']._serialized_start=1425
110
- _globals['_WATCHACTIONDETAILSRESPONSE']._serialized_end=1513
111
- _globals['_GETACTIONDATAREQUEST']._serialized_start=1515
112
- _globals['_GETACTIONDATAREQUEST']._serialized_end=1611
113
- _globals['_GETACTIONDATARESPONSE']._serialized_start=1614
114
- _globals['_GETACTIONDATARESPONSE']._serialized_end=1742
115
- _globals['_LISTRUNSREQUEST']._serialized_start=1745
116
- _globals['_LISTRUNSREQUEST']._serialized_end=1955
117
- _globals['_LISTRUNSRESPONSE']._serialized_start=1957
118
- _globals['_LISTRUNSRESPONSE']._serialized_end=2041
119
- _globals['_WATCHRUNSREQUEST']._serialized_start=2044
120
- _globals['_WATCHRUNSREQUEST']._serialized_end=2336
121
- _globals['_WATCHRUNSRESPONSE']._serialized_start=2338
122
- _globals['_WATCHRUNSRESPONSE']._serialized_end=2401
123
- _globals['_LISTACTIONSREQUEST']._serialized_start=2404
124
- _globals['_LISTACTIONSREQUEST']._serialized_end=2545
125
- _globals['_LISTACTIONSRESPONSE']._serialized_start=2547
126
- _globals['_LISTACTIONSRESPONSE']._serialized_end=2643
127
- _globals['_WATCHACTIONSREQUEST']._serialized_start=2646
128
- _globals['_WATCHACTIONSREQUEST']._serialized_end=2781
129
- _globals['_WATCHACTIONSRESPONSE']._serialized_start=2783
130
- _globals['_WATCHACTIONSRESPONSE']._serialized_end=2883
131
- _globals['_WATCHCLUSTEREVENTSREQUEST']._serialized_start=2885
132
- _globals['_WATCHCLUSTEREVENTSREQUEST']._serialized_end=3008
133
- _globals['_WATCHCLUSTEREVENTSRESPONSE']._serialized_start=3010
134
- _globals['_WATCHCLUSTEREVENTSRESPONSE']._serialized_end=3110
135
- _globals['_RUNSERVICE']._serialized_start=3113
136
- _globals['_RUNSERVICE']._serialized_end=4356
137
- # @@protoc_insertion_point(module_scope)