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
|
@@ -18,7 +18,7 @@ from flyte._protos.workflow import run_definition_pb2 as workflow_dot_run__defin
|
|
|
18
18
|
from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
|
|
19
19
|
|
|
20
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\"\xb6\x03\n\x10\x43reateRunRequest\x12\x43\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x05runId\x12M\n\nproject_id\x18\x06 \x01(\x0b\x32\".cloudidl.common.ProjectIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tprojectId\x12\x46\n\x07task_id\x18\x02 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x01R\x06taskId\x12\x44\n\ttask_spec\x18\x03 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x01R\x08taskSpec\x12\x31\n\x06inputs\x18\x04 \x01(\x0b\x32\x19.cloudidl.workflow.InputsR\x06inputs\x12\x35\n\x08run_spec\x18\x05 \x01(\x0b\x32\x1a.cloudidl.workflow.RunSpecR\x07runSpecB\t\n\x02id\x12\x03\xf8\x42\x01\x42\x0b\n\x04task\x12\x03\xf8\x42\x01\"=\n\x11\x43reateRunResponse\x12(\n\x03run\x18\x01 \x01(\x0b\x32\x16.cloudidl.workflow.RunR\x03run\"T\n\x0f\x41\x62ortRunRequest\x12\x41\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x05runId\"\x12\n\x10\x41\x62ortRunResponse\"Y\n\x14GetRunDetailsRequest\x12\x41\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.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\"[\n\x16WatchRunDetailsRequest\x12\x41\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.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\"e\n\x17GetActionDetailsRequest\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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\"g\n\x19WatchActionDetailsRequest\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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\"b\n\x14GetActionDataRequest\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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\"\
|
|
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\"\xb6\x03\n\x10\x43reateRunRequest\x12\x43\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x05runId\x12M\n\nproject_id\x18\x06 \x01(\x0b\x32\".cloudidl.common.ProjectIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tprojectId\x12\x46\n\x07task_id\x18\x02 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x01R\x06taskId\x12\x44\n\ttask_spec\x18\x03 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x01R\x08taskSpec\x12\x31\n\x06inputs\x18\x04 \x01(\x0b\x32\x19.cloudidl.workflow.InputsR\x06inputs\x12\x35\n\x08run_spec\x18\x05 \x01(\x0b\x32\x1a.cloudidl.workflow.RunSpecR\x07runSpecB\t\n\x02id\x12\x03\xf8\x42\x01\x42\x0b\n\x04task\x12\x03\xf8\x42\x01\"=\n\x11\x43reateRunResponse\x12(\n\x03run\x18\x01 \x01(\x0b\x32\x16.cloudidl.workflow.RunR\x03run\"T\n\x0f\x41\x62ortRunRequest\x12\x41\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.RunIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x05runId\"\x12\n\x10\x41\x62ortRunResponse\"Y\n\x14GetRunDetailsRequest\x12\x41\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.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\"[\n\x16WatchRunDetailsRequest\x12\x41\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.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\"e\n\x17GetActionDetailsRequest\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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\"g\n\x19WatchActionDetailsRequest\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.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\"b\n\x14GetActionDataRequest\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.ActionIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08\x61\x63tionId\"\x80\x01\n\x15GetActionDataResponse\x12\x31\n\x06inputs\x18\x01 \x01(\x0b\x32\x19.cloudidl.workflow.InputsR\x06inputs\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.cloudidl.workflow.OutputsR\x07outputs\"\xd2\x01\n\x0fListRunsRequest\x12\x36\n\x07request\x18\x01 \x01(\x0b\x32\x1c.cloudidl.common.ListRequestR\x07request\x12\x1b\n\x03org\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01H\x00R\x03org\x12M\n\nproject_id\x18\x04 \x01(\x0b\x32\".cloudidl.common.ProjectIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tprojectIdB\x0f\n\x08scope_by\x12\x03\xf8\x42\x01J\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06\"T\n\x10ListRunsResponse\x12*\n\x04runs\x18\x01 \x03(\x0b\x32\x16.cloudidl.workflow.RunR\x04runs\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xa4\x02\n\x10WatchRunsRequest\x12\x1b\n\x03org\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01H\x00R\x03org\x12M\n\ncluster_id\x18\x03 \x01(\x0b\x32\".cloudidl.common.ClusterIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tclusterId\x12M\n\nproject_id\x18\x04 \x01(\x0b\x32\".cloudidl.common.ProjectIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tprojectId\x12\x46\n\x07task_id\x18\x05 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x06taskIdB\r\n\x06target\x12\x03\xf8\x42\x01\"?\n\x11WatchRunsResponse\x12*\n\x04runs\x18\x01 \x03(\x0b\x32\x16.cloudidl.workflow.RunR\x04runs\"\x8f\x01\n\x12ListActionsRequest\x12\x36\n\x07request\x18\x01 \x01(\x0b\x32\x1c.cloudidl.common.ListRequestR\x07request\x12\x41\n\x06run_id\x18\x02 \x01(\x0b\x32 .cloudidl.workflow.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\"\x89\x01\n\x13WatchActionsRequest\x12\x41\n\x06run_id\x18\x01 \x01(\x0b\x32 .cloudidl.workflow.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\x65nrichedActions2\xe4\x08\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\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
22
|
|
|
23
23
|
_globals = globals()
|
|
24
24
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -50,16 +50,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
50
50
|
_WATCHACTIONDETAILSREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
51
51
|
_GETACTIONDATAREQUEST.fields_by_name['action_id']._options = None
|
|
52
52
|
_GETACTIONDATAREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
53
|
-
_LISTRUNSREQUEST.oneofs_by_name['
|
|
54
|
-
_LISTRUNSREQUEST.oneofs_by_name['
|
|
53
|
+
_LISTRUNSREQUEST.oneofs_by_name['scope_by']._options = None
|
|
54
|
+
_LISTRUNSREQUEST.oneofs_by_name['scope_by']._serialized_options = b'\370B\001'
|
|
55
55
|
_LISTRUNSREQUEST.fields_by_name['org']._options = None
|
|
56
56
|
_LISTRUNSREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
|
|
57
|
-
_LISTRUNSREQUEST.fields_by_name['cluster_id']._options = None
|
|
58
|
-
_LISTRUNSREQUEST.fields_by_name['cluster_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
59
57
|
_LISTRUNSREQUEST.fields_by_name['project_id']._options = None
|
|
60
58
|
_LISTRUNSREQUEST.fields_by_name['project_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
61
|
-
_LISTRUNSREQUEST.fields_by_name['task_id']._options = None
|
|
62
|
-
_LISTRUNSREQUEST.fields_by_name['task_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
63
59
|
_WATCHRUNSREQUEST.oneofs_by_name['target']._options = None
|
|
64
60
|
_WATCHRUNSREQUEST.oneofs_by_name['target']._serialized_options = b'\370B\001'
|
|
65
61
|
_WATCHRUNSREQUEST.fields_by_name['org']._options = None
|
|
@@ -113,21 +109,21 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
113
109
|
_globals['_GETACTIONDATARESPONSE']._serialized_start=1628
|
|
114
110
|
_globals['_GETACTIONDATARESPONSE']._serialized_end=1756
|
|
115
111
|
_globals['_LISTRUNSREQUEST']._serialized_start=1759
|
|
116
|
-
_globals['_LISTRUNSREQUEST']._serialized_end=
|
|
117
|
-
_globals['_LISTRUNSRESPONSE']._serialized_start=
|
|
118
|
-
_globals['_LISTRUNSRESPONSE']._serialized_end=
|
|
119
|
-
_globals['_WATCHRUNSREQUEST']._serialized_start=
|
|
120
|
-
_globals['_WATCHRUNSREQUEST']._serialized_end=
|
|
121
|
-
_globals['_WATCHRUNSRESPONSE']._serialized_start=
|
|
122
|
-
_globals['_WATCHRUNSRESPONSE']._serialized_end=
|
|
123
|
-
_globals['_LISTACTIONSREQUEST']._serialized_start=
|
|
124
|
-
_globals['_LISTACTIONSREQUEST']._serialized_end=
|
|
125
|
-
_globals['_LISTACTIONSRESPONSE']._serialized_start=
|
|
126
|
-
_globals['_LISTACTIONSRESPONSE']._serialized_end=
|
|
127
|
-
_globals['_WATCHACTIONSREQUEST']._serialized_start=
|
|
128
|
-
_globals['_WATCHACTIONSREQUEST']._serialized_end=
|
|
129
|
-
_globals['_WATCHACTIONSRESPONSE']._serialized_start=
|
|
130
|
-
_globals['_WATCHACTIONSRESPONSE']._serialized_end=
|
|
131
|
-
_globals['_RUNSERVICE']._serialized_start=
|
|
132
|
-
_globals['_RUNSERVICE']._serialized_end=
|
|
112
|
+
_globals['_LISTRUNSREQUEST']._serialized_end=1969
|
|
113
|
+
_globals['_LISTRUNSRESPONSE']._serialized_start=1971
|
|
114
|
+
_globals['_LISTRUNSRESPONSE']._serialized_end=2055
|
|
115
|
+
_globals['_WATCHRUNSREQUEST']._serialized_start=2058
|
|
116
|
+
_globals['_WATCHRUNSREQUEST']._serialized_end=2350
|
|
117
|
+
_globals['_WATCHRUNSRESPONSE']._serialized_start=2352
|
|
118
|
+
_globals['_WATCHRUNSRESPONSE']._serialized_end=2415
|
|
119
|
+
_globals['_LISTACTIONSREQUEST']._serialized_start=2418
|
|
120
|
+
_globals['_LISTACTIONSREQUEST']._serialized_end=2561
|
|
121
|
+
_globals['_LISTACTIONSRESPONSE']._serialized_start=2563
|
|
122
|
+
_globals['_LISTACTIONSRESPONSE']._serialized_end=2659
|
|
123
|
+
_globals['_WATCHACTIONSREQUEST']._serialized_start=2662
|
|
124
|
+
_globals['_WATCHACTIONSREQUEST']._serialized_end=2799
|
|
125
|
+
_globals['_WATCHACTIONSRESPONSE']._serialized_start=2801
|
|
126
|
+
_globals['_WATCHACTIONSRESPONSE']._serialized_end=2901
|
|
127
|
+
_globals['_RUNSERVICE']._serialized_start=2904
|
|
128
|
+
_globals['_RUNSERVICE']._serialized_end=4028
|
|
133
129
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -105,18 +105,14 @@ class GetActionDataResponse(_message.Message):
|
|
|
105
105
|
def __init__(self, inputs: _Optional[_Union[_run_definition_pb2.Inputs, _Mapping]] = ..., outputs: _Optional[_Union[_run_definition_pb2.Outputs, _Mapping]] = ...) -> None: ...
|
|
106
106
|
|
|
107
107
|
class ListRunsRequest(_message.Message):
|
|
108
|
-
__slots__ = ["request", "org", "
|
|
108
|
+
__slots__ = ["request", "org", "project_id"]
|
|
109
109
|
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
110
110
|
ORG_FIELD_NUMBER: _ClassVar[int]
|
|
111
|
-
CLUSTER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
112
111
|
PROJECT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
-
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
114
112
|
request: _list_pb2.ListRequest
|
|
115
113
|
org: str
|
|
116
|
-
cluster_id: _identifier_pb2.ClusterIdentifier
|
|
117
114
|
project_id: _identifier_pb2.ProjectIdentifier
|
|
118
|
-
|
|
119
|
-
def __init__(self, request: _Optional[_Union[_list_pb2.ListRequest, _Mapping]] = ..., 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: ...
|
|
115
|
+
def __init__(self, request: _Optional[_Union[_list_pb2.ListRequest, _Mapping]] = ..., org: _Optional[str] = ..., project_id: _Optional[_Union[_identifier_pb2.ProjectIdentifier, _Mapping]] = ...) -> None: ...
|
|
120
116
|
|
|
121
117
|
class ListRunsResponse(_message.Message):
|
|
122
118
|
__slots__ = ["runs", "token"]
|
|
@@ -12,12 +12,12 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
from flyteidl.core import execution_pb2 as flyteidl_dot_core_dot_execution__pb2
|
|
15
|
+
from google.rpc import status_pb2 as google_dot_rpc_dot_status__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
|
-
from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cworkflow/state_service.proto\x12\x11\x63loudidl.workflow\x1a\x1d\x66lyteidl/core/execution.proto\x1a\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cworkflow/state_service.proto\x12\x11\x63loudidl.workflow\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x17google/rpc/status.proto\x1a\x17validate/validate.proto\x1a\x1dworkflow/run_definition.proto\"\xc1\x01\n\nPutRequest\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\x00R\x10parentActionName\x88\x01\x01\x12\x1d\n\x05state\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x05stateB\x15\n\x13_parent_action_name\"\x8f\x01\n\x0bPutResponse\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\x34\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x06status\"X\n\nGetRequest\x12J\n\taction_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.ActionIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08\x61\x63tionId\"\xae\x01\n\x0bGetResponse\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\x34\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x06status\x12\x1d\n\x05state\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x05state\"n\n\x0cWatchRequest\x12O\n\x10parent_action_id\x18\x01 \x01(\x0b\x32#.cloudidl.workflow.ActionIdentifierH\x00R\x0eparentActionIdB\r\n\x06\x66ilter\x12\x03\xf8\x42\x01\"\xb0\x01\n\rWatchResponse\x12\x46\n\raction_update\x18\x01 \x01(\x0b\x32\x1f.cloudidl.workflow.ActionUpdateH\x00R\x0c\x61\x63tionUpdate\x12L\n\x0f\x63ontrol_message\x18\x02 \x01(\x0b\x32!.cloudidl.workflow.ControlMessageH\x00R\x0e\x63ontrolMessageB\t\n\x07message\",\n\x0e\x43ontrolMessage\x12\x1a\n\x08sentinel\x18\x01 \x01(\x08R\x08sentinel\"\xed\x01\n\x0c\x41\x63tionUpdate\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.\n\x05phase\x18\x02 \x01(\x0e\x32\x18.cloudidl.workflow.PhaseR\x05phase\x12\x38\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00R\x05\x65rror\x88\x01\x01\x12\x1d\n\noutput_uri\x18\x04 \x01(\tR\toutputUriB\x08\n\x06_error2\xf6\x01\n\x0cStateService\x12J\n\x03Put\x12\x1d.cloudidl.workflow.PutRequest\x1a\x1e.cloudidl.workflow.PutResponse\"\x00(\x01\x30\x01\x12J\n\x03Get\x12\x1d.cloudidl.workflow.GetRequest\x1a\x1e.cloudidl.workflow.GetResponse\"\x00(\x01\x30\x01\x12N\n\x05Watch\x12\x1f.cloudidl.workflow.WatchRequest\x1a .cloudidl.workflow.WatchResponse\"\x00\x30\x01\x42\xbe\x01\n\x15\x63om.cloudidl.workflowB\x11StateServiceProtoH\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
21
|
|
|
22
22
|
_globals = globals()
|
|
23
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -25,34 +25,42 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.state_service_pb2'
|
|
|
25
25
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
26
|
DESCRIPTOR._options = None
|
|
27
27
|
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\021StateServiceProtoH\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'
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
_PUTREQUEST.fields_by_name['action_id']._options = None
|
|
29
|
+
_PUTREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
30
|
+
_PUTREQUEST.fields_by_name['state']._options = None
|
|
31
|
+
_PUTREQUEST.fields_by_name['state']._serialized_options = b'\372B\004r\002\020\001'
|
|
32
|
+
_PUTRESPONSE.fields_by_name['action_id']._options = None
|
|
33
|
+
_PUTRESPONSE.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
34
|
+
_PUTRESPONSE.fields_by_name['status']._options = None
|
|
35
|
+
_PUTRESPONSE.fields_by_name['status']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
36
|
+
_GETREQUEST.fields_by_name['action_id']._options = None
|
|
37
|
+
_GETREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
38
|
+
_GETRESPONSE.fields_by_name['action_id']._options = None
|
|
39
|
+
_GETRESPONSE.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
40
|
+
_GETRESPONSE.fields_by_name['status']._options = None
|
|
41
|
+
_GETRESPONSE.fields_by_name['status']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
42
|
+
_GETRESPONSE.fields_by_name['state']._options = None
|
|
43
|
+
_GETRESPONSE.fields_by_name['state']._serialized_options = b'\372B\004r\002\020\001'
|
|
36
44
|
_WATCHREQUEST.oneofs_by_name['filter']._options = None
|
|
37
45
|
_WATCHREQUEST.oneofs_by_name['filter']._serialized_options = b'\370B\001'
|
|
38
46
|
_ACTIONUPDATE.fields_by_name['action_id']._options = None
|
|
39
47
|
_ACTIONUPDATE.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['_WATCHREQUEST']._serialized_start=
|
|
49
|
-
_globals['_WATCHREQUEST']._serialized_end=
|
|
50
|
-
_globals['_WATCHRESPONSE']._serialized_start=
|
|
51
|
-
_globals['_WATCHRESPONSE']._serialized_end=
|
|
52
|
-
_globals['_CONTROLMESSAGE']._serialized_start=
|
|
53
|
-
_globals['_CONTROLMESSAGE']._serialized_end=
|
|
54
|
-
_globals['_ACTIONUPDATE']._serialized_start=
|
|
55
|
-
_globals['_ACTIONUPDATE']._serialized_end=
|
|
56
|
-
_globals['_STATESERVICE']._serialized_start=
|
|
57
|
-
_globals['_STATESERVICE']._serialized_end=
|
|
48
|
+
_globals['_PUTREQUEST']._serialized_start=164
|
|
49
|
+
_globals['_PUTREQUEST']._serialized_end=357
|
|
50
|
+
_globals['_PUTRESPONSE']._serialized_start=360
|
|
51
|
+
_globals['_PUTRESPONSE']._serialized_end=503
|
|
52
|
+
_globals['_GETREQUEST']._serialized_start=505
|
|
53
|
+
_globals['_GETREQUEST']._serialized_end=593
|
|
54
|
+
_globals['_GETRESPONSE']._serialized_start=596
|
|
55
|
+
_globals['_GETRESPONSE']._serialized_end=770
|
|
56
|
+
_globals['_WATCHREQUEST']._serialized_start=772
|
|
57
|
+
_globals['_WATCHREQUEST']._serialized_end=882
|
|
58
|
+
_globals['_WATCHRESPONSE']._serialized_start=885
|
|
59
|
+
_globals['_WATCHRESPONSE']._serialized_end=1061
|
|
60
|
+
_globals['_CONTROLMESSAGE']._serialized_start=1063
|
|
61
|
+
_globals['_CONTROLMESSAGE']._serialized_end=1107
|
|
62
|
+
_globals['_ACTIONUPDATE']._serialized_start=1110
|
|
63
|
+
_globals['_ACTIONUPDATE']._serialized_end=1347
|
|
64
|
+
_globals['_STATESERVICE']._serialized_start=1350
|
|
65
|
+
_globals['_STATESERVICE']._serialized_end=1596
|
|
58
66
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
from flyteidl.core import execution_pb2 as _execution_pb2
|
|
2
|
+
from google.rpc import status_pb2 as _status_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
|
-
from flyte._protos.workflow import task_definition_pb2 as _task_definition_pb2
|
|
5
5
|
from google.protobuf import descriptor as _descriptor
|
|
6
6
|
from google.protobuf import message as _message
|
|
7
7
|
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
8
8
|
|
|
9
9
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class PutRequest(_message.Message):
|
|
12
12
|
__slots__ = ["action_id", "parent_action_name", "state"]
|
|
13
13
|
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
14
14
|
PARENT_ACTION_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -18,25 +18,29 @@ class StoreRequest(_message.Message):
|
|
|
18
18
|
state: str
|
|
19
19
|
def __init__(self, action_id: _Optional[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]] = ..., parent_action_name: _Optional[str] = ..., state: _Optional[str] = ...) -> None: ...
|
|
20
20
|
|
|
21
|
-
class
|
|
22
|
-
__slots__ = []
|
|
23
|
-
|
|
21
|
+
class PutResponse(_message.Message):
|
|
22
|
+
__slots__ = ["action_id", "status"]
|
|
23
|
+
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
action_id: _run_definition_pb2.ActionIdentifier
|
|
26
|
+
status: _status_pb2.Status
|
|
27
|
+
def __init__(self, action_id: _Optional[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]] = ..., status: _Optional[_Union[_status_pb2.Status, _Mapping]] = ...) -> None: ...
|
|
24
28
|
|
|
25
|
-
class
|
|
26
|
-
__slots__ = ["action_id"
|
|
29
|
+
class GetRequest(_message.Message):
|
|
30
|
+
__slots__ = ["action_id"]
|
|
27
31
|
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
-
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
-
INPUTS_HASH_FIELD_NUMBER: _ClassVar[int]
|
|
30
32
|
action_id: _run_definition_pb2.ActionIdentifier
|
|
31
|
-
|
|
32
|
-
inputs_hash: int
|
|
33
|
-
def __init__(self, action_id: _Optional[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]] = ..., task_id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ..., inputs_hash: _Optional[int] = ...) -> None: ...
|
|
33
|
+
def __init__(self, action_id: _Optional[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]] = ...) -> None: ...
|
|
34
34
|
|
|
35
|
-
class
|
|
36
|
-
__slots__ = ["state"]
|
|
35
|
+
class GetResponse(_message.Message):
|
|
36
|
+
__slots__ = ["action_id", "status", "state"]
|
|
37
|
+
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
37
39
|
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
action_id: _run_definition_pb2.ActionIdentifier
|
|
41
|
+
status: _status_pb2.Status
|
|
38
42
|
state: str
|
|
39
|
-
def __init__(self, state: _Optional[str] = ...) -> None: ...
|
|
43
|
+
def __init__(self, action_id: _Optional[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]] = ..., status: _Optional[_Union[_status_pb2.Status, _Mapping]] = ..., state: _Optional[str] = ...) -> None: ...
|
|
40
44
|
|
|
41
45
|
class WatchRequest(_message.Message):
|
|
42
46
|
__slots__ = ["parent_action_id"]
|
|
@@ -15,15 +15,15 @@ class StateServiceStub(object):
|
|
|
15
15
|
Args:
|
|
16
16
|
channel: A grpc.Channel.
|
|
17
17
|
"""
|
|
18
|
-
self.
|
|
19
|
-
'/cloudidl.workflow.StateService/
|
|
20
|
-
request_serializer=workflow_dot_state__service__pb2.
|
|
21
|
-
response_deserializer=workflow_dot_state__service__pb2.
|
|
18
|
+
self.Put = channel.stream_stream(
|
|
19
|
+
'/cloudidl.workflow.StateService/Put',
|
|
20
|
+
request_serializer=workflow_dot_state__service__pb2.PutRequest.SerializeToString,
|
|
21
|
+
response_deserializer=workflow_dot_state__service__pb2.PutResponse.FromString,
|
|
22
22
|
)
|
|
23
|
-
self.
|
|
24
|
-
'/cloudidl.workflow.StateService/
|
|
25
|
-
request_serializer=workflow_dot_state__service__pb2.
|
|
26
|
-
response_deserializer=workflow_dot_state__service__pb2.
|
|
23
|
+
self.Get = channel.stream_stream(
|
|
24
|
+
'/cloudidl.workflow.StateService/Get',
|
|
25
|
+
request_serializer=workflow_dot_state__service__pb2.GetRequest.SerializeToString,
|
|
26
|
+
response_deserializer=workflow_dot_state__service__pb2.GetResponse.FromString,
|
|
27
27
|
)
|
|
28
28
|
self.Watch = channel.unary_stream(
|
|
29
29
|
'/cloudidl.workflow.StateService/Watch',
|
|
@@ -36,15 +36,15 @@ class StateServiceServicer(object):
|
|
|
36
36
|
"""provides an interface for managing the state of actions.
|
|
37
37
|
"""
|
|
38
38
|
|
|
39
|
-
def
|
|
40
|
-
"""
|
|
39
|
+
def Put(self, request_iterator, context):
|
|
40
|
+
"""put the state of an action.
|
|
41
41
|
"""
|
|
42
42
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
43
43
|
context.set_details('Method not implemented!')
|
|
44
44
|
raise NotImplementedError('Method not implemented!')
|
|
45
45
|
|
|
46
|
-
def
|
|
47
|
-
"""
|
|
46
|
+
def Get(self, request_iterator, context):
|
|
47
|
+
"""get the state of an action.
|
|
48
48
|
"""
|
|
49
49
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
50
50
|
context.set_details('Method not implemented!')
|
|
@@ -60,15 +60,15 @@ class StateServiceServicer(object):
|
|
|
60
60
|
|
|
61
61
|
def add_StateServiceServicer_to_server(servicer, server):
|
|
62
62
|
rpc_method_handlers = {
|
|
63
|
-
'
|
|
64
|
-
servicer.
|
|
65
|
-
request_deserializer=workflow_dot_state__service__pb2.
|
|
66
|
-
response_serializer=workflow_dot_state__service__pb2.
|
|
63
|
+
'Put': grpc.stream_stream_rpc_method_handler(
|
|
64
|
+
servicer.Put,
|
|
65
|
+
request_deserializer=workflow_dot_state__service__pb2.PutRequest.FromString,
|
|
66
|
+
response_serializer=workflow_dot_state__service__pb2.PutResponse.SerializeToString,
|
|
67
67
|
),
|
|
68
|
-
'
|
|
69
|
-
servicer.
|
|
70
|
-
request_deserializer=workflow_dot_state__service__pb2.
|
|
71
|
-
response_serializer=workflow_dot_state__service__pb2.
|
|
68
|
+
'Get': grpc.stream_stream_rpc_method_handler(
|
|
69
|
+
servicer.Get,
|
|
70
|
+
request_deserializer=workflow_dot_state__service__pb2.GetRequest.FromString,
|
|
71
|
+
response_serializer=workflow_dot_state__service__pb2.GetResponse.SerializeToString,
|
|
72
72
|
),
|
|
73
73
|
'Watch': grpc.unary_stream_rpc_method_handler(
|
|
74
74
|
servicer.Watch,
|
|
@@ -87,7 +87,7 @@ class StateService(object):
|
|
|
87
87
|
"""
|
|
88
88
|
|
|
89
89
|
@staticmethod
|
|
90
|
-
def
|
|
90
|
+
def Put(request_iterator,
|
|
91
91
|
target,
|
|
92
92
|
options=(),
|
|
93
93
|
channel_credentials=None,
|
|
@@ -97,14 +97,14 @@ class StateService(object):
|
|
|
97
97
|
wait_for_ready=None,
|
|
98
98
|
timeout=None,
|
|
99
99
|
metadata=None):
|
|
100
|
-
return grpc.experimental.
|
|
101
|
-
workflow_dot_state__service__pb2.
|
|
102
|
-
workflow_dot_state__service__pb2.
|
|
100
|
+
return grpc.experimental.stream_stream(request_iterator, target, '/cloudidl.workflow.StateService/Put',
|
|
101
|
+
workflow_dot_state__service__pb2.PutRequest.SerializeToString,
|
|
102
|
+
workflow_dot_state__service__pb2.PutResponse.FromString,
|
|
103
103
|
options, channel_credentials,
|
|
104
104
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
105
105
|
|
|
106
106
|
@staticmethod
|
|
107
|
-
def
|
|
107
|
+
def Get(request_iterator,
|
|
108
108
|
target,
|
|
109
109
|
options=(),
|
|
110
110
|
channel_credentials=None,
|
|
@@ -114,9 +114,9 @@ class StateService(object):
|
|
|
114
114
|
wait_for_ready=None,
|
|
115
115
|
timeout=None,
|
|
116
116
|
metadata=None):
|
|
117
|
-
return grpc.experimental.
|
|
118
|
-
workflow_dot_state__service__pb2.
|
|
119
|
-
workflow_dot_state__service__pb2.
|
|
117
|
+
return grpc.experimental.stream_stream(request_iterator, target, '/cloudidl.workflow.StateService/Get',
|
|
118
|
+
workflow_dot_state__service__pb2.GetRequest.SerializeToString,
|
|
119
|
+
workflow_dot_state__service__pb2.GetResponse.FromString,
|
|
120
120
|
options, channel_credentials,
|
|
121
121
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
122
122
|
|
|
@@ -14,10 +14,13 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
|
|
15
15
|
from flyte._protos.common import identity_pb2 as common_dot_identity__pb2
|
|
16
16
|
from flyteidl.core import tasks_pb2 as flyteidl_dot_core_dot_tasks__pb2
|
|
17
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
17
18
|
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
19
|
+
from flyte._protos.workflow import common_pb2 as workflow_dot_common__pb2
|
|
20
|
+
from flyte._protos.workflow import environment_pb2 as workflow_dot_environment__pb2
|
|
18
21
|
|
|
19
22
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eworkflow/task_definition.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x15\x63ommon/identity.proto\x1a\x19\x66lyteidl/core/tasks.proto\x1a\x17validate/validate.proto\"\
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eworkflow/task_definition.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x15\x63ommon/identity.proto\x1a\x19\x66lyteidl/core/tasks.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17validate/validate.proto\x1a\x15workflow/common.proto\x1a\x1aworkflow/environment.proto\"\x8f\x01\n\x08TaskName\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\x1e\n\x04name\x18\x04 \x01(\tB\n\xfa\x42\x07r\x05\x10\x01\x18\xff\x01R\x04name\"\xba\x01\n\x0eTaskIdentifier\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\x1e\n\x04name\x18\x04 \x01(\tB\n\xfa\x42\x07r\x05\x10\x01\x18\xff\x01R\x04name\x12#\n\x07version\x18\x05 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18?R\x07version\"\xed\x01\n\x0cTaskMetadata\x12L\n\x0b\x64\x65ployed_by\x18\x01 \x01(\x0b\x32!.cloudidl.common.EnrichedIdentityB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\ndeployedBy\x12\x1d\n\nshort_name\x18\x02 \x01(\tR\tshortName\x12\x45\n\x0b\x64\x65ployed_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xfa\x42\x05\xb2\x01\x02\x08\x01R\ndeployedAt\x12)\n\x10\x65nvironment_name\x18\x04 \x01(\tR\x0f\x65nvironmentName\"\x93\x01\n\x04Task\x12\x44\n\x07task_id\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x06taskId\x12\x45\n\x08metadata\x18\x02 \x01(\x0b\x32\x1f.cloudidl.workflow.TaskMetadataB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08metadata\"\x8a\x02\n\x08TaskSpec\x12J\n\rtask_template\x18\x01 \x01(\x0b\x32\x1b.flyteidl.core.TaskTemplateB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x0ctaskTemplate\x12H\n\x0e\x64\x65\x66\x61ult_inputs\x18\x02 \x03(\x0b\x32!.cloudidl.workflow.NamedParameterR\rdefaultInputs\x12&\n\nshort_name\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x18?R\tshortName\x12@\n\x0b\x65nvironment\x18\x04 \x01(\x0b\x32\x1e.cloudidl.workflow.EnvironmentR\x0b\x65nvironment\"\xd5\x01\n\x0bTaskDetails\x12\x44\n\x07task_id\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x06taskId\x12\x45\n\x08metadata\x18\x02 \x01(\x0b\x32\x1f.cloudidl.workflow.TaskMetadataB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08metadata\x12\x39\n\x04spec\x18\x03 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04specB\xc0\x01\n\x15\x63om.cloudidl.workflowB\x13TaskDefinitionProtoH\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
24
|
|
|
22
25
|
_globals = globals()
|
|
23
26
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -26,47 +29,51 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
26
29
|
DESCRIPTOR._options = None
|
|
27
30
|
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\023TaskDefinitionProtoH\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'
|
|
28
31
|
_TASKNAME.fields_by_name['org']._options = None
|
|
29
|
-
_TASKNAME.fields_by_name['org']._serialized_options = b'\372B\
|
|
32
|
+
_TASKNAME.fields_by_name['org']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
30
33
|
_TASKNAME.fields_by_name['project']._options = None
|
|
31
|
-
_TASKNAME.fields_by_name['project']._serialized_options = b'\372B\
|
|
34
|
+
_TASKNAME.fields_by_name['project']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
32
35
|
_TASKNAME.fields_by_name['domain']._options = None
|
|
33
|
-
_TASKNAME.fields_by_name['domain']._serialized_options = b'\372B\
|
|
36
|
+
_TASKNAME.fields_by_name['domain']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
34
37
|
_TASKNAME.fields_by_name['name']._options = None
|
|
35
|
-
_TASKNAME.fields_by_name['name']._serialized_options = b'\372B\
|
|
38
|
+
_TASKNAME.fields_by_name['name']._serialized_options = b'\372B\007r\005\020\001\030\377\001'
|
|
36
39
|
_TASKIDENTIFIER.fields_by_name['org']._options = None
|
|
37
|
-
_TASKIDENTIFIER.fields_by_name['org']._serialized_options = b'\372B\
|
|
40
|
+
_TASKIDENTIFIER.fields_by_name['org']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
38
41
|
_TASKIDENTIFIER.fields_by_name['project']._options = None
|
|
39
|
-
_TASKIDENTIFIER.fields_by_name['project']._serialized_options = b'\372B\
|
|
42
|
+
_TASKIDENTIFIER.fields_by_name['project']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
40
43
|
_TASKIDENTIFIER.fields_by_name['domain']._options = None
|
|
41
|
-
_TASKIDENTIFIER.fields_by_name['domain']._serialized_options = b'\372B\
|
|
44
|
+
_TASKIDENTIFIER.fields_by_name['domain']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
42
45
|
_TASKIDENTIFIER.fields_by_name['name']._options = None
|
|
43
|
-
_TASKIDENTIFIER.fields_by_name['name']._serialized_options = b'\372B\
|
|
46
|
+
_TASKIDENTIFIER.fields_by_name['name']._serialized_options = b'\372B\007r\005\020\001\030\377\001'
|
|
44
47
|
_TASKIDENTIFIER.fields_by_name['version']._options = None
|
|
45
|
-
_TASKIDENTIFIER.fields_by_name['version']._serialized_options = b'\372B\
|
|
48
|
+
_TASKIDENTIFIER.fields_by_name['version']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
46
49
|
_TASKMETADATA.fields_by_name['deployed_by']._options = None
|
|
47
50
|
_TASKMETADATA.fields_by_name['deployed_by']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
51
|
+
_TASKMETADATA.fields_by_name['deployed_at']._options = None
|
|
52
|
+
_TASKMETADATA.fields_by_name['deployed_at']._serialized_options = b'\372B\005\262\001\002\010\001'
|
|
48
53
|
_TASK.fields_by_name['task_id']._options = None
|
|
49
54
|
_TASK.fields_by_name['task_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
50
55
|
_TASK.fields_by_name['metadata']._options = None
|
|
51
56
|
_TASK.fields_by_name['metadata']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
52
57
|
_TASKSPEC.fields_by_name['task_template']._options = None
|
|
53
58
|
_TASKSPEC.fields_by_name['task_template']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
59
|
+
_TASKSPEC.fields_by_name['short_name']._options = None
|
|
60
|
+
_TASKSPEC.fields_by_name['short_name']._serialized_options = b'\372B\004r\002\030?'
|
|
54
61
|
_TASKDETAILS.fields_by_name['task_id']._options = None
|
|
55
62
|
_TASKDETAILS.fields_by_name['task_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
56
63
|
_TASKDETAILS.fields_by_name['metadata']._options = None
|
|
57
64
|
_TASKDETAILS.fields_by_name['metadata']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
58
65
|
_TASKDETAILS.fields_by_name['spec']._options = None
|
|
59
66
|
_TASKDETAILS.fields_by_name['spec']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
60
|
-
_globals['_TASKNAME']._serialized_start=
|
|
61
|
-
_globals['_TASKNAME']._serialized_end=
|
|
62
|
-
_globals['_TASKIDENTIFIER']._serialized_start=
|
|
63
|
-
_globals['_TASKIDENTIFIER']._serialized_end=
|
|
64
|
-
_globals['_TASKMETADATA']._serialized_start=
|
|
65
|
-
_globals['_TASKMETADATA']._serialized_end=
|
|
66
|
-
_globals['_TASK']._serialized_start=
|
|
67
|
-
_globals['_TASK']._serialized_end=
|
|
68
|
-
_globals['_TASKSPEC']._serialized_start=
|
|
69
|
-
_globals['_TASKSPEC']._serialized_end=
|
|
70
|
-
_globals['_TASKDETAILS']._serialized_start=
|
|
71
|
-
_globals['_TASKDETAILS']._serialized_end=
|
|
67
|
+
_globals['_TASKNAME']._serialized_start=238
|
|
68
|
+
_globals['_TASKNAME']._serialized_end=381
|
|
69
|
+
_globals['_TASKIDENTIFIER']._serialized_start=384
|
|
70
|
+
_globals['_TASKIDENTIFIER']._serialized_end=570
|
|
71
|
+
_globals['_TASKMETADATA']._serialized_start=573
|
|
72
|
+
_globals['_TASKMETADATA']._serialized_end=810
|
|
73
|
+
_globals['_TASK']._serialized_start=813
|
|
74
|
+
_globals['_TASK']._serialized_end=960
|
|
75
|
+
_globals['_TASKSPEC']._serialized_start=963
|
|
76
|
+
_globals['_TASKSPEC']._serialized_end=1229
|
|
77
|
+
_globals['_TASKDETAILS']._serialized_start=1232
|
|
78
|
+
_globals['_TASKDETAILS']._serialized_end=1445
|
|
72
79
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
from flyte._protos.common import identifier_pb2 as _identifier_pb2
|
|
2
2
|
from flyte._protos.common import identity_pb2 as _identity_pb2
|
|
3
3
|
from flyteidl.core import tasks_pb2 as _tasks_pb2
|
|
4
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
5
|
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
6
|
+
from flyte._protos.workflow import common_pb2 as _common_pb2
|
|
7
|
+
from flyte._protos.workflow import environment_pb2 as _environment_pb2
|
|
8
|
+
from google.protobuf.internal import containers as _containers
|
|
5
9
|
from google.protobuf import descriptor as _descriptor
|
|
6
10
|
from google.protobuf import message as _message
|
|
7
|
-
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
11
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
8
12
|
|
|
9
13
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
14
|
|
|
@@ -35,10 +39,16 @@ class TaskIdentifier(_message.Message):
|
|
|
35
39
|
def __init__(self, org: _Optional[str] = ..., project: _Optional[str] = ..., domain: _Optional[str] = ..., name: _Optional[str] = ..., version: _Optional[str] = ...) -> None: ...
|
|
36
40
|
|
|
37
41
|
class TaskMetadata(_message.Message):
|
|
38
|
-
__slots__ = ["deployed_by"]
|
|
42
|
+
__slots__ = ["deployed_by", "short_name", "deployed_at", "environment_name"]
|
|
39
43
|
DEPLOYED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
SHORT_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
DEPLOYED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
ENVIRONMENT_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
40
47
|
deployed_by: _identity_pb2.EnrichedIdentity
|
|
41
|
-
|
|
48
|
+
short_name: str
|
|
49
|
+
deployed_at: _timestamp_pb2.Timestamp
|
|
50
|
+
environment_name: str
|
|
51
|
+
def __init__(self, deployed_by: _Optional[_Union[_identity_pb2.EnrichedIdentity, _Mapping]] = ..., short_name: _Optional[str] = ..., deployed_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., environment_name: _Optional[str] = ...) -> None: ...
|
|
42
52
|
|
|
43
53
|
class Task(_message.Message):
|
|
44
54
|
__slots__ = ["task_id", "metadata"]
|
|
@@ -49,10 +59,16 @@ class Task(_message.Message):
|
|
|
49
59
|
def __init__(self, task_id: _Optional[_Union[TaskIdentifier, _Mapping]] = ..., metadata: _Optional[_Union[TaskMetadata, _Mapping]] = ...) -> None: ...
|
|
50
60
|
|
|
51
61
|
class TaskSpec(_message.Message):
|
|
52
|
-
__slots__ = ["task_template"]
|
|
62
|
+
__slots__ = ["task_template", "default_inputs", "short_name", "environment"]
|
|
53
63
|
TASK_TEMPLATE_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
DEFAULT_INPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
SHORT_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
ENVIRONMENT_FIELD_NUMBER: _ClassVar[int]
|
|
54
67
|
task_template: _tasks_pb2.TaskTemplate
|
|
55
|
-
|
|
68
|
+
default_inputs: _containers.RepeatedCompositeFieldContainer[_common_pb2.NamedParameter]
|
|
69
|
+
short_name: str
|
|
70
|
+
environment: _environment_pb2.Environment
|
|
71
|
+
def __init__(self, task_template: _Optional[_Union[_tasks_pb2.TaskTemplate, _Mapping]] = ..., default_inputs: _Optional[_Iterable[_Union[_common_pb2.NamedParameter, _Mapping]]] = ..., short_name: _Optional[str] = ..., environment: _Optional[_Union[_environment_pb2.Environment, _Mapping]] = ...) -> None: ...
|
|
56
72
|
|
|
57
73
|
class TaskDetails(_message.Message):
|
|
58
74
|
__slots__ = ["task_id", "metadata", "spec"]
|
|
@@ -11,11 +11,13 @@ from google.protobuf.internal import builder as _builder
|
|
|
11
11
|
_sym_db = _symbol_database.Default()
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
|
|
15
|
+
from flyte._protos.common import list_pb2 as common_dot_list__pb2
|
|
14
16
|
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
15
17
|
from flyte._protos.workflow import task_definition_pb2 as workflow_dot_task__definition__pb2
|
|
16
18
|
|
|
17
19
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bworkflow/task_service.proto\x12\x11\x63loudidl.workflow\x1a\x17validate/validate.proto\x1a\x1eworkflow/task_definition.proto\"\x94\x01\n\x11\x44\x65ployTaskRequest\x12\x44\n\x07task_id\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x06taskId\x12\x39\n\x04spec\x18\x02 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04spec\"\x14\n\x12\x44\x65ployTaskResponse\"]\n\x15GetTaskDetailsRequest\x12\x44\n\x07task_id\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x06taskId\"R\n\x16GetTaskDetailsResponse\x12\x38\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1e.cloudidl.workflow.TaskDetailsR\x07\x64\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bworkflow/task_service.proto\x12\x11\x63loudidl.workflow\x1a\x17\x63ommon/identifier.proto\x1a\x11\x63ommon/list.proto\x1a\x17validate/validate.proto\x1a\x1eworkflow/task_definition.proto\"\x94\x01\n\x11\x44\x65ployTaskRequest\x12\x44\n\x07task_id\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x06taskId\x12\x39\n\x04spec\x18\x02 \x01(\x0b\x32\x1b.cloudidl.workflow.TaskSpecB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x04spec\"\x14\n\x12\x44\x65ployTaskResponse\"]\n\x15GetTaskDetailsRequest\x12\x44\n\x07task_id\x18\x01 \x01(\x0b\x32!.cloudidl.workflow.TaskIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x06taskId\"R\n\x16GetTaskDetailsResponse\x12\x38\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x1e.cloudidl.workflow.TaskDetailsR\x07\x64\x65tails\"\xdc\x02\n\x10ListTasksRequest\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\x03 \x01(\x0b\x32\".cloudidl.common.ProjectIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\tprojectId\x12T\n\rknown_filters\x18\x04 \x03(\x0b\x32/.cloudidl.workflow.ListTasksRequest.KnownFilterR\x0cknownFilters\x1a=\n\x0bKnownFilter\x12!\n\x0b\x64\x65ployed_by\x18\x01 \x01(\tH\x00R\ndeployedByB\x0b\n\tfilter_byB\x0f\n\x08scope_by\x12\x03\xf8\x42\x01\"X\n\x11ListTasksResponse\x12-\n\x05tasks\x18\x01 \x03(\x0b\x32\x17.cloudidl.workflow.TaskR\x05tasks\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token2\xb3\x02\n\x0bTaskService\x12[\n\nDeployTask\x12$.cloudidl.workflow.DeployTaskRequest\x1a%.cloudidl.workflow.DeployTaskResponse\"\x00\x12j\n\x0eGetTaskDetails\x12(.cloudidl.workflow.GetTaskDetailsRequest\x1a).cloudidl.workflow.GetTaskDetailsResponse\"\x03\x90\x02\x01\x12[\n\tListTasks\x12#.cloudidl.workflow.ListTasksRequest\x1a$.cloudidl.workflow.ListTasksResponse\"\x03\x90\x02\x01\x42\xbd\x01\n\x15\x63om.cloudidl.workflowB\x10TaskServiceProtoH\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')
|
|
19
21
|
|
|
20
22
|
_globals = globals()
|
|
21
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -29,16 +31,30 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
29
31
|
_DEPLOYTASKREQUEST.fields_by_name['spec']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
30
32
|
_GETTASKDETAILSREQUEST.fields_by_name['task_id']._options = None
|
|
31
33
|
_GETTASKDETAILSREQUEST.fields_by_name['task_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
34
|
+
_LISTTASKSREQUEST.oneofs_by_name['scope_by']._options = None
|
|
35
|
+
_LISTTASKSREQUEST.oneofs_by_name['scope_by']._serialized_options = b'\370B\001'
|
|
36
|
+
_LISTTASKSREQUEST.fields_by_name['org']._options = None
|
|
37
|
+
_LISTTASKSREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
|
|
38
|
+
_LISTTASKSREQUEST.fields_by_name['project_id']._options = None
|
|
39
|
+
_LISTTASKSREQUEST.fields_by_name['project_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
32
40
|
_TASKSERVICE.methods_by_name['GetTaskDetails']._options = None
|
|
33
41
|
_TASKSERVICE.methods_by_name['GetTaskDetails']._serialized_options = b'\220\002\001'
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
42
|
+
_TASKSERVICE.methods_by_name['ListTasks']._options = None
|
|
43
|
+
_TASKSERVICE.methods_by_name['ListTasks']._serialized_options = b'\220\002\001'
|
|
44
|
+
_globals['_DEPLOYTASKREQUEST']._serialized_start=152
|
|
45
|
+
_globals['_DEPLOYTASKREQUEST']._serialized_end=300
|
|
46
|
+
_globals['_DEPLOYTASKRESPONSE']._serialized_start=302
|
|
47
|
+
_globals['_DEPLOYTASKRESPONSE']._serialized_end=322
|
|
48
|
+
_globals['_GETTASKDETAILSREQUEST']._serialized_start=324
|
|
49
|
+
_globals['_GETTASKDETAILSREQUEST']._serialized_end=417
|
|
50
|
+
_globals['_GETTASKDETAILSRESPONSE']._serialized_start=419
|
|
51
|
+
_globals['_GETTASKDETAILSRESPONSE']._serialized_end=501
|
|
52
|
+
_globals['_LISTTASKSREQUEST']._serialized_start=504
|
|
53
|
+
_globals['_LISTTASKSREQUEST']._serialized_end=852
|
|
54
|
+
_globals['_LISTTASKSREQUEST_KNOWNFILTER']._serialized_start=774
|
|
55
|
+
_globals['_LISTTASKSREQUEST_KNOWNFILTER']._serialized_end=835
|
|
56
|
+
_globals['_LISTTASKSRESPONSE']._serialized_start=854
|
|
57
|
+
_globals['_LISTTASKSRESPONSE']._serialized_end=942
|
|
58
|
+
_globals['_TASKSERVICE']._serialized_start=945
|
|
59
|
+
_globals['_TASKSERVICE']._serialized_end=1252
|
|
44
60
|
# @@protoc_insertion_point(module_scope)
|