flyte 0.0.1b3__py3-none-any.whl → 0.2.0a0__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/__init__.py +20 -4
- flyte/_bin/runtime.py +33 -7
- flyte/_build.py +3 -2
- flyte/_cache/cache.py +1 -2
- flyte/_code_bundle/_packaging.py +1 -1
- flyte/_code_bundle/_utils.py +0 -16
- flyte/_code_bundle/bundle.py +43 -12
- flyte/_context.py +8 -2
- flyte/_deploy.py +56 -15
- flyte/_environment.py +45 -4
- flyte/_excepthook.py +37 -0
- flyte/_group.py +2 -1
- flyte/_image.py +8 -4
- flyte/_initialize.py +112 -254
- flyte/_interface.py +3 -3
- flyte/_internal/controllers/__init__.py +19 -6
- flyte/_internal/controllers/_local_controller.py +83 -8
- flyte/_internal/controllers/_trace.py +2 -1
- flyte/_internal/controllers/remote/__init__.py +27 -7
- flyte/_internal/controllers/remote/_action.py +7 -2
- flyte/_internal/controllers/remote/_client.py +5 -1
- flyte/_internal/controllers/remote/_controller.py +159 -26
- flyte/_internal/controllers/remote/_core.py +13 -5
- flyte/_internal/controllers/remote/_informer.py +4 -4
- flyte/_internal/controllers/remote/_service_protocol.py +6 -6
- flyte/_internal/imagebuild/docker_builder.py +12 -1
- flyte/_internal/imagebuild/image_builder.py +16 -11
- flyte/_internal/runtime/convert.py +164 -21
- flyte/_internal/runtime/entrypoints.py +1 -1
- flyte/_internal/runtime/io.py +3 -3
- flyte/_internal/runtime/task_serde.py +140 -20
- flyte/_internal/runtime/taskrunner.py +4 -3
- flyte/_internal/runtime/types_serde.py +1 -1
- flyte/_logging.py +12 -1
- flyte/_map.py +215 -0
- flyte/_pod.py +19 -0
- flyte/_protos/common/list_pb2.py +3 -3
- flyte/_protos/common/list_pb2.pyi +2 -0
- flyte/_protos/logs/dataplane/payload_pb2.py +28 -24
- flyte/_protos/logs/dataplane/payload_pb2.pyi +11 -2
- flyte/_protos/workflow/common_pb2.py +27 -0
- flyte/_protos/workflow/common_pb2.pyi +14 -0
- flyte/_protos/workflow/environment_pb2.py +29 -0
- flyte/_protos/workflow/environment_pb2.pyi +12 -0
- flyte/_protos/workflow/queue_service_pb2.py +40 -41
- flyte/_protos/workflow/queue_service_pb2.pyi +35 -30
- flyte/_protos/workflow/queue_service_pb2_grpc.py +15 -15
- flyte/_protos/workflow/run_definition_pb2.py +61 -61
- flyte/_protos/workflow/run_definition_pb2.pyi +8 -4
- flyte/_protos/workflow/run_service_pb2.py +20 -24
- flyte/_protos/workflow/run_service_pb2.pyi +2 -6
- flyte/_protos/workflow/state_service_pb2.py +36 -28
- flyte/_protos/workflow/state_service_pb2.pyi +19 -15
- flyte/_protos/workflow/state_service_pb2_grpc.py +28 -28
- flyte/_protos/workflow/task_definition_pb2.py +29 -22
- flyte/_protos/workflow/task_definition_pb2.pyi +21 -5
- flyte/_protos/workflow/task_service_pb2.py +27 -11
- flyte/_protos/workflow/task_service_pb2.pyi +29 -1
- flyte/_protos/workflow/task_service_pb2_grpc.py +34 -0
- flyte/_run.py +166 -95
- flyte/_task.py +110 -28
- flyte/_task_environment.py +55 -72
- flyte/_trace.py +6 -14
- flyte/_utils/__init__.py +6 -0
- flyte/_utils/async_cache.py +139 -0
- flyte/_utils/coro_management.py +0 -2
- flyte/_utils/helpers.py +45 -19
- flyte/_utils/org_discovery.py +57 -0
- flyte/_version.py +2 -2
- flyte/cli/__init__.py +3 -0
- flyte/cli/_abort.py +28 -0
- flyte/{_cli → cli}/_common.py +73 -23
- flyte/cli/_create.py +145 -0
- flyte/{_cli → cli}/_delete.py +4 -4
- flyte/{_cli → cli}/_deploy.py +26 -14
- flyte/cli/_gen.py +163 -0
- flyte/{_cli → cli}/_get.py +98 -23
- {union/_cli → flyte/cli}/_params.py +106 -147
- flyte/{_cli → cli}/_run.py +99 -20
- flyte/cli/main.py +166 -0
- flyte/config/__init__.py +3 -0
- flyte/config/_config.py +216 -0
- flyte/config/_internal.py +64 -0
- flyte/config/_reader.py +207 -0
- flyte/errors.py +29 -0
- flyte/extras/_container.py +33 -43
- flyte/io/__init__.py +17 -1
- flyte/io/_dir.py +2 -2
- flyte/io/_file.py +3 -4
- flyte/io/{structured_dataset → _structured_dataset}/basic_dfs.py +1 -1
- flyte/io/{structured_dataset → _structured_dataset}/structured_dataset.py +1 -1
- flyte/{_datastructures.py → models.py} +56 -7
- flyte/remote/__init__.py +2 -1
- flyte/remote/_client/_protocols.py +2 -0
- flyte/remote/_client/auth/_auth_utils.py +14 -0
- flyte/remote/_client/auth/_channel.py +34 -3
- flyte/remote/_client/auth/_token_client.py +3 -3
- flyte/remote/_client/controlplane.py +13 -13
- flyte/remote/_console.py +1 -1
- flyte/remote/_data.py +10 -6
- flyte/remote/_logs.py +89 -29
- flyte/remote/_project.py +8 -9
- flyte/remote/_run.py +228 -131
- flyte/remote/_secret.py +12 -12
- flyte/remote/_task.py +179 -15
- flyte/report/_report.py +4 -4
- flyte/storage/__init__.py +5 -0
- flyte/storage/_config.py +233 -0
- flyte/storage/_storage.py +23 -3
- flyte/syncify/__init__.py +56 -0
- flyte/syncify/_api.py +371 -0
- flyte/types/__init__.py +23 -0
- flyte/types/_interface.py +22 -7
- flyte/{io/pickle/transformer.py → types/_pickle.py} +2 -1
- flyte/types/_type_engine.py +95 -18
- flyte-0.2.0a0.dist-info/METADATA +249 -0
- flyte-0.2.0a0.dist-info/RECORD +218 -0
- {flyte-0.0.1b3.dist-info → flyte-0.2.0a0.dist-info}/entry_points.txt +1 -1
- flyte/_api_commons.py +0 -3
- flyte/_cli/__init__.py +0 -0
- flyte/_cli/_create.py +0 -42
- flyte/_cli/main.py +0 -72
- flyte/_internal/controllers/pbhash.py +0 -39
- flyte/io/_dataframe.py +0 -0
- flyte/io/pickle/__init__.py +0 -0
- flyte-0.0.1b3.dist-info/METADATA +0 -179
- flyte-0.0.1b3.dist-info/RECORD +0 -390
- union/__init__.py +0 -54
- union/_api_commons.py +0 -3
- union/_bin/__init__.py +0 -0
- union/_bin/runtime.py +0 -113
- union/_build.py +0 -25
- union/_cache/__init__.py +0 -12
- union/_cache/cache.py +0 -141
- union/_cache/defaults.py +0 -9
- union/_cache/policy_function_body.py +0 -42
- union/_cli/__init__.py +0 -0
- union/_cli/_common.py +0 -263
- union/_cli/_create.py +0 -40
- union/_cli/_delete.py +0 -23
- union/_cli/_deploy.py +0 -120
- union/_cli/_get.py +0 -162
- union/_cli/_run.py +0 -150
- union/_cli/main.py +0 -72
- union/_code_bundle/__init__.py +0 -8
- union/_code_bundle/_ignore.py +0 -113
- union/_code_bundle/_packaging.py +0 -187
- union/_code_bundle/_utils.py +0 -342
- union/_code_bundle/bundle.py +0 -176
- union/_context.py +0 -146
- union/_datastructures.py +0 -295
- union/_deploy.py +0 -185
- union/_doc.py +0 -29
- union/_docstring.py +0 -26
- union/_environment.py +0 -43
- union/_group.py +0 -31
- union/_hash.py +0 -23
- union/_image.py +0 -760
- union/_initialize.py +0 -585
- union/_interface.py +0 -84
- union/_internal/__init__.py +0 -3
- union/_internal/controllers/__init__.py +0 -77
- union/_internal/controllers/_local_controller.py +0 -77
- union/_internal/controllers/pbhash.py +0 -39
- union/_internal/controllers/remote/__init__.py +0 -40
- union/_internal/controllers/remote/_action.py +0 -131
- union/_internal/controllers/remote/_client.py +0 -43
- union/_internal/controllers/remote/_controller.py +0 -169
- union/_internal/controllers/remote/_core.py +0 -341
- union/_internal/controllers/remote/_informer.py +0 -260
- union/_internal/controllers/remote/_service_protocol.py +0 -44
- union/_internal/imagebuild/__init__.py +0 -11
- union/_internal/imagebuild/docker_builder.py +0 -416
- union/_internal/imagebuild/image_builder.py +0 -243
- union/_internal/imagebuild/remote_builder.py +0 -0
- union/_internal/resolvers/__init__.py +0 -0
- union/_internal/resolvers/_task_module.py +0 -31
- union/_internal/resolvers/common.py +0 -24
- union/_internal/resolvers/default.py +0 -27
- union/_internal/runtime/__init__.py +0 -0
- union/_internal/runtime/convert.py +0 -163
- union/_internal/runtime/entrypoints.py +0 -121
- union/_internal/runtime/io.py +0 -136
- union/_internal/runtime/resources_serde.py +0 -134
- union/_internal/runtime/task_serde.py +0 -202
- union/_internal/runtime/taskrunner.py +0 -179
- union/_internal/runtime/types_serde.py +0 -53
- union/_logging.py +0 -124
- union/_protos/__init__.py +0 -0
- union/_protos/common/authorization_pb2.py +0 -66
- union/_protos/common/authorization_pb2.pyi +0 -106
- union/_protos/common/identifier_pb2.py +0 -71
- union/_protos/common/identifier_pb2.pyi +0 -82
- union/_protos/common/identity_pb2.py +0 -48
- union/_protos/common/identity_pb2.pyi +0 -72
- union/_protos/common/identity_pb2_grpc.py +0 -4
- union/_protos/common/list_pb2.py +0 -36
- union/_protos/common/list_pb2.pyi +0 -69
- union/_protos/common/list_pb2_grpc.py +0 -4
- union/_protos/common/policy_pb2.py +0 -37
- union/_protos/common/policy_pb2.pyi +0 -27
- union/_protos/common/policy_pb2_grpc.py +0 -4
- union/_protos/common/role_pb2.py +0 -37
- union/_protos/common/role_pb2.pyi +0 -51
- union/_protos/common/role_pb2_grpc.py +0 -4
- union/_protos/common/runtime_version_pb2.py +0 -28
- union/_protos/common/runtime_version_pb2.pyi +0 -24
- union/_protos/common/runtime_version_pb2_grpc.py +0 -4
- union/_protos/logs/dataplane/payload_pb2.py +0 -96
- union/_protos/logs/dataplane/payload_pb2.pyi +0 -168
- union/_protos/logs/dataplane/payload_pb2_grpc.py +0 -4
- union/_protos/secret/definition_pb2.py +0 -49
- union/_protos/secret/definition_pb2.pyi +0 -93
- union/_protos/secret/definition_pb2_grpc.py +0 -4
- union/_protos/secret/payload_pb2.py +0 -62
- union/_protos/secret/payload_pb2.pyi +0 -94
- union/_protos/secret/payload_pb2_grpc.py +0 -4
- union/_protos/secret/secret_pb2.py +0 -38
- union/_protos/secret/secret_pb2.pyi +0 -6
- union/_protos/secret/secret_pb2_grpc.py +0 -198
- union/_protos/validate/validate/validate_pb2.py +0 -76
- union/_protos/workflow/node_execution_service_pb2.py +0 -26
- union/_protos/workflow/node_execution_service_pb2.pyi +0 -4
- union/_protos/workflow/node_execution_service_pb2_grpc.py +0 -32
- union/_protos/workflow/queue_service_pb2.py +0 -75
- union/_protos/workflow/queue_service_pb2.pyi +0 -103
- union/_protos/workflow/queue_service_pb2_grpc.py +0 -172
- union/_protos/workflow/run_definition_pb2.py +0 -100
- union/_protos/workflow/run_definition_pb2.pyi +0 -256
- union/_protos/workflow/run_definition_pb2_grpc.py +0 -4
- union/_protos/workflow/run_logs_service_pb2.py +0 -41
- union/_protos/workflow/run_logs_service_pb2.pyi +0 -28
- union/_protos/workflow/run_logs_service_pb2_grpc.py +0 -69
- union/_protos/workflow/run_service_pb2.py +0 -133
- union/_protos/workflow/run_service_pb2.pyi +0 -173
- union/_protos/workflow/run_service_pb2_grpc.py +0 -412
- union/_protos/workflow/state_service_pb2.py +0 -58
- union/_protos/workflow/state_service_pb2.pyi +0 -69
- union/_protos/workflow/state_service_pb2_grpc.py +0 -138
- union/_protos/workflow/task_definition_pb2.py +0 -72
- union/_protos/workflow/task_definition_pb2.pyi +0 -65
- union/_protos/workflow/task_definition_pb2_grpc.py +0 -4
- union/_protos/workflow/task_service_pb2.py +0 -44
- union/_protos/workflow/task_service_pb2.pyi +0 -31
- union/_protos/workflow/task_service_pb2_grpc.py +0 -104
- union/_resources.py +0 -226
- union/_retry.py +0 -32
- union/_reusable_environment.py +0 -25
- union/_run.py +0 -374
- union/_secret.py +0 -61
- union/_task.py +0 -354
- union/_task_environment.py +0 -186
- union/_timeout.py +0 -47
- union/_tools.py +0 -27
- union/_utils/__init__.py +0 -11
- union/_utils/asyn.py +0 -119
- union/_utils/file_handling.py +0 -71
- union/_utils/helpers.py +0 -46
- union/_utils/lazy_module.py +0 -54
- union/_utils/uv_script_parser.py +0 -49
- union/_version.py +0 -21
- union/connectors/__init__.py +0 -0
- union/errors.py +0 -128
- union/extras/__init__.py +0 -5
- union/extras/_container.py +0 -263
- union/io/__init__.py +0 -11
- union/io/_dataframe.py +0 -0
- union/io/_dir.py +0 -425
- union/io/_file.py +0 -418
- union/io/pickle/__init__.py +0 -0
- union/io/pickle/transformer.py +0 -117
- union/io/structured_dataset/__init__.py +0 -122
- union/io/structured_dataset/basic_dfs.py +0 -219
- union/io/structured_dataset/structured_dataset.py +0 -1057
- union/py.typed +0 -0
- union/remote/__init__.py +0 -23
- union/remote/_client/__init__.py +0 -0
- union/remote/_client/_protocols.py +0 -129
- union/remote/_client/auth/__init__.py +0 -12
- union/remote/_client/auth/_authenticators/__init__.py +0 -0
- union/remote/_client/auth/_authenticators/base.py +0 -391
- union/remote/_client/auth/_authenticators/client_credentials.py +0 -73
- union/remote/_client/auth/_authenticators/device_code.py +0 -120
- union/remote/_client/auth/_authenticators/external_command.py +0 -77
- union/remote/_client/auth/_authenticators/factory.py +0 -200
- union/remote/_client/auth/_authenticators/pkce.py +0 -515
- union/remote/_client/auth/_channel.py +0 -184
- union/remote/_client/auth/_client_config.py +0 -83
- union/remote/_client/auth/_default_html.py +0 -32
- union/remote/_client/auth/_grpc_utils/__init__.py +0 -0
- union/remote/_client/auth/_grpc_utils/auth_interceptor.py +0 -204
- union/remote/_client/auth/_grpc_utils/default_metadata_interceptor.py +0 -144
- union/remote/_client/auth/_keyring.py +0 -154
- union/remote/_client/auth/_token_client.py +0 -258
- union/remote/_client/auth/errors.py +0 -16
- union/remote/_client/controlplane.py +0 -86
- union/remote/_data.py +0 -149
- union/remote/_logs.py +0 -74
- union/remote/_project.py +0 -86
- union/remote/_run.py +0 -820
- union/remote/_secret.py +0 -132
- union/remote/_task.py +0 -193
- union/report/__init__.py +0 -3
- union/report/_report.py +0 -178
- union/report/_template.html +0 -124
- union/storage/__init__.py +0 -24
- union/storage/_remote_fs.py +0 -34
- union/storage/_storage.py +0 -247
- union/storage/_utils.py +0 -5
- union/types/__init__.py +0 -11
- union/types/_renderer.py +0 -162
- union/types/_string_literals.py +0 -120
- union/types/_type_engine.py +0 -2131
- union/types/_utils.py +0 -80
- /union/_protos/common/authorization_pb2_grpc.py → /flyte/_protos/workflow/common_pb2_grpc.py +0 -0
- /union/_protos/common/identifier_pb2_grpc.py → /flyte/_protos/workflow/environment_pb2_grpc.py +0 -0
- /flyte/io/{structured_dataset → _structured_dataset}/__init__.py +0 -0
- {flyte-0.0.1b3.dist-info → flyte-0.2.0a0.dist-info}/WHEEL +0 -0
- {flyte-0.0.1b3.dist-info → flyte-0.2.0a0.dist-info}/top_level.txt +0 -0
|
@@ -12,12 +12,13 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
from flyteidl.core import types_pb2 as flyteidl_dot_core_dot_types__pb2
|
|
15
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
15
16
|
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
16
17
|
from flyte._protos.workflow import run_definition_pb2 as workflow_dot_run__definition__pb2
|
|
17
18
|
from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
|
|
18
19
|
|
|
19
20
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cworkflow/queue_service.proto\x12\x11\x63loudidl.workflow\x1a\x19\x66lyteidl/core/types.proto\x1a\x17validate/validate.proto\x1a\x1dworkflow/run_definition.proto\x1a\x1eworkflow/task_definition.proto\"\x8a\x04\n\x14\x45nqueueActionRequest\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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$\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\"
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cworkflow/queue_service.proto\x12\x11\x63loudidl.workflow\x1a\x19\x66lyteidl/core/types.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17validate/validate.proto\x1a\x1dworkflow/run_definition.proto\x1a\x1eworkflow/task_definition.proto\"\x7f\n\x10WorkerIdentifier\x12+\n\x0corganization\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x0corganization\x12!\n\x07\x63luster\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x07\x63luster\x12\x1b\n\x04name\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x04name\"\x8a\x04\n\x14\x45nqueueActionRequest\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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$\n\tinput_uri\x18\x06 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x08inputUri\x12/\n\x0frun_output_base\x18\x07 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\rrunOutputBase\x12\x14\n\x05group\x18\x08 \x01(\tR\x05group\x12\x18\n\x07subject\x18\t \x01(\tR\x07subject\x12=\n\x04task\x18\n \x01(\x0b\x32\x1d.cloudidl.workflow.TaskActionB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x04task\x12@\n\x05trace\x18\x0b \x01(\x0b\x32\x1e.cloudidl.workflow.TraceActionB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x05trace\x12L\n\tcondition\x18\x0c \x01(\x0b\x32\".cloudidl.workflow.ConditionActionB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tconditionB\x06\n\x04specB\x15\n\x13_parent_action_name\"\xb5\x01\n\nTaskAction\x12\x31\n\x02id\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierR\x02id\x12\x39\n\x04spec\x18\x02 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04spec\x12\x39\n\tcache_key\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueR\x08\x63\x61\x63heKey\"*\n\x0bTraceAction\x12\x1b\n\x04name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x04name\"\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\"Z\n\x15\x41\x62ortQueuedRunRequest\x12\x41\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x05runId\"\x18\n\x16\x41\x62ortQueuedRunResponse\"\x86\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\x12O\n\x11\x61\x63tive_action_ids\x18\x02 \x03(\x0b\x32#.cloudidl.workflow.ActionIdentifierR\x0f\x61\x63tiveActionIds\x12S\n\x13terminal_action_ids\x18\x03 \x03(\x0b\x32#.cloudidl.workflow.ActionIdentifierR\x11terminalActionIds\x12Q\n\x12\x61\x62orted_action_ids\x18\x04 \x03(\x0b\x32#.cloudidl.workflow.ActionIdentifierR\x10\x61\x62ortedActionIds\x12-\n\x12\x61vailable_capacity\x18\x05 \x01(\x05R\x11\x61vailableCapacity\"\xe4\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\x12U\n\x14\x66inalized_action_ids\x18\x03 \x03(\x0b\x32#.cloudidl.workflow.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\"\xbe\x03\n\x05Lease\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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$\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\x14\n\x05group\x18\x08 \x01(\tR\x05group\x12\x18\n\x07subject\x18\t \x01(\tR\x07subjectB\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')
|
|
21
22
|
|
|
22
23
|
_globals = globals()
|
|
23
24
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -25,6 +26,12 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.queue_service_pb2'
|
|
|
25
26
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
27
|
DESCRIPTOR._options = None
|
|
27
28
|
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\021QueueServiceProtoH\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
|
+
_WORKERIDENTIFIER.fields_by_name['organization']._options = None
|
|
30
|
+
_WORKERIDENTIFIER.fields_by_name['organization']._serialized_options = b'\372B\004r\002\020\001'
|
|
31
|
+
_WORKERIDENTIFIER.fields_by_name['cluster']._options = None
|
|
32
|
+
_WORKERIDENTIFIER.fields_by_name['cluster']._serialized_options = b'\372B\004r\002\020\001'
|
|
33
|
+
_WORKERIDENTIFIER.fields_by_name['name']._options = None
|
|
34
|
+
_WORKERIDENTIFIER.fields_by_name['name']._serialized_options = b'\372B\004r\002\020\001'
|
|
28
35
|
_ENQUEUEACTIONREQUEST.fields_by_name['action_id']._options = None
|
|
29
36
|
_ENQUEUEACTIONREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
30
37
|
_ENQUEUEACTIONREQUEST.fields_by_name['input_uri']._options = None
|
|
@@ -49,22 +56,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
49
56
|
_CONDITIONACTION.fields_by_name['run_id']._serialized_options = b'\372B\004r\002\020\001'
|
|
50
57
|
_CONDITIONACTION.fields_by_name['action_id']._options = None
|
|
51
58
|
_CONDITIONACTION.fields_by_name['action_id']._serialized_options = b'\372B\004r\002\020\001'
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
_HEARTBEATREQUEST.oneofs_by_name['filter']._options = None
|
|
55
|
-
_HEARTBEATREQUEST.oneofs_by_name['filter']._serialized_options = b'\370B\001'
|
|
59
|
+
_ABORTQUEUEDRUNREQUEST.fields_by_name['run_id']._options = None
|
|
60
|
+
_ABORTQUEUEDRUNREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
56
61
|
_HEARTBEATREQUEST.fields_by_name['worker_id']._options = None
|
|
57
|
-
_HEARTBEATREQUEST.fields_by_name['worker_id']._serialized_options = b'\372B\
|
|
58
|
-
_HEARTBEATREQUEST.fields_by_name['cluster_id']._options = None
|
|
59
|
-
_HEARTBEATREQUEST.fields_by_name['cluster_id']._serialized_options = b'\372B\004r\002\020\001'
|
|
60
|
-
_HEARTBEATREQUEST.fields_by_name['organization']._options = None
|
|
61
|
-
_HEARTBEATREQUEST.fields_by_name['organization']._serialized_options = b'\372B\004r\002\020\001'
|
|
62
|
-
_HEARTBEATREQUEST.fields_by_name['org']._options = None
|
|
63
|
-
_HEARTBEATREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
|
|
62
|
+
_HEARTBEATREQUEST.fields_by_name['worker_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
64
63
|
_STREAMLEASESREQUEST.fields_by_name['worker_id']._options = None
|
|
65
|
-
_STREAMLEASESREQUEST.fields_by_name['worker_id']._serialized_options = b'\372B\
|
|
66
|
-
_STREAMLEASESREQUEST.fields_by_name['org']._options = None
|
|
67
|
-
_STREAMLEASESREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
|
|
64
|
+
_STREAMLEASESREQUEST.fields_by_name['worker_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
68
65
|
_LEASE.oneofs_by_name['spec']._options = None
|
|
69
66
|
_LEASE.oneofs_by_name['spec']._serialized_options = b'\370B\001'
|
|
70
67
|
_LEASE.fields_by_name['action_id']._options = None
|
|
@@ -77,30 +74,32 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
77
74
|
_LEASE.fields_by_name['task']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
78
75
|
_LEASE.fields_by_name['condition']._options = None
|
|
79
76
|
_LEASE.fields_by_name['condition']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
105
|
-
_globals['
|
|
77
|
+
_globals['_WORKERIDENTIFIER']._serialized_start=198
|
|
78
|
+
_globals['_WORKERIDENTIFIER']._serialized_end=325
|
|
79
|
+
_globals['_ENQUEUEACTIONREQUEST']._serialized_start=328
|
|
80
|
+
_globals['_ENQUEUEACTIONREQUEST']._serialized_end=850
|
|
81
|
+
_globals['_TASKACTION']._serialized_start=853
|
|
82
|
+
_globals['_TASKACTION']._serialized_end=1034
|
|
83
|
+
_globals['_TRACEACTION']._serialized_start=1036
|
|
84
|
+
_globals['_TRACEACTION']._serialized_end=1078
|
|
85
|
+
_globals['_CONDITIONACTION']._serialized_start=1081
|
|
86
|
+
_globals['_CONDITIONACTION']._serialized_end=1347
|
|
87
|
+
_globals['_ENQUEUEACTIONRESPONSE']._serialized_start=1349
|
|
88
|
+
_globals['_ENQUEUEACTIONRESPONSE']._serialized_end=1372
|
|
89
|
+
_globals['_ABORTQUEUEDRUNREQUEST']._serialized_start=1374
|
|
90
|
+
_globals['_ABORTQUEUEDRUNREQUEST']._serialized_end=1464
|
|
91
|
+
_globals['_ABORTQUEUEDRUNRESPONSE']._serialized_start=1466
|
|
92
|
+
_globals['_ABORTQUEUEDRUNRESPONSE']._serialized_end=1490
|
|
93
|
+
_globals['_HEARTBEATREQUEST']._serialized_start=1493
|
|
94
|
+
_globals['_HEARTBEATREQUEST']._serialized_end=1883
|
|
95
|
+
_globals['_HEARTBEATRESPONSE']._serialized_start=1886
|
|
96
|
+
_globals['_HEARTBEATRESPONSE']._serialized_end=2114
|
|
97
|
+
_globals['_STREAMLEASESREQUEST']._serialized_start=2116
|
|
98
|
+
_globals['_STREAMLEASESREQUEST']._serialized_end=2213
|
|
99
|
+
_globals['_STREAMLEASESRESPONSE']._serialized_start=2215
|
|
100
|
+
_globals['_STREAMLEASESRESPONSE']._serialized_end=2287
|
|
101
|
+
_globals['_LEASE']._serialized_start=2290
|
|
102
|
+
_globals['_LEASE']._serialized_end=2736
|
|
103
|
+
_globals['_QUEUESERVICE']._serialized_start=2739
|
|
104
|
+
_globals['_QUEUESERVICE']._serialized_end=3155
|
|
106
105
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from flyteidl.core import types_pb2 as _types_pb2
|
|
2
|
+
from google.protobuf import wrappers_pb2 as _wrappers_pb2
|
|
2
3
|
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
3
4
|
from flyte._protos.workflow import run_definition_pb2 as _run_definition_pb2
|
|
4
5
|
from flyte._protos.workflow import task_definition_pb2 as _task_definition_pb2
|
|
@@ -9,6 +10,16 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
|
|
|
9
10
|
|
|
10
11
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
12
|
|
|
13
|
+
class WorkerIdentifier(_message.Message):
|
|
14
|
+
__slots__ = ["organization", "cluster", "name"]
|
|
15
|
+
ORGANIZATION_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
CLUSTER_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
organization: str
|
|
19
|
+
cluster: str
|
|
20
|
+
name: str
|
|
21
|
+
def __init__(self, organization: _Optional[str] = ..., cluster: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
|
|
22
|
+
|
|
12
23
|
class EnqueueActionRequest(_message.Message):
|
|
13
24
|
__slots__ = ["action_id", "parent_action_name", "input_uri", "run_output_base", "group", "subject", "task", "trace", "condition"]
|
|
14
25
|
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -32,12 +43,14 @@ class EnqueueActionRequest(_message.Message):
|
|
|
32
43
|
def __init__(self, action_id: _Optional[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]] = ..., parent_action_name: _Optional[str] = ..., 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: ...
|
|
33
44
|
|
|
34
45
|
class TaskAction(_message.Message):
|
|
35
|
-
__slots__ = ["id", "spec"]
|
|
46
|
+
__slots__ = ["id", "spec", "cache_key"]
|
|
36
47
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
37
48
|
SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
CACHE_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
38
50
|
id: _task_definition_pb2.TaskIdentifier
|
|
39
51
|
spec: _task_definition_pb2.TaskSpec
|
|
40
|
-
|
|
52
|
+
cache_key: _wrappers_pb2.StringValue
|
|
53
|
+
def __init__(self, id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ..., spec: _Optional[_Union[_task_definition_pb2.TaskSpec, _Mapping]] = ..., cache_key: _Optional[_Union[_wrappers_pb2.StringValue, _Mapping]] = ...) -> None: ...
|
|
41
54
|
|
|
42
55
|
class TraceAction(_message.Message):
|
|
43
56
|
__slots__ = ["name"]
|
|
@@ -66,51 +79,45 @@ class EnqueueActionResponse(_message.Message):
|
|
|
66
79
|
__slots__ = []
|
|
67
80
|
def __init__(self) -> None: ...
|
|
68
81
|
|
|
69
|
-
class
|
|
70
|
-
__slots__ = ["
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
def __init__(self,
|
|
82
|
+
class AbortQueuedRunRequest(_message.Message):
|
|
83
|
+
__slots__ = ["run_id"]
|
|
84
|
+
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
+
run_id: _run_definition_pb2.RunIdentifier
|
|
86
|
+
def __init__(self, run_id: _Optional[_Union[_run_definition_pb2.RunIdentifier, _Mapping]] = ...) -> None: ...
|
|
74
87
|
|
|
75
|
-
class
|
|
88
|
+
class AbortQueuedRunResponse(_message.Message):
|
|
76
89
|
__slots__ = []
|
|
77
90
|
def __init__(self) -> None: ...
|
|
78
91
|
|
|
79
92
|
class HeartbeatRequest(_message.Message):
|
|
80
|
-
__slots__ = ["worker_id", "
|
|
93
|
+
__slots__ = ["worker_id", "active_action_ids", "terminal_action_ids", "aborted_action_ids", "available_capacity"]
|
|
81
94
|
WORKER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
-
CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
83
95
|
ACTIVE_ACTION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
84
96
|
TERMINAL_ACTION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
-
|
|
97
|
+
ABORTED_ACTION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
86
98
|
AVAILABLE_CAPACITY_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
-
|
|
88
|
-
worker_id: str
|
|
89
|
-
cluster_id: str
|
|
99
|
+
worker_id: WorkerIdentifier
|
|
90
100
|
active_action_ids: _containers.RepeatedCompositeFieldContainer[_run_definition_pb2.ActionIdentifier]
|
|
91
101
|
terminal_action_ids: _containers.RepeatedCompositeFieldContainer[_run_definition_pb2.ActionIdentifier]
|
|
92
|
-
|
|
102
|
+
aborted_action_ids: _containers.RepeatedCompositeFieldContainer[_run_definition_pb2.ActionIdentifier]
|
|
93
103
|
available_capacity: int
|
|
94
|
-
|
|
95
|
-
def __init__(self, worker_id: _Optional[str] = ..., cluster_id: _Optional[str] = ..., active_action_ids: _Optional[_Iterable[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]]] = ..., terminal_action_ids: _Optional[_Iterable[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]]] = ..., organization: _Optional[str] = ..., available_capacity: _Optional[int] = ..., org: _Optional[str] = ...) -> None: ...
|
|
104
|
+
def __init__(self, worker_id: _Optional[_Union[WorkerIdentifier, _Mapping]] = ..., active_action_ids: _Optional[_Iterable[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]]] = ..., terminal_action_ids: _Optional[_Iterable[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]]] = ..., aborted_action_ids: _Optional[_Iterable[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]]] = ..., available_capacity: _Optional[int] = ...) -> None: ...
|
|
96
105
|
|
|
97
106
|
class HeartbeatResponse(_message.Message):
|
|
98
|
-
__slots__ = ["new_leases", "
|
|
107
|
+
__slots__ = ["new_leases", "aborted_leases", "finalized_action_ids"]
|
|
99
108
|
NEW_LEASES_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
-
|
|
109
|
+
ABORTED_LEASES_FIELD_NUMBER: _ClassVar[int]
|
|
101
110
|
FINALIZED_ACTION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
102
111
|
new_leases: _containers.RepeatedCompositeFieldContainer[Lease]
|
|
103
|
-
|
|
112
|
+
aborted_leases: _containers.RepeatedCompositeFieldContainer[Lease]
|
|
104
113
|
finalized_action_ids: _containers.RepeatedCompositeFieldContainer[_run_definition_pb2.ActionIdentifier]
|
|
105
|
-
def __init__(self, new_leases: _Optional[_Iterable[_Union[Lease, _Mapping]]] = ...,
|
|
114
|
+
def __init__(self, new_leases: _Optional[_Iterable[_Union[Lease, _Mapping]]] = ..., aborted_leases: _Optional[_Iterable[_Union[Lease, _Mapping]]] = ..., finalized_action_ids: _Optional[_Iterable[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]]] = ...) -> None: ...
|
|
106
115
|
|
|
107
116
|
class StreamLeasesRequest(_message.Message):
|
|
108
|
-
__slots__ = ["worker_id"
|
|
117
|
+
__slots__ = ["worker_id"]
|
|
109
118
|
WORKER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
110
|
-
|
|
111
|
-
worker_id:
|
|
112
|
-
org: str
|
|
113
|
-
def __init__(self, worker_id: _Optional[str] = ..., org: _Optional[str] = ...) -> None: ...
|
|
119
|
+
worker_id: WorkerIdentifier
|
|
120
|
+
def __init__(self, worker_id: _Optional[_Union[WorkerIdentifier, _Mapping]] = ...) -> None: ...
|
|
114
121
|
|
|
115
122
|
class StreamLeasesResponse(_message.Message):
|
|
116
123
|
__slots__ = ["leases"]
|
|
@@ -119,7 +126,7 @@ class StreamLeasesResponse(_message.Message):
|
|
|
119
126
|
def __init__(self, leases: _Optional[_Iterable[_Union[Lease, _Mapping]]] = ...) -> None: ...
|
|
120
127
|
|
|
121
128
|
class Lease(_message.Message):
|
|
122
|
-
__slots__ = ["action_id", "parent_action_name", "input_uri", "run_output_base", "task", "condition", "group", "subject"
|
|
129
|
+
__slots__ = ["action_id", "parent_action_name", "input_uri", "run_output_base", "task", "condition", "group", "subject"]
|
|
123
130
|
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
124
131
|
PARENT_ACTION_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
125
132
|
INPUT_URI_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -128,7 +135,6 @@ class Lease(_message.Message):
|
|
|
128
135
|
CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
129
136
|
GROUP_FIELD_NUMBER: _ClassVar[int]
|
|
130
137
|
SUBJECT_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
-
PREVIOUS_STATE_FIELD_NUMBER: _ClassVar[int]
|
|
132
138
|
action_id: _run_definition_pb2.ActionIdentifier
|
|
133
139
|
parent_action_name: str
|
|
134
140
|
input_uri: str
|
|
@@ -137,5 +143,4 @@ class Lease(_message.Message):
|
|
|
137
143
|
condition: ConditionAction
|
|
138
144
|
group: str
|
|
139
145
|
subject: str
|
|
140
|
-
|
|
141
|
-
def __init__(self, action_id: _Optional[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]] = ..., parent_action_name: _Optional[str] = ..., input_uri: _Optional[str] = ..., run_output_base: _Optional[str] = ..., task: _Optional[_Union[TaskAction, _Mapping]] = ..., condition: _Optional[_Union[ConditionAction, _Mapping]] = ..., group: _Optional[str] = ..., subject: _Optional[str] = ..., previous_state: _Optional[str] = ...) -> None: ...
|
|
146
|
+
def __init__(self, action_id: _Optional[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]] = ..., parent_action_name: _Optional[str] = ..., input_uri: _Optional[str] = ..., run_output_base: _Optional[str] = ..., task: _Optional[_Union[TaskAction, _Mapping]] = ..., condition: _Optional[_Union[ConditionAction, _Mapping]] = ..., group: _Optional[str] = ..., subject: _Optional[str] = ...) -> None: ...
|
|
@@ -20,10 +20,10 @@ class QueueServiceStub(object):
|
|
|
20
20
|
request_serializer=workflow_dot_queue__service__pb2.EnqueueActionRequest.SerializeToString,
|
|
21
21
|
response_deserializer=workflow_dot_queue__service__pb2.EnqueueActionResponse.FromString,
|
|
22
22
|
)
|
|
23
|
-
self.
|
|
24
|
-
'/cloudidl.workflow.QueueService/
|
|
25
|
-
request_serializer=workflow_dot_queue__service__pb2.
|
|
26
|
-
response_deserializer=workflow_dot_queue__service__pb2.
|
|
23
|
+
self.AbortQueuedRun = channel.unary_unary(
|
|
24
|
+
'/cloudidl.workflow.QueueService/AbortQueuedRun',
|
|
25
|
+
request_serializer=workflow_dot_queue__service__pb2.AbortQueuedRunRequest.SerializeToString,
|
|
26
|
+
response_deserializer=workflow_dot_queue__service__pb2.AbortQueuedRunResponse.FromString,
|
|
27
27
|
)
|
|
28
28
|
self.Heartbeat = channel.stream_stream(
|
|
29
29
|
'/cloudidl.workflow.QueueService/Heartbeat',
|
|
@@ -48,8 +48,8 @@ class QueueServiceServicer(object):
|
|
|
48
48
|
context.set_details('Method not implemented!')
|
|
49
49
|
raise NotImplementedError('Method not implemented!')
|
|
50
50
|
|
|
51
|
-
def
|
|
52
|
-
"""abort a queued
|
|
51
|
+
def AbortQueuedRun(self, request, context):
|
|
52
|
+
"""abort a queued run.
|
|
53
53
|
"""
|
|
54
54
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
55
55
|
context.set_details('Method not implemented!')
|
|
@@ -63,7 +63,7 @@ class QueueServiceServicer(object):
|
|
|
63
63
|
raise NotImplementedError('Method not implemented!')
|
|
64
64
|
|
|
65
65
|
def StreamLeases(self, request, context):
|
|
66
|
-
"""
|
|
66
|
+
"""stream leases for a worker.
|
|
67
67
|
"""
|
|
68
68
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
69
69
|
context.set_details('Method not implemented!')
|
|
@@ -77,10 +77,10 @@ def add_QueueServiceServicer_to_server(servicer, server):
|
|
|
77
77
|
request_deserializer=workflow_dot_queue__service__pb2.EnqueueActionRequest.FromString,
|
|
78
78
|
response_serializer=workflow_dot_queue__service__pb2.EnqueueActionResponse.SerializeToString,
|
|
79
79
|
),
|
|
80
|
-
'
|
|
81
|
-
servicer.
|
|
82
|
-
request_deserializer=workflow_dot_queue__service__pb2.
|
|
83
|
-
response_serializer=workflow_dot_queue__service__pb2.
|
|
80
|
+
'AbortQueuedRun': grpc.unary_unary_rpc_method_handler(
|
|
81
|
+
servicer.AbortQueuedRun,
|
|
82
|
+
request_deserializer=workflow_dot_queue__service__pb2.AbortQueuedRunRequest.FromString,
|
|
83
|
+
response_serializer=workflow_dot_queue__service__pb2.AbortQueuedRunResponse.SerializeToString,
|
|
84
84
|
),
|
|
85
85
|
'Heartbeat': grpc.stream_stream_rpc_method_handler(
|
|
86
86
|
servicer.Heartbeat,
|
|
@@ -121,7 +121,7 @@ class QueueService(object):
|
|
|
121
121
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
122
122
|
|
|
123
123
|
@staticmethod
|
|
124
|
-
def
|
|
124
|
+
def AbortQueuedRun(request,
|
|
125
125
|
target,
|
|
126
126
|
options=(),
|
|
127
127
|
channel_credentials=None,
|
|
@@ -131,9 +131,9 @@ class QueueService(object):
|
|
|
131
131
|
wait_for_ready=None,
|
|
132
132
|
timeout=None,
|
|
133
133
|
metadata=None):
|
|
134
|
-
return grpc.experimental.unary_unary(request, target, '/cloudidl.workflow.QueueService/
|
|
135
|
-
workflow_dot_queue__service__pb2.
|
|
136
|
-
workflow_dot_queue__service__pb2.
|
|
134
|
+
return grpc.experimental.unary_unary(request, target, '/cloudidl.workflow.QueueService/AbortQueuedRun',
|
|
135
|
+
workflow_dot_queue__service__pb2.AbortQueuedRunRequest.SerializeToString,
|
|
136
|
+
workflow_dot_queue__service__pb2.AbortQueuedRunResponse.FromString,
|
|
137
137
|
options, channel_credentials,
|
|
138
138
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
139
139
|
|
|
@@ -21,7 +21,7 @@ from flyte._protos.validate.validate import validate_pb2 as validate_dot_validat
|
|
|
21
21
|
from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dworkflow/run_definition.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x15\x63ommon/identity.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17validate/validate.proto\x1a\x1eworkflow/task_definition.proto\"\
|
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dworkflow/run_definition.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x15\x63ommon/identity.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17validate/validate.proto\x1a\x1eworkflow/task_definition.proto\"\x93\x01\n\rRunIdentifier\x12\x1b\n\x03org\x18\x01 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18?R\x03org\x12#\n\x07project\x18\x02 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18?R\x07project\x12!\n\x06\x64omain\x18\x03 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18?R\x06\x64omain\x12\x1d\n\x04name\x18\x04 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18\x1eR\x04name\"\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\"o\n\x10\x41\x63tionIdentifier\x12<\n\x03run\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x03run\x12\x1d\n\x04name\x18\x02 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18\x1eR\x04name\"\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\"\xb5\x01\n\x06\x41\x63tion\x12\x33\n\x02id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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\"\xcd\x03\n\rActionDetails\x12\x33\n\x02id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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\"\xd0\x03\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\rlogsAvailableB\x0b\n\t_end_timeB\r\n\x0b_error_info\"\x95\x05\n\x0b\x41\x63tionEvent\x12=\n\x02id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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\x39\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\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.TimestampH\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\x07outputsB\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\"1\n\x10OutputReferences\x12\x1d\n\noutput_uri\x18\x01 \x01(\tR\toutputUri\"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
25
|
|
|
26
26
|
_globals = globals()
|
|
27
27
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -30,11 +30,11 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
30
30
|
DESCRIPTOR._options = None
|
|
31
31
|
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\022RunDefinitionProtoH\002P\001Z+github.com/unionai/cloud/gen/pb-go/workflow\242\002\003CWX\252\002\021Cloudidl.Workflow\312\002\021Cloudidl\\Workflow\342\002\035Cloudidl\\Workflow\\GPBMetadata\352\002\022Cloudidl::Workflow'
|
|
32
32
|
_RUNIDENTIFIER.fields_by_name['org']._options = None
|
|
33
|
-
_RUNIDENTIFIER.fields_by_name['org']._serialized_options = b'\372B\
|
|
33
|
+
_RUNIDENTIFIER.fields_by_name['org']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
34
34
|
_RUNIDENTIFIER.fields_by_name['project']._options = None
|
|
35
|
-
_RUNIDENTIFIER.fields_by_name['project']._serialized_options = b'\372B\
|
|
35
|
+
_RUNIDENTIFIER.fields_by_name['project']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
36
36
|
_RUNIDENTIFIER.fields_by_name['domain']._options = None
|
|
37
|
-
_RUNIDENTIFIER.fields_by_name['domain']._serialized_options = b'\372B\
|
|
37
|
+
_RUNIDENTIFIER.fields_by_name['domain']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
38
38
|
_RUNIDENTIFIER.fields_by_name['name']._options = None
|
|
39
39
|
_RUNIDENTIFIER.fields_by_name['name']._serialized_options = b'\372B\006r\004\020\001\030\036'
|
|
40
40
|
_LABELS_VALUESENTRY._options = None
|
|
@@ -67,62 +67,62 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
67
67
|
_ACTIONEVENT.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
68
68
|
_ACTIONEVENT.fields_by_name['attempt']._options = None
|
|
69
69
|
_ACTIONEVENT.fields_by_name['attempt']._serialized_options = b'\372B\004*\002 \000'
|
|
70
|
-
_globals['_PHASE']._serialized_start=
|
|
71
|
-
_globals['_PHASE']._serialized_end=
|
|
70
|
+
_globals['_PHASE']._serialized_start=4899
|
|
71
|
+
_globals['_PHASE']._serialized_end=5102
|
|
72
72
|
_globals['_RUNIDENTIFIER']._serialized_start=284
|
|
73
|
-
_globals['_RUNIDENTIFIER']._serialized_end=
|
|
74
|
-
_globals['_LABELS']._serialized_start=
|
|
75
|
-
_globals['_LABELS']._serialized_end=
|
|
76
|
-
_globals['_LABELS_VALUESENTRY']._serialized_start=
|
|
77
|
-
_globals['_LABELS_VALUESENTRY']._serialized_end=
|
|
78
|
-
_globals['_ANNOTATIONS']._serialized_start=
|
|
79
|
-
_globals['_ANNOTATIONS']._serialized_end=
|
|
80
|
-
_globals['_ANNOTATIONS_VALUESENTRY']._serialized_start=
|
|
81
|
-
_globals['_ANNOTATIONS_VALUESENTRY']._serialized_end=
|
|
82
|
-
_globals['_ENVS']._serialized_start=
|
|
83
|
-
_globals['_ENVS']._serialized_end=
|
|
84
|
-
_globals['_RUNSPEC']._serialized_start=
|
|
85
|
-
_globals['_RUNSPEC']._serialized_end=
|
|
86
|
-
_globals['_RUN']._serialized_start=
|
|
87
|
-
_globals['_RUN']._serialized_end=
|
|
88
|
-
_globals['_RUNDETAILS']._serialized_start=
|
|
89
|
-
_globals['_RUNDETAILS']._serialized_end=
|
|
90
|
-
_globals['_ACTIONIDENTIFIER']._serialized_start=
|
|
91
|
-
_globals['_ACTIONIDENTIFIER']._serialized_end=
|
|
92
|
-
_globals['_TASKACTIONMETADATA']._serialized_start=
|
|
93
|
-
_globals['_TASKACTIONMETADATA']._serialized_end=
|
|
94
|
-
_globals['_TRACEACTIONMETADATA']._serialized_start=
|
|
95
|
-
_globals['_TRACEACTIONMETADATA']._serialized_end=
|
|
96
|
-
_globals['_CONDITIONACTIONMETADATA']._serialized_start=
|
|
97
|
-
_globals['_CONDITIONACTIONMETADATA']._serialized_end=
|
|
98
|
-
_globals['_ACTIONMETADATA']._serialized_start=
|
|
99
|
-
_globals['_ACTIONMETADATA']._serialized_end=
|
|
100
|
-
_globals['_ACTIONSTATUS']._serialized_start=
|
|
101
|
-
_globals['_ACTIONSTATUS']._serialized_end=
|
|
102
|
-
_globals['_ACTION']._serialized_start=
|
|
103
|
-
_globals['_ACTION']._serialized_end=
|
|
104
|
-
_globals['_ENRICHEDACTION']._serialized_start=
|
|
105
|
-
_globals['_ENRICHEDACTION']._serialized_end=
|
|
106
|
-
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_start=
|
|
107
|
-
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_end=
|
|
108
|
-
_globals['_ERRORINFO']._serialized_start=
|
|
109
|
-
_globals['_ERRORINFO']._serialized_end=
|
|
110
|
-
_globals['_ERRORINFO_KIND']._serialized_start=
|
|
111
|
-
_globals['_ERRORINFO_KIND']._serialized_end=
|
|
112
|
-
_globals['_ABORTINFO']._serialized_start=
|
|
113
|
-
_globals['_ABORTINFO']._serialized_end=
|
|
114
|
-
_globals['_ACTIONDETAILS']._serialized_start=
|
|
115
|
-
_globals['_ACTIONDETAILS']._serialized_end=
|
|
116
|
-
_globals['_ACTIONATTEMPT']._serialized_start=
|
|
117
|
-
_globals['_ACTIONATTEMPT']._serialized_end=
|
|
118
|
-
_globals['_ACTIONEVENT']._serialized_start=
|
|
119
|
-
_globals['_ACTIONEVENT']._serialized_end=
|
|
120
|
-
_globals['_NAMEDLITERAL']._serialized_start=
|
|
121
|
-
_globals['_NAMEDLITERAL']._serialized_end=
|
|
122
|
-
_globals['_OUTPUTREFERENCES']._serialized_start=
|
|
123
|
-
_globals['_OUTPUTREFERENCES']._serialized_end=
|
|
124
|
-
_globals['_INPUTS']._serialized_start=
|
|
125
|
-
_globals['_INPUTS']._serialized_end=
|
|
126
|
-
_globals['_OUTPUTS']._serialized_start=
|
|
127
|
-
_globals['_OUTPUTS']._serialized_end=
|
|
73
|
+
_globals['_RUNIDENTIFIER']._serialized_end=431
|
|
74
|
+
_globals['_LABELS']._serialized_start=434
|
|
75
|
+
_globals['_LABELS']._serialized_end=564
|
|
76
|
+
_globals['_LABELS_VALUESENTRY']._serialized_start=507
|
|
77
|
+
_globals['_LABELS_VALUESENTRY']._serialized_end=564
|
|
78
|
+
_globals['_ANNOTATIONS']._serialized_start=567
|
|
79
|
+
_globals['_ANNOTATIONS']._serialized_end=707
|
|
80
|
+
_globals['_ANNOTATIONS_VALUESENTRY']._serialized_start=507
|
|
81
|
+
_globals['_ANNOTATIONS_VALUESENTRY']._serialized_end=564
|
|
82
|
+
_globals['_ENVS']._serialized_start=709
|
|
83
|
+
_globals['_ENVS']._serialized_end=768
|
|
84
|
+
_globals['_RUNSPEC']._serialized_start=771
|
|
85
|
+
_globals['_RUNSPEC']._serialized_end=1049
|
|
86
|
+
_globals['_RUN']._serialized_start=1051
|
|
87
|
+
_globals['_RUN']._serialized_end=1107
|
|
88
|
+
_globals['_RUNDETAILS']._serialized_start=1109
|
|
89
|
+
_globals['_RUNDETAILS']._serialized_end=1234
|
|
90
|
+
_globals['_ACTIONIDENTIFIER']._serialized_start=1236
|
|
91
|
+
_globals['_ACTIONIDENTIFIER']._serialized_end=1347
|
|
92
|
+
_globals['_TASKACTIONMETADATA']._serialized_start=1350
|
|
93
|
+
_globals['_TASKACTIONMETADATA']._serialized_end=1481
|
|
94
|
+
_globals['_TRACEACTIONMETADATA']._serialized_start=1483
|
|
95
|
+
_globals['_TRACEACTIONMETADATA']._serialized_end=1524
|
|
96
|
+
_globals['_CONDITIONACTIONMETADATA']._serialized_start=1527
|
|
97
|
+
_globals['_CONDITIONACTIONMETADATA']._serialized_end=1686
|
|
98
|
+
_globals['_ACTIONMETADATA']._serialized_start=1689
|
|
99
|
+
_globals['_ACTIONMETADATA']._serialized_end=2058
|
|
100
|
+
_globals['_ACTIONSTATUS']._serialized_start=2061
|
|
101
|
+
_globals['_ACTIONSTATUS']._serialized_end=2292
|
|
102
|
+
_globals['_ACTION']._serialized_start=2295
|
|
103
|
+
_globals['_ACTION']._serialized_end=2476
|
|
104
|
+
_globals['_ENRICHEDACTION']._serialized_start=2479
|
|
105
|
+
_globals['_ENRICHEDACTION']._serialized_end=2765
|
|
106
|
+
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_start=2695
|
|
107
|
+
_globals['_ENRICHEDACTION_CHILDRENPHASECOUNTSENTRY']._serialized_end=2765
|
|
108
|
+
_globals['_ERRORINFO']._serialized_start=2768
|
|
109
|
+
_globals['_ERRORINFO']._serialized_end=2922
|
|
110
|
+
_globals['_ERRORINFO_KIND']._serialized_start=2862
|
|
111
|
+
_globals['_ERRORINFO_KIND']._serialized_end=2922
|
|
112
|
+
_globals['_ABORTINFO']._serialized_start=2924
|
|
113
|
+
_globals['_ABORTINFO']._serialized_end=3025
|
|
114
|
+
_globals['_ACTIONDETAILS']._serialized_start=3028
|
|
115
|
+
_globals['_ACTIONDETAILS']._serialized_end=3489
|
|
116
|
+
_globals['_ACTIONATTEMPT']._serialized_start=3492
|
|
117
|
+
_globals['_ACTIONATTEMPT']._serialized_end=3956
|
|
118
|
+
_globals['_ACTIONEVENT']._serialized_start=3959
|
|
119
|
+
_globals['_ACTIONEVENT']._serialized_end=4620
|
|
120
|
+
_globals['_NAMEDLITERAL']._serialized_start=4622
|
|
121
|
+
_globals['_NAMEDLITERAL']._serialized_end=4702
|
|
122
|
+
_globals['_OUTPUTREFERENCES']._serialized_start=4704
|
|
123
|
+
_globals['_OUTPUTREFERENCES']._serialized_end=4753
|
|
124
|
+
_globals['_INPUTS']._serialized_start=4755
|
|
125
|
+
_globals['_INPUTS']._serialized_end=4824
|
|
126
|
+
_globals['_OUTPUTS']._serialized_start=4826
|
|
127
|
+
_globals['_OUTPUTS']._serialized_end=4896
|
|
128
128
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -116,12 +116,14 @@ class ActionIdentifier(_message.Message):
|
|
|
116
116
|
def __init__(self, run: _Optional[_Union[RunIdentifier, _Mapping]] = ..., name: _Optional[str] = ...) -> None: ...
|
|
117
117
|
|
|
118
118
|
class TaskActionMetadata(_message.Message):
|
|
119
|
-
__slots__ = ["id", "task_type"]
|
|
119
|
+
__slots__ = ["id", "task_type", "short_name"]
|
|
120
120
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
121
121
|
TASK_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
SHORT_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
122
123
|
id: _task_definition_pb2.TaskIdentifier
|
|
123
124
|
task_type: str
|
|
124
|
-
|
|
125
|
+
short_name: str
|
|
126
|
+
def __init__(self, id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ..., task_type: _Optional[str] = ..., short_name: _Optional[str] = ...) -> None: ...
|
|
125
127
|
|
|
126
128
|
class TraceActionMetadata(_message.Message):
|
|
127
129
|
__slots__ = ["name"]
|
|
@@ -238,7 +240,7 @@ class ActionDetails(_message.Message):
|
|
|
238
240
|
def __init__(self, id: _Optional[_Union[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: ...
|
|
239
241
|
|
|
240
242
|
class ActionAttempt(_message.Message):
|
|
241
|
-
__slots__ = ["phase", "start_time", "end_time", "error_info", "attempt", "log_info", "outputs"]
|
|
243
|
+
__slots__ = ["phase", "start_time", "end_time", "error_info", "attempt", "log_info", "outputs", "logs_available"]
|
|
242
244
|
PHASE_FIELD_NUMBER: _ClassVar[int]
|
|
243
245
|
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
244
246
|
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -246,6 +248,7 @@ class ActionAttempt(_message.Message):
|
|
|
246
248
|
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
247
249
|
LOG_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
248
250
|
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
251
|
+
LOGS_AVAILABLE_FIELD_NUMBER: _ClassVar[int]
|
|
249
252
|
phase: Phase
|
|
250
253
|
start_time: _timestamp_pb2.Timestamp
|
|
251
254
|
end_time: _timestamp_pb2.Timestamp
|
|
@@ -253,7 +256,8 @@ class ActionAttempt(_message.Message):
|
|
|
253
256
|
attempt: int
|
|
254
257
|
log_info: _containers.RepeatedCompositeFieldContainer[_execution_pb2.TaskLog]
|
|
255
258
|
outputs: OutputReferences
|
|
256
|
-
|
|
259
|
+
logs_available: bool
|
|
260
|
+
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 = ...) -> None: ...
|
|
257
261
|
|
|
258
262
|
class ActionEvent(_message.Message):
|
|
259
263
|
__slots__ = ["id", "attempt", "phase", "version", "start_time", "updated_time", "end_time", "error_info", "log_info", "log_context", "cluster", "outputs"]
|