flyte 2.0.0b23__py3-none-any.whl → 2.0.0b25__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 +11 -2
- flyte/_cache/local_cache.py +4 -3
- flyte/_code_bundle/_utils.py +3 -3
- flyte/_code_bundle/bundle.py +12 -5
- flyte/_context.py +4 -1
- flyte/_custom_context.py +73 -0
- flyte/_deploy.py +31 -7
- flyte/_image.py +48 -16
- flyte/_initialize.py +69 -26
- flyte/_internal/controllers/_local_controller.py +1 -0
- flyte/_internal/controllers/_trace.py +1 -1
- flyte/_internal/controllers/remote/_action.py +9 -10
- flyte/_internal/controllers/remote/_client.py +1 -1
- flyte/_internal/controllers/remote/_controller.py +4 -2
- flyte/_internal/controllers/remote/_core.py +10 -13
- flyte/_internal/controllers/remote/_informer.py +3 -3
- flyte/_internal/controllers/remote/_service_protocol.py +7 -7
- flyte/_internal/imagebuild/docker_builder.py +45 -59
- flyte/_internal/imagebuild/remote_builder.py +51 -11
- flyte/_internal/imagebuild/utils.py +51 -3
- flyte/_internal/runtime/convert.py +39 -18
- flyte/_internal/runtime/io.py +8 -7
- flyte/_internal/runtime/resources_serde.py +20 -6
- flyte/_internal/runtime/reuse.py +1 -1
- flyte/_internal/runtime/task_serde.py +7 -10
- flyte/_internal/runtime/taskrunner.py +10 -1
- flyte/_internal/runtime/trigger_serde.py +13 -13
- flyte/_internal/runtime/types_serde.py +1 -1
- flyte/_keyring/file.py +2 -2
- flyte/_map.py +65 -13
- flyte/_pod.py +2 -2
- flyte/_resources.py +175 -31
- flyte/_run.py +37 -21
- flyte/_task.py +27 -6
- flyte/_task_environment.py +37 -10
- flyte/_utils/module_loader.py +2 -2
- flyte/_version.py +3 -3
- flyte/cli/_common.py +47 -5
- flyte/cli/_create.py +4 -0
- flyte/cli/_deploy.py +8 -0
- flyte/cli/_get.py +4 -0
- flyte/cli/_params.py +4 -4
- flyte/cli/_run.py +50 -7
- flyte/cli/_update.py +4 -3
- flyte/config/_config.py +2 -0
- flyte/config/_internal.py +1 -0
- flyte/config/_reader.py +3 -3
- flyte/errors.py +1 -1
- flyte/extend.py +4 -0
- flyte/extras/_container.py +6 -1
- flyte/git/_config.py +11 -9
- flyte/io/_dataframe/basic_dfs.py +1 -1
- flyte/io/_dataframe/dataframe.py +12 -8
- flyte/io/_dir.py +48 -15
- flyte/io/_file.py +48 -11
- flyte/models.py +12 -8
- flyte/remote/_action.py +18 -16
- flyte/remote/_client/_protocols.py +4 -3
- flyte/remote/_client/auth/_channel.py +1 -1
- flyte/remote/_client/controlplane.py +4 -8
- flyte/remote/_data.py +4 -3
- flyte/remote/_logs.py +3 -3
- flyte/remote/_run.py +5 -5
- flyte/remote/_secret.py +20 -13
- flyte/remote/_task.py +7 -8
- flyte/remote/_trigger.py +25 -27
- flyte/storage/_parallel_reader.py +274 -0
- flyte/storage/_storage.py +66 -2
- flyte/types/_interface.py +2 -2
- flyte/types/_pickle.py +1 -1
- flyte/types/_string_literals.py +8 -9
- flyte/types/_type_engine.py +25 -17
- flyte/types/_utils.py +1 -1
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/METADATA +2 -1
- flyte-2.0.0b25.dist-info/RECORD +184 -0
- flyte/_protos/__init__.py +0 -0
- flyte/_protos/common/authorization_pb2.py +0 -66
- flyte/_protos/common/authorization_pb2.pyi +0 -108
- flyte/_protos/common/authorization_pb2_grpc.py +0 -4
- flyte/_protos/common/identifier_pb2.py +0 -117
- flyte/_protos/common/identifier_pb2.pyi +0 -142
- flyte/_protos/common/identifier_pb2_grpc.py +0 -4
- flyte/_protos/common/identity_pb2.py +0 -48
- flyte/_protos/common/identity_pb2.pyi +0 -72
- flyte/_protos/common/identity_pb2_grpc.py +0 -4
- flyte/_protos/common/list_pb2.py +0 -36
- flyte/_protos/common/list_pb2.pyi +0 -71
- flyte/_protos/common/list_pb2_grpc.py +0 -4
- flyte/_protos/common/policy_pb2.py +0 -37
- flyte/_protos/common/policy_pb2.pyi +0 -27
- flyte/_protos/common/policy_pb2_grpc.py +0 -4
- flyte/_protos/common/role_pb2.py +0 -37
- flyte/_protos/common/role_pb2.pyi +0 -53
- flyte/_protos/common/role_pb2_grpc.py +0 -4
- flyte/_protos/common/runtime_version_pb2.py +0 -28
- flyte/_protos/common/runtime_version_pb2.pyi +0 -24
- flyte/_protos/common/runtime_version_pb2_grpc.py +0 -4
- flyte/_protos/imagebuilder/definition_pb2.py +0 -60
- flyte/_protos/imagebuilder/definition_pb2.pyi +0 -153
- flyte/_protos/imagebuilder/definition_pb2_grpc.py +0 -4
- flyte/_protos/imagebuilder/payload_pb2.py +0 -32
- flyte/_protos/imagebuilder/payload_pb2.pyi +0 -21
- flyte/_protos/imagebuilder/payload_pb2_grpc.py +0 -4
- flyte/_protos/imagebuilder/service_pb2.py +0 -29
- flyte/_protos/imagebuilder/service_pb2.pyi +0 -5
- flyte/_protos/imagebuilder/service_pb2_grpc.py +0 -66
- flyte/_protos/logs/dataplane/payload_pb2.py +0 -100
- flyte/_protos/logs/dataplane/payload_pb2.pyi +0 -177
- flyte/_protos/logs/dataplane/payload_pb2_grpc.py +0 -4
- flyte/_protos/secret/definition_pb2.py +0 -49
- flyte/_protos/secret/definition_pb2.pyi +0 -93
- flyte/_protos/secret/definition_pb2_grpc.py +0 -4
- flyte/_protos/secret/payload_pb2.py +0 -62
- flyte/_protos/secret/payload_pb2.pyi +0 -94
- flyte/_protos/secret/payload_pb2_grpc.py +0 -4
- flyte/_protos/secret/secret_pb2.py +0 -38
- flyte/_protos/secret/secret_pb2.pyi +0 -6
- flyte/_protos/secret/secret_pb2_grpc.py +0 -198
- flyte/_protos/validate/validate/validate_pb2.py +0 -76
- flyte/_protos/workflow/common_pb2.py +0 -38
- flyte/_protos/workflow/common_pb2.pyi +0 -63
- flyte/_protos/workflow/common_pb2_grpc.py +0 -4
- flyte/_protos/workflow/environment_pb2.py +0 -29
- flyte/_protos/workflow/environment_pb2.pyi +0 -12
- flyte/_protos/workflow/environment_pb2_grpc.py +0 -4
- flyte/_protos/workflow/node_execution_service_pb2.py +0 -26
- flyte/_protos/workflow/node_execution_service_pb2.pyi +0 -4
- flyte/_protos/workflow/node_execution_service_pb2_grpc.py +0 -32
- flyte/_protos/workflow/queue_service_pb2.py +0 -117
- flyte/_protos/workflow/queue_service_pb2.pyi +0 -182
- flyte/_protos/workflow/queue_service_pb2_grpc.py +0 -206
- flyte/_protos/workflow/run_definition_pb2.py +0 -123
- flyte/_protos/workflow/run_definition_pb2.pyi +0 -354
- flyte/_protos/workflow/run_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/run_logs_service_pb2.py +0 -41
- flyte/_protos/workflow/run_logs_service_pb2.pyi +0 -28
- flyte/_protos/workflow/run_logs_service_pb2_grpc.py +0 -69
- flyte/_protos/workflow/run_service_pb2.py +0 -147
- flyte/_protos/workflow/run_service_pb2.pyi +0 -203
- flyte/_protos/workflow/run_service_pb2_grpc.py +0 -480
- flyte/_protos/workflow/state_service_pb2.py +0 -67
- flyte/_protos/workflow/state_service_pb2.pyi +0 -76
- flyte/_protos/workflow/state_service_pb2_grpc.py +0 -138
- flyte/_protos/workflow/task_definition_pb2.py +0 -86
- flyte/_protos/workflow/task_definition_pb2.pyi +0 -105
- flyte/_protos/workflow/task_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/task_service_pb2.py +0 -61
- flyte/_protos/workflow/task_service_pb2.pyi +0 -62
- flyte/_protos/workflow/task_service_pb2_grpc.py +0 -138
- flyte/_protos/workflow/trigger_definition_pb2.py +0 -66
- flyte/_protos/workflow/trigger_definition_pb2.pyi +0 -117
- flyte/_protos/workflow/trigger_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/trigger_service_pb2.py +0 -96
- flyte/_protos/workflow/trigger_service_pb2.pyi +0 -110
- flyte/_protos/workflow/trigger_service_pb2_grpc.py +0 -281
- flyte-2.0.0b23.dist-info/RECORD +0 -262
- {flyte-2.0.0b23.data → flyte-2.0.0b25.data}/scripts/debug.py +0 -0
- {flyte-2.0.0b23.data → flyte-2.0.0b25.data}/scripts/runtime.py +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/WHEEL +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/entry_points.txt +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/licenses/LICENSE +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/top_level.txt +0 -0
|
@@ -1,147 +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\"\x81\x04\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\x12K\n\x0ctrigger_name\x18\x07 \x01(\x0b\x32\x1c.cloudidl.common.TriggerNameB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x01R\x0btriggerName\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\"z\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\x1b\n\x06reason\x18\x02 \x01(\tH\x00R\x06reason\x88\x01\x01\x42\t\n\x07_reason\"\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\"\x9f\x02\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\tprojectId\x12K\n\x0ctrigger_name\x18\x06 \x01(\x0b\x32\x1c.cloudidl.common.TriggerNameB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x0btriggerNameB\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\rclusterEvents\"v\n\x12\x41\x62ortActionRequest\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\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\"\x15\n\x13\x41\x62ortActionResponse2\xbb\n\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\x12^\n\x0b\x41\x62ortAction\x12%.cloudidl.workflow.AbortActionRequest\x1a&.cloudidl.workflow.AbortActionResponse\"\x00\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
|
-
_CREATERUNREQUEST.fields_by_name['trigger_name']._options = None
|
|
42
|
-
_CREATERUNREQUEST.fields_by_name['trigger_name']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
43
|
-
_ABORTRUNREQUEST.fields_by_name['run_id']._options = None
|
|
44
|
-
_ABORTRUNREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
45
|
-
_GETRUNDETAILSREQUEST.fields_by_name['run_id']._options = None
|
|
46
|
-
_GETRUNDETAILSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
47
|
-
_WATCHRUNDETAILSREQUEST.fields_by_name['run_id']._options = None
|
|
48
|
-
_WATCHRUNDETAILSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
49
|
-
_GETACTIONDETAILSREQUEST.fields_by_name['action_id']._options = None
|
|
50
|
-
_GETACTIONDETAILSREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
51
|
-
_WATCHACTIONDETAILSREQUEST.fields_by_name['action_id']._options = None
|
|
52
|
-
_WATCHACTIONDETAILSREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
53
|
-
_GETACTIONDATAREQUEST.fields_by_name['action_id']._options = None
|
|
54
|
-
_GETACTIONDATAREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
55
|
-
_LISTRUNSREQUEST.oneofs_by_name['scope_by']._options = None
|
|
56
|
-
_LISTRUNSREQUEST.oneofs_by_name['scope_by']._serialized_options = b'\370B\001'
|
|
57
|
-
_LISTRUNSREQUEST.fields_by_name['org']._options = None
|
|
58
|
-
_LISTRUNSREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
|
|
59
|
-
_LISTRUNSREQUEST.fields_by_name['project_id']._options = None
|
|
60
|
-
_LISTRUNSREQUEST.fields_by_name['project_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
61
|
-
_LISTRUNSREQUEST.fields_by_name['trigger_name']._options = None
|
|
62
|
-
_LISTRUNSREQUEST.fields_by_name['trigger_name']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
63
|
-
_WATCHRUNSREQUEST.oneofs_by_name['target']._options = None
|
|
64
|
-
_WATCHRUNSREQUEST.oneofs_by_name['target']._serialized_options = b'\370B\001'
|
|
65
|
-
_WATCHRUNSREQUEST.fields_by_name['org']._options = None
|
|
66
|
-
_WATCHRUNSREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
|
|
67
|
-
_WATCHRUNSREQUEST.fields_by_name['cluster_id']._options = None
|
|
68
|
-
_WATCHRUNSREQUEST.fields_by_name['cluster_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
69
|
-
_WATCHRUNSREQUEST.fields_by_name['project_id']._options = None
|
|
70
|
-
_WATCHRUNSREQUEST.fields_by_name['project_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
71
|
-
_WATCHRUNSREQUEST.fields_by_name['task_id']._options = None
|
|
72
|
-
_WATCHRUNSREQUEST.fields_by_name['task_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
73
|
-
_LISTACTIONSREQUEST.fields_by_name['run_id']._options = None
|
|
74
|
-
_LISTACTIONSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
75
|
-
_WATCHACTIONSREQUEST.fields_by_name['run_id']._options = None
|
|
76
|
-
_WATCHACTIONSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
77
|
-
_WATCHCLUSTEREVENTSREQUEST.fields_by_name['id']._options = None
|
|
78
|
-
_WATCHCLUSTEREVENTSREQUEST.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
79
|
-
_WATCHCLUSTEREVENTSREQUEST.fields_by_name['attempt']._options = None
|
|
80
|
-
_WATCHCLUSTEREVENTSREQUEST.fields_by_name['attempt']._serialized_options = b'\372B\004*\002 \000'
|
|
81
|
-
_ABORTACTIONREQUEST.fields_by_name['action_id']._options = None
|
|
82
|
-
_ABORTACTIONREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
83
|
-
_RUNSERVICE.methods_by_name['GetRunDetails']._options = None
|
|
84
|
-
_RUNSERVICE.methods_by_name['GetRunDetails']._serialized_options = b'\220\002\001'
|
|
85
|
-
_RUNSERVICE.methods_by_name['GetActionDetails']._options = None
|
|
86
|
-
_RUNSERVICE.methods_by_name['GetActionDetails']._serialized_options = b'\220\002\001'
|
|
87
|
-
_RUNSERVICE.methods_by_name['GetActionData']._options = None
|
|
88
|
-
_RUNSERVICE.methods_by_name['GetActionData']._serialized_options = b'\220\002\001'
|
|
89
|
-
_RUNSERVICE.methods_by_name['ListRuns']._options = None
|
|
90
|
-
_RUNSERVICE.methods_by_name['ListRuns']._serialized_options = b'\220\002\001'
|
|
91
|
-
_RUNSERVICE.methods_by_name['ListActions']._options = None
|
|
92
|
-
_RUNSERVICE.methods_by_name['ListActions']._serialized_options = b'\220\002\001'
|
|
93
|
-
_globals['_CREATERUNREQUEST']._serialized_start=182
|
|
94
|
-
_globals['_CREATERUNREQUEST']._serialized_end=695
|
|
95
|
-
_globals['_CREATERUNRESPONSE']._serialized_start=697
|
|
96
|
-
_globals['_CREATERUNRESPONSE']._serialized_end=758
|
|
97
|
-
_globals['_ABORTRUNREQUEST']._serialized_start=760
|
|
98
|
-
_globals['_ABORTRUNREQUEST']._serialized_end=882
|
|
99
|
-
_globals['_ABORTRUNRESPONSE']._serialized_start=884
|
|
100
|
-
_globals['_ABORTRUNRESPONSE']._serialized_end=902
|
|
101
|
-
_globals['_GETRUNDETAILSREQUEST']._serialized_start=904
|
|
102
|
-
_globals['_GETRUNDETAILSREQUEST']._serialized_end=991
|
|
103
|
-
_globals['_GETRUNDETAILSRESPONSE']._serialized_start=993
|
|
104
|
-
_globals['_GETRUNDETAILSRESPONSE']._serialized_end=1073
|
|
105
|
-
_globals['_WATCHRUNDETAILSREQUEST']._serialized_start=1075
|
|
106
|
-
_globals['_WATCHRUNDETAILSREQUEST']._serialized_end=1164
|
|
107
|
-
_globals['_WATCHRUNDETAILSRESPONSE']._serialized_start=1166
|
|
108
|
-
_globals['_WATCHRUNDETAILSRESPONSE']._serialized_end=1248
|
|
109
|
-
_globals['_GETACTIONDETAILSREQUEST']._serialized_start=1250
|
|
110
|
-
_globals['_GETACTIONDETAILSREQUEST']._serialized_end=1349
|
|
111
|
-
_globals['_GETACTIONDETAILSRESPONSE']._serialized_start=1351
|
|
112
|
-
_globals['_GETACTIONDETAILSRESPONSE']._serialized_end=1437
|
|
113
|
-
_globals['_WATCHACTIONDETAILSREQUEST']._serialized_start=1439
|
|
114
|
-
_globals['_WATCHACTIONDETAILSREQUEST']._serialized_end=1540
|
|
115
|
-
_globals['_WATCHACTIONDETAILSRESPONSE']._serialized_start=1542
|
|
116
|
-
_globals['_WATCHACTIONDETAILSRESPONSE']._serialized_end=1630
|
|
117
|
-
_globals['_GETACTIONDATAREQUEST']._serialized_start=1632
|
|
118
|
-
_globals['_GETACTIONDATAREQUEST']._serialized_end=1728
|
|
119
|
-
_globals['_GETACTIONDATARESPONSE']._serialized_start=1731
|
|
120
|
-
_globals['_GETACTIONDATARESPONSE']._serialized_end=1859
|
|
121
|
-
_globals['_LISTRUNSREQUEST']._serialized_start=1862
|
|
122
|
-
_globals['_LISTRUNSREQUEST']._serialized_end=2149
|
|
123
|
-
_globals['_LISTRUNSRESPONSE']._serialized_start=2151
|
|
124
|
-
_globals['_LISTRUNSRESPONSE']._serialized_end=2235
|
|
125
|
-
_globals['_WATCHRUNSREQUEST']._serialized_start=2238
|
|
126
|
-
_globals['_WATCHRUNSREQUEST']._serialized_end=2530
|
|
127
|
-
_globals['_WATCHRUNSRESPONSE']._serialized_start=2532
|
|
128
|
-
_globals['_WATCHRUNSRESPONSE']._serialized_end=2595
|
|
129
|
-
_globals['_LISTACTIONSREQUEST']._serialized_start=2598
|
|
130
|
-
_globals['_LISTACTIONSREQUEST']._serialized_end=2739
|
|
131
|
-
_globals['_LISTACTIONSRESPONSE']._serialized_start=2741
|
|
132
|
-
_globals['_LISTACTIONSRESPONSE']._serialized_end=2837
|
|
133
|
-
_globals['_WATCHACTIONSREQUEST']._serialized_start=2840
|
|
134
|
-
_globals['_WATCHACTIONSREQUEST']._serialized_end=2975
|
|
135
|
-
_globals['_WATCHACTIONSRESPONSE']._serialized_start=2977
|
|
136
|
-
_globals['_WATCHACTIONSRESPONSE']._serialized_end=3077
|
|
137
|
-
_globals['_WATCHCLUSTEREVENTSREQUEST']._serialized_start=3079
|
|
138
|
-
_globals['_WATCHCLUSTEREVENTSREQUEST']._serialized_end=3202
|
|
139
|
-
_globals['_WATCHCLUSTEREVENTSRESPONSE']._serialized_start=3204
|
|
140
|
-
_globals['_WATCHCLUSTEREVENTSRESPONSE']._serialized_end=3304
|
|
141
|
-
_globals['_ABORTACTIONREQUEST']._serialized_start=3306
|
|
142
|
-
_globals['_ABORTACTIONREQUEST']._serialized_end=3424
|
|
143
|
-
_globals['_ABORTACTIONRESPONSE']._serialized_start=3426
|
|
144
|
-
_globals['_ABORTACTIONRESPONSE']._serialized_end=3447
|
|
145
|
-
_globals['_RUNSERVICE']._serialized_start=3450
|
|
146
|
-
_globals['_RUNSERVICE']._serialized_end=4789
|
|
147
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
from flyte._protos.common import identifier_pb2 as _identifier_pb2
|
|
2
|
-
from flyte._protos.common import list_pb2 as _list_pb2
|
|
3
|
-
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
4
|
-
from flyte._protos.workflow import run_definition_pb2 as _run_definition_pb2
|
|
5
|
-
from flyte._protos.workflow import task_definition_pb2 as _task_definition_pb2
|
|
6
|
-
from google.protobuf.internal import containers as _containers
|
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
|
8
|
-
from google.protobuf import message as _message
|
|
9
|
-
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
10
|
-
|
|
11
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
12
|
-
|
|
13
|
-
class CreateRunRequest(_message.Message):
|
|
14
|
-
__slots__ = ["run_id", "project_id", "task_id", "task_spec", "trigger_name", "inputs", "run_spec"]
|
|
15
|
-
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
-
PROJECT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
-
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
-
TASK_SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
-
TRIGGER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
-
INPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
-
RUN_SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
-
run_id: _identifier_pb2.RunIdentifier
|
|
23
|
-
project_id: _identifier_pb2.ProjectIdentifier
|
|
24
|
-
task_id: _task_definition_pb2.TaskIdentifier
|
|
25
|
-
task_spec: _task_definition_pb2.TaskSpec
|
|
26
|
-
trigger_name: _identifier_pb2.TriggerName
|
|
27
|
-
inputs: _run_definition_pb2.Inputs
|
|
28
|
-
run_spec: _run_definition_pb2.RunSpec
|
|
29
|
-
def __init__(self, run_id: _Optional[_Union[_identifier_pb2.RunIdentifier, _Mapping]] = ..., project_id: _Optional[_Union[_identifier_pb2.ProjectIdentifier, _Mapping]] = ..., task_id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ..., task_spec: _Optional[_Union[_task_definition_pb2.TaskSpec, _Mapping]] = ..., trigger_name: _Optional[_Union[_identifier_pb2.TriggerName, _Mapping]] = ..., inputs: _Optional[_Union[_run_definition_pb2.Inputs, _Mapping]] = ..., run_spec: _Optional[_Union[_run_definition_pb2.RunSpec, _Mapping]] = ...) -> None: ...
|
|
30
|
-
|
|
31
|
-
class CreateRunResponse(_message.Message):
|
|
32
|
-
__slots__ = ["run"]
|
|
33
|
-
RUN_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
-
run: _run_definition_pb2.Run
|
|
35
|
-
def __init__(self, run: _Optional[_Union[_run_definition_pb2.Run, _Mapping]] = ...) -> None: ...
|
|
36
|
-
|
|
37
|
-
class AbortRunRequest(_message.Message):
|
|
38
|
-
__slots__ = ["run_id", "reason"]
|
|
39
|
-
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
-
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
-
run_id: _identifier_pb2.RunIdentifier
|
|
42
|
-
reason: str
|
|
43
|
-
def __init__(self, run_id: _Optional[_Union[_identifier_pb2.RunIdentifier, _Mapping]] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
44
|
-
|
|
45
|
-
class AbortRunResponse(_message.Message):
|
|
46
|
-
__slots__ = []
|
|
47
|
-
def __init__(self) -> None: ...
|
|
48
|
-
|
|
49
|
-
class GetRunDetailsRequest(_message.Message):
|
|
50
|
-
__slots__ = ["run_id"]
|
|
51
|
-
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
-
run_id: _identifier_pb2.RunIdentifier
|
|
53
|
-
def __init__(self, run_id: _Optional[_Union[_identifier_pb2.RunIdentifier, _Mapping]] = ...) -> None: ...
|
|
54
|
-
|
|
55
|
-
class GetRunDetailsResponse(_message.Message):
|
|
56
|
-
__slots__ = ["details"]
|
|
57
|
-
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
-
details: _run_definition_pb2.RunDetails
|
|
59
|
-
def __init__(self, details: _Optional[_Union[_run_definition_pb2.RunDetails, _Mapping]] = ...) -> None: ...
|
|
60
|
-
|
|
61
|
-
class WatchRunDetailsRequest(_message.Message):
|
|
62
|
-
__slots__ = ["run_id"]
|
|
63
|
-
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
-
run_id: _identifier_pb2.RunIdentifier
|
|
65
|
-
def __init__(self, run_id: _Optional[_Union[_identifier_pb2.RunIdentifier, _Mapping]] = ...) -> None: ...
|
|
66
|
-
|
|
67
|
-
class WatchRunDetailsResponse(_message.Message):
|
|
68
|
-
__slots__ = ["details"]
|
|
69
|
-
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
-
details: _run_definition_pb2.RunDetails
|
|
71
|
-
def __init__(self, details: _Optional[_Union[_run_definition_pb2.RunDetails, _Mapping]] = ...) -> None: ...
|
|
72
|
-
|
|
73
|
-
class GetActionDetailsRequest(_message.Message):
|
|
74
|
-
__slots__ = ["action_id"]
|
|
75
|
-
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
-
action_id: _identifier_pb2.ActionIdentifier
|
|
77
|
-
def __init__(self, action_id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ...) -> None: ...
|
|
78
|
-
|
|
79
|
-
class GetActionDetailsResponse(_message.Message):
|
|
80
|
-
__slots__ = ["details"]
|
|
81
|
-
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
-
details: _run_definition_pb2.ActionDetails
|
|
83
|
-
def __init__(self, details: _Optional[_Union[_run_definition_pb2.ActionDetails, _Mapping]] = ...) -> None: ...
|
|
84
|
-
|
|
85
|
-
class WatchActionDetailsRequest(_message.Message):
|
|
86
|
-
__slots__ = ["action_id"]
|
|
87
|
-
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
-
action_id: _identifier_pb2.ActionIdentifier
|
|
89
|
-
def __init__(self, action_id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ...) -> None: ...
|
|
90
|
-
|
|
91
|
-
class WatchActionDetailsResponse(_message.Message):
|
|
92
|
-
__slots__ = ["details"]
|
|
93
|
-
DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
-
details: _run_definition_pb2.ActionDetails
|
|
95
|
-
def __init__(self, details: _Optional[_Union[_run_definition_pb2.ActionDetails, _Mapping]] = ...) -> None: ...
|
|
96
|
-
|
|
97
|
-
class GetActionDataRequest(_message.Message):
|
|
98
|
-
__slots__ = ["action_id"]
|
|
99
|
-
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
-
action_id: _identifier_pb2.ActionIdentifier
|
|
101
|
-
def __init__(self, action_id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ...) -> None: ...
|
|
102
|
-
|
|
103
|
-
class GetActionDataResponse(_message.Message):
|
|
104
|
-
__slots__ = ["inputs", "outputs"]
|
|
105
|
-
INPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
-
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
-
inputs: _run_definition_pb2.Inputs
|
|
108
|
-
outputs: _run_definition_pb2.Outputs
|
|
109
|
-
def __init__(self, inputs: _Optional[_Union[_run_definition_pb2.Inputs, _Mapping]] = ..., outputs: _Optional[_Union[_run_definition_pb2.Outputs, _Mapping]] = ...) -> None: ...
|
|
110
|
-
|
|
111
|
-
class ListRunsRequest(_message.Message):
|
|
112
|
-
__slots__ = ["request", "org", "project_id", "trigger_name"]
|
|
113
|
-
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
-
ORG_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
-
PROJECT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
116
|
-
TRIGGER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
117
|
-
request: _list_pb2.ListRequest
|
|
118
|
-
org: str
|
|
119
|
-
project_id: _identifier_pb2.ProjectIdentifier
|
|
120
|
-
trigger_name: _identifier_pb2.TriggerName
|
|
121
|
-
def __init__(self, request: _Optional[_Union[_list_pb2.ListRequest, _Mapping]] = ..., org: _Optional[str] = ..., project_id: _Optional[_Union[_identifier_pb2.ProjectIdentifier, _Mapping]] = ..., trigger_name: _Optional[_Union[_identifier_pb2.TriggerName, _Mapping]] = ...) -> None: ...
|
|
122
|
-
|
|
123
|
-
class ListRunsResponse(_message.Message):
|
|
124
|
-
__slots__ = ["runs", "token"]
|
|
125
|
-
RUNS_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
-
TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
-
runs: _containers.RepeatedCompositeFieldContainer[_run_definition_pb2.Run]
|
|
128
|
-
token: str
|
|
129
|
-
def __init__(self, runs: _Optional[_Iterable[_Union[_run_definition_pb2.Run, _Mapping]]] = ..., token: _Optional[str] = ...) -> None: ...
|
|
130
|
-
|
|
131
|
-
class WatchRunsRequest(_message.Message):
|
|
132
|
-
__slots__ = ["org", "cluster_id", "project_id", "task_id"]
|
|
133
|
-
ORG_FIELD_NUMBER: _ClassVar[int]
|
|
134
|
-
CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
135
|
-
PROJECT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
-
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
-
org: str
|
|
138
|
-
cluster_id: _identifier_pb2.ClusterIdentifier
|
|
139
|
-
project_id: _identifier_pb2.ProjectIdentifier
|
|
140
|
-
task_id: _task_definition_pb2.TaskIdentifier
|
|
141
|
-
def __init__(self, org: _Optional[str] = ..., cluster_id: _Optional[_Union[_identifier_pb2.ClusterIdentifier, _Mapping]] = ..., project_id: _Optional[_Union[_identifier_pb2.ProjectIdentifier, _Mapping]] = ..., task_id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ...) -> None: ...
|
|
142
|
-
|
|
143
|
-
class WatchRunsResponse(_message.Message):
|
|
144
|
-
__slots__ = ["runs"]
|
|
145
|
-
RUNS_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
-
runs: _containers.RepeatedCompositeFieldContainer[_run_definition_pb2.Run]
|
|
147
|
-
def __init__(self, runs: _Optional[_Iterable[_Union[_run_definition_pb2.Run, _Mapping]]] = ...) -> None: ...
|
|
148
|
-
|
|
149
|
-
class ListActionsRequest(_message.Message):
|
|
150
|
-
__slots__ = ["request", "run_id"]
|
|
151
|
-
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
152
|
-
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
-
request: _list_pb2.ListRequest
|
|
154
|
-
run_id: _identifier_pb2.RunIdentifier
|
|
155
|
-
def __init__(self, request: _Optional[_Union[_list_pb2.ListRequest, _Mapping]] = ..., run_id: _Optional[_Union[_identifier_pb2.RunIdentifier, _Mapping]] = ...) -> None: ...
|
|
156
|
-
|
|
157
|
-
class ListActionsResponse(_message.Message):
|
|
158
|
-
__slots__ = ["actions", "token"]
|
|
159
|
-
ACTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
-
TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
-
actions: _containers.RepeatedCompositeFieldContainer[_run_definition_pb2.Action]
|
|
162
|
-
token: str
|
|
163
|
-
def __init__(self, actions: _Optional[_Iterable[_Union[_run_definition_pb2.Action, _Mapping]]] = ..., token: _Optional[str] = ...) -> None: ...
|
|
164
|
-
|
|
165
|
-
class WatchActionsRequest(_message.Message):
|
|
166
|
-
__slots__ = ["run_id", "filter"]
|
|
167
|
-
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
168
|
-
FILTER_FIELD_NUMBER: _ClassVar[int]
|
|
169
|
-
run_id: _identifier_pb2.RunIdentifier
|
|
170
|
-
filter: _containers.RepeatedCompositeFieldContainer[_list_pb2.Filter]
|
|
171
|
-
def __init__(self, run_id: _Optional[_Union[_identifier_pb2.RunIdentifier, _Mapping]] = ..., filter: _Optional[_Iterable[_Union[_list_pb2.Filter, _Mapping]]] = ...) -> None: ...
|
|
172
|
-
|
|
173
|
-
class WatchActionsResponse(_message.Message):
|
|
174
|
-
__slots__ = ["enriched_actions"]
|
|
175
|
-
ENRICHED_ACTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
-
enriched_actions: _containers.RepeatedCompositeFieldContainer[_run_definition_pb2.EnrichedAction]
|
|
177
|
-
def __init__(self, enriched_actions: _Optional[_Iterable[_Union[_run_definition_pb2.EnrichedAction, _Mapping]]] = ...) -> None: ...
|
|
178
|
-
|
|
179
|
-
class WatchClusterEventsRequest(_message.Message):
|
|
180
|
-
__slots__ = ["id", "attempt"]
|
|
181
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
182
|
-
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
183
|
-
id: _identifier_pb2.ActionIdentifier
|
|
184
|
-
attempt: int
|
|
185
|
-
def __init__(self, id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ..., attempt: _Optional[int] = ...) -> None: ...
|
|
186
|
-
|
|
187
|
-
class WatchClusterEventsResponse(_message.Message):
|
|
188
|
-
__slots__ = ["cluster_events"]
|
|
189
|
-
CLUSTER_EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
190
|
-
cluster_events: _containers.RepeatedCompositeFieldContainer[_run_definition_pb2.ClusterEvent]
|
|
191
|
-
def __init__(self, cluster_events: _Optional[_Iterable[_Union[_run_definition_pb2.ClusterEvent, _Mapping]]] = ...) -> None: ...
|
|
192
|
-
|
|
193
|
-
class AbortActionRequest(_message.Message):
|
|
194
|
-
__slots__ = ["action_id", "reason"]
|
|
195
|
-
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
196
|
-
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
197
|
-
action_id: _identifier_pb2.ActionIdentifier
|
|
198
|
-
reason: str
|
|
199
|
-
def __init__(self, action_id: _Optional[_Union[_identifier_pb2.ActionIdentifier, _Mapping]] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
200
|
-
|
|
201
|
-
class AbortActionResponse(_message.Message):
|
|
202
|
-
__slots__ = []
|
|
203
|
-
def __init__(self) -> None: ...
|