flyte 0.0.1b0__py3-none-any.whl → 2.0.0b46__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.
- flyte/__init__.py +83 -30
- flyte/_bin/connect.py +61 -0
- flyte/_bin/debug.py +38 -0
- flyte/_bin/runtime.py +87 -19
- flyte/_bin/serve.py +351 -0
- flyte/_build.py +3 -2
- flyte/_cache/cache.py +6 -5
- flyte/_cache/local_cache.py +216 -0
- flyte/_code_bundle/_ignore.py +31 -5
- flyte/_code_bundle/_packaging.py +42 -11
- flyte/_code_bundle/_utils.py +57 -34
- flyte/_code_bundle/bundle.py +130 -27
- flyte/_constants.py +1 -0
- flyte/_context.py +21 -5
- flyte/_custom_context.py +73 -0
- flyte/_debug/constants.py +37 -0
- flyte/_debug/utils.py +17 -0
- flyte/_debug/vscode.py +315 -0
- flyte/_deploy.py +396 -75
- flyte/_deployer.py +109 -0
- flyte/_environment.py +94 -11
- flyte/_excepthook.py +37 -0
- flyte/_group.py +2 -1
- flyte/_hash.py +1 -16
- flyte/_image.py +544 -234
- flyte/_initialize.py +443 -294
- flyte/_interface.py +40 -5
- flyte/_internal/controllers/__init__.py +22 -8
- flyte/_internal/controllers/_local_controller.py +159 -35
- flyte/_internal/controllers/_trace.py +18 -10
- flyte/_internal/controllers/remote/__init__.py +38 -9
- flyte/_internal/controllers/remote/_action.py +82 -12
- flyte/_internal/controllers/remote/_client.py +6 -2
- flyte/_internal/controllers/remote/_controller.py +290 -64
- flyte/_internal/controllers/remote/_core.py +155 -95
- flyte/_internal/controllers/remote/_informer.py +40 -20
- flyte/_internal/controllers/remote/_service_protocol.py +2 -2
- flyte/_internal/imagebuild/__init__.py +2 -10
- flyte/_internal/imagebuild/docker_builder.py +391 -84
- flyte/_internal/imagebuild/image_builder.py +111 -55
- flyte/_internal/imagebuild/remote_builder.py +409 -0
- flyte/_internal/imagebuild/utils.py +79 -0
- flyte/_internal/resolvers/_app_env_module.py +92 -0
- flyte/_internal/resolvers/_task_module.py +5 -38
- flyte/_internal/resolvers/app_env.py +26 -0
- flyte/_internal/resolvers/common.py +8 -1
- flyte/_internal/resolvers/default.py +2 -2
- flyte/_internal/runtime/convert.py +322 -33
- flyte/_internal/runtime/entrypoints.py +106 -18
- flyte/_internal/runtime/io.py +71 -23
- flyte/_internal/runtime/resources_serde.py +21 -7
- flyte/_internal/runtime/reuse.py +125 -0
- flyte/_internal/runtime/rusty.py +196 -0
- flyte/_internal/runtime/task_serde.py +239 -66
- flyte/_internal/runtime/taskrunner.py +48 -8
- flyte/_internal/runtime/trigger_serde.py +162 -0
- flyte/_internal/runtime/types_serde.py +7 -16
- flyte/_keyring/file.py +115 -0
- flyte/_link.py +30 -0
- flyte/_logging.py +241 -42
- flyte/_map.py +312 -0
- flyte/_metrics.py +59 -0
- flyte/_module.py +74 -0
- flyte/_pod.py +30 -0
- flyte/_resources.py +296 -33
- flyte/_retry.py +1 -7
- flyte/_reusable_environment.py +72 -7
- flyte/_run.py +461 -132
- flyte/_secret.py +47 -11
- flyte/_serve.py +333 -0
- flyte/_task.py +245 -56
- flyte/_task_environment.py +219 -97
- flyte/_task_plugins.py +47 -0
- flyte/_tools.py +8 -8
- flyte/_trace.py +15 -24
- flyte/_trigger.py +1027 -0
- flyte/_utils/__init__.py +12 -1
- flyte/_utils/asyn.py +3 -1
- flyte/_utils/async_cache.py +139 -0
- flyte/_utils/coro_management.py +5 -4
- flyte/_utils/description_parser.py +19 -0
- flyte/_utils/docker_credentials.py +173 -0
- flyte/_utils/helpers.py +45 -19
- flyte/_utils/module_loader.py +123 -0
- flyte/_utils/org_discovery.py +57 -0
- flyte/_utils/uv_script_parser.py +8 -1
- flyte/_version.py +16 -3
- flyte/app/__init__.py +27 -0
- flyte/app/_app_environment.py +362 -0
- flyte/app/_connector_environment.py +40 -0
- flyte/app/_deploy.py +130 -0
- flyte/app/_parameter.py +343 -0
- flyte/app/_runtime/__init__.py +3 -0
- flyte/app/_runtime/app_serde.py +383 -0
- flyte/app/_types.py +113 -0
- flyte/app/extras/__init__.py +9 -0
- flyte/app/extras/_auth_middleware.py +217 -0
- flyte/app/extras/_fastapi.py +93 -0
- flyte/app/extras/_model_loader/__init__.py +3 -0
- flyte/app/extras/_model_loader/config.py +7 -0
- flyte/app/extras/_model_loader/loader.py +288 -0
- flyte/cli/__init__.py +12 -0
- flyte/cli/_abort.py +28 -0
- flyte/cli/_build.py +114 -0
- flyte/cli/_common.py +493 -0
- flyte/cli/_create.py +371 -0
- flyte/cli/_delete.py +45 -0
- flyte/cli/_deploy.py +401 -0
- flyte/cli/_gen.py +316 -0
- flyte/cli/_get.py +446 -0
- flyte/cli/_option.py +33 -0
- {union/_cli → flyte/cli}/_params.py +152 -153
- flyte/cli/_plugins.py +209 -0
- flyte/cli/_prefetch.py +292 -0
- flyte/cli/_run.py +690 -0
- flyte/cli/_serve.py +338 -0
- flyte/cli/_update.py +86 -0
- flyte/cli/_user.py +20 -0
- flyte/cli/main.py +246 -0
- flyte/config/__init__.py +3 -0
- flyte/config/_config.py +248 -0
- flyte/config/_internal.py +73 -0
- flyte/config/_reader.py +225 -0
- flyte/connectors/__init__.py +11 -0
- flyte/connectors/_connector.py +330 -0
- flyte/connectors/_server.py +194 -0
- flyte/connectors/utils.py +159 -0
- flyte/errors.py +134 -2
- flyte/extend.py +24 -0
- flyte/extras/_container.py +69 -56
- flyte/git/__init__.py +3 -0
- flyte/git/_config.py +279 -0
- flyte/io/__init__.py +8 -1
- flyte/io/{structured_dataset → _dataframe}/__init__.py +32 -30
- flyte/io/{structured_dataset → _dataframe}/basic_dfs.py +75 -68
- flyte/io/{structured_dataset/structured_dataset.py → _dataframe/dataframe.py} +207 -242
- flyte/io/_dir.py +575 -113
- flyte/io/_file.py +587 -141
- flyte/io/_hashing_io.py +342 -0
- flyte/io/extend.py +7 -0
- flyte/models.py +635 -0
- flyte/prefetch/__init__.py +22 -0
- flyte/prefetch/_hf_model.py +563 -0
- flyte/remote/__init__.py +14 -3
- flyte/remote/_action.py +879 -0
- flyte/remote/_app.py +346 -0
- flyte/remote/_auth_metadata.py +42 -0
- flyte/remote/_client/_protocols.py +62 -4
- flyte/remote/_client/auth/_auth_utils.py +19 -0
- flyte/remote/_client/auth/_authenticators/base.py +8 -2
- flyte/remote/_client/auth/_authenticators/device_code.py +4 -5
- flyte/remote/_client/auth/_authenticators/factory.py +4 -0
- flyte/remote/_client/auth/_authenticators/passthrough.py +79 -0
- flyte/remote/_client/auth/_authenticators/pkce.py +17 -18
- flyte/remote/_client/auth/_channel.py +47 -18
- flyte/remote/_client/auth/_client_config.py +5 -3
- flyte/remote/_client/auth/_keyring.py +15 -2
- flyte/remote/_client/auth/_token_client.py +3 -3
- flyte/remote/_client/controlplane.py +206 -18
- flyte/remote/_common.py +66 -0
- flyte/remote/_data.py +107 -22
- flyte/remote/_logs.py +116 -33
- flyte/remote/_project.py +21 -19
- flyte/remote/_run.py +164 -631
- flyte/remote/_secret.py +72 -29
- flyte/remote/_task.py +387 -46
- flyte/remote/_trigger.py +368 -0
- flyte/remote/_user.py +43 -0
- flyte/report/_report.py +10 -6
- flyte/storage/__init__.py +13 -1
- flyte/storage/_config.py +237 -0
- flyte/storage/_parallel_reader.py +289 -0
- flyte/storage/_storage.py +268 -59
- flyte/syncify/__init__.py +56 -0
- flyte/syncify/_api.py +414 -0
- flyte/types/__init__.py +39 -0
- flyte/types/_interface.py +22 -7
- flyte/{io/pickle/transformer.py → types/_pickle.py} +37 -9
- flyte/types/_string_literals.py +8 -9
- flyte/types/_type_engine.py +230 -129
- flyte/types/_utils.py +1 -1
- flyte-2.0.0b46.data/scripts/debug.py +38 -0
- flyte-2.0.0b46.data/scripts/runtime.py +194 -0
- flyte-2.0.0b46.dist-info/METADATA +352 -0
- flyte-2.0.0b46.dist-info/RECORD +221 -0
- flyte-2.0.0b46.dist-info/entry_points.txt +8 -0
- flyte-2.0.0b46.dist-info/licenses/LICENSE +201 -0
- flyte/_api_commons.py +0 -3
- flyte/_cli/_common.py +0 -287
- flyte/_cli/_create.py +0 -42
- flyte/_cli/_delete.py +0 -23
- flyte/_cli/_deploy.py +0 -140
- flyte/_cli/_get.py +0 -235
- flyte/_cli/_run.py +0 -152
- flyte/_cli/main.py +0 -72
- flyte/_datastructures.py +0 -342
- flyte/_internal/controllers/pbhash.py +0 -39
- 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 -71
- flyte/_protos/common/identifier_pb2.pyi +0 -82
- 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 -69
- 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/logs/dataplane/payload_pb2.py +0 -96
- flyte/_protos/logs/dataplane/payload_pb2.pyi +0 -168
- 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/secret/secret_pb2_grpc_grpc.py +0 -198
- flyte/_protos/validate/validate/validate_pb2.py +0 -76
- 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 -106
- flyte/_protos/workflow/queue_service_pb2.pyi +0 -141
- flyte/_protos/workflow/queue_service_pb2_grpc.py +0 -172
- flyte/_protos/workflow/run_definition_pb2.py +0 -128
- flyte/_protos/workflow/run_definition_pb2.pyi +0 -310
- 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 -133
- flyte/_protos/workflow/run_service_pb2.pyi +0 -175
- flyte/_protos/workflow/run_service_pb2_grpc.py +0 -412
- flyte/_protos/workflow/state_service_pb2.py +0 -58
- flyte/_protos/workflow/state_service_pb2.pyi +0 -71
- flyte/_protos/workflow/state_service_pb2_grpc.py +0 -138
- flyte/_protos/workflow/task_definition_pb2.py +0 -72
- flyte/_protos/workflow/task_definition_pb2.pyi +0 -65
- flyte/_protos/workflow/task_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/task_service_pb2.py +0 -44
- flyte/_protos/workflow/task_service_pb2.pyi +0 -31
- flyte/_protos/workflow/task_service_pb2_grpc.py +0 -104
- flyte/io/_dataframe.py +0 -0
- flyte/io/pickle/__init__.py +0 -0
- flyte/remote/_console.py +0 -18
- flyte-0.0.1b0.dist-info/METADATA +0 -179
- flyte-0.0.1b0.dist-info/RECORD +0 -390
- flyte-0.0.1b0.dist-info/entry_points.txt +0 -3
- 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/authorization_pb2_grpc.py +0 -4
- union/_protos/common/identifier_pb2.py +0 -71
- union/_protos/common/identifier_pb2.pyi +0 -82
- union/_protos/common/identifier_pb2_grpc.py +0 -4
- 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
- /flyte/{_cli → _debug}/__init__.py +0 -0
- /flyte/{_protos → _keyring}/__init__.py +0 -0
- {flyte-0.0.1b0.dist-info → flyte-2.0.0b46.dist-info}/WHEEL +0 -0
- {flyte-0.0.1b0.dist-info → flyte-2.0.0b46.dist-info}/top_level.txt +0 -0
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
from flyte._protos.common import identifier_pb2 as _identifier_pb2
|
|
2
|
-
from flyte._protos.common import identity_pb2 as _identity_pb2
|
|
3
|
-
from flyteidl.core import execution_pb2 as _execution_pb2
|
|
4
|
-
from flyteidl.core import literals_pb2 as _literals_pb2
|
|
5
|
-
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
6
|
-
from google.protobuf import wrappers_pb2 as _wrappers_pb2
|
|
7
|
-
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
8
|
-
from flyte._protos.workflow import task_definition_pb2 as _task_definition_pb2
|
|
9
|
-
from google.protobuf.internal import containers as _containers
|
|
10
|
-
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
11
|
-
from google.protobuf import descriptor as _descriptor
|
|
12
|
-
from google.protobuf import message as _message
|
|
13
|
-
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
14
|
-
|
|
15
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
16
|
-
|
|
17
|
-
class Phase(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
18
|
-
__slots__ = []
|
|
19
|
-
PHASE_UNSPECIFIED: _ClassVar[Phase]
|
|
20
|
-
PHASE_QUEUED: _ClassVar[Phase]
|
|
21
|
-
PHASE_WAITING_FOR_RESOURCES: _ClassVar[Phase]
|
|
22
|
-
PHASE_INITIALIZING: _ClassVar[Phase]
|
|
23
|
-
PHASE_RUNNING: _ClassVar[Phase]
|
|
24
|
-
PHASE_SUCCEEDED: _ClassVar[Phase]
|
|
25
|
-
PHASE_FAILED: _ClassVar[Phase]
|
|
26
|
-
PHASE_ABORTED: _ClassVar[Phase]
|
|
27
|
-
PHASE_TIMED_OUT: _ClassVar[Phase]
|
|
28
|
-
PHASE_UNSPECIFIED: Phase
|
|
29
|
-
PHASE_QUEUED: Phase
|
|
30
|
-
PHASE_WAITING_FOR_RESOURCES: Phase
|
|
31
|
-
PHASE_INITIALIZING: Phase
|
|
32
|
-
PHASE_RUNNING: Phase
|
|
33
|
-
PHASE_SUCCEEDED: Phase
|
|
34
|
-
PHASE_FAILED: Phase
|
|
35
|
-
PHASE_ABORTED: Phase
|
|
36
|
-
PHASE_TIMED_OUT: Phase
|
|
37
|
-
|
|
38
|
-
class RunIdentifier(_message.Message):
|
|
39
|
-
__slots__ = ["org", "project", "domain", "name"]
|
|
40
|
-
ORG_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
-
PROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
-
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
-
org: str
|
|
45
|
-
project: str
|
|
46
|
-
domain: str
|
|
47
|
-
name: str
|
|
48
|
-
def __init__(self, org: _Optional[str] = ..., project: _Optional[str] = ..., domain: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
|
|
49
|
-
|
|
50
|
-
class Labels(_message.Message):
|
|
51
|
-
__slots__ = ["values"]
|
|
52
|
-
class ValuesEntry(_message.Message):
|
|
53
|
-
__slots__ = ["key", "value"]
|
|
54
|
-
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
-
key: str
|
|
57
|
-
value: str
|
|
58
|
-
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
59
|
-
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
-
values: _containers.ScalarMap[str, str]
|
|
61
|
-
def __init__(self, values: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
62
|
-
|
|
63
|
-
class Annotations(_message.Message):
|
|
64
|
-
__slots__ = ["values"]
|
|
65
|
-
class ValuesEntry(_message.Message):
|
|
66
|
-
__slots__ = ["key", "value"]
|
|
67
|
-
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
-
key: str
|
|
70
|
-
value: str
|
|
71
|
-
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
72
|
-
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
-
values: _containers.ScalarMap[str, str]
|
|
74
|
-
def __init__(self, values: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
75
|
-
|
|
76
|
-
class Envs(_message.Message):
|
|
77
|
-
__slots__ = ["values"]
|
|
78
|
-
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
-
values: _containers.RepeatedCompositeFieldContainer[_literals_pb2.KeyValuePair]
|
|
80
|
-
def __init__(self, values: _Optional[_Iterable[_Union[_literals_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ...
|
|
81
|
-
|
|
82
|
-
class RunSpec(_message.Message):
|
|
83
|
-
__slots__ = ["labels", "annotations", "envs", "interruptible", "overwrite_cache"]
|
|
84
|
-
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
-
ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
-
ENVS_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
-
INTERRUPTIBLE_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
-
OVERWRITE_CACHE_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
-
labels: Labels
|
|
90
|
-
annotations: Annotations
|
|
91
|
-
envs: Envs
|
|
92
|
-
interruptible: _wrappers_pb2.BoolValue
|
|
93
|
-
overwrite_cache: bool
|
|
94
|
-
def __init__(self, labels: _Optional[_Union[Labels, _Mapping]] = ..., annotations: _Optional[_Union[Annotations, _Mapping]] = ..., envs: _Optional[_Union[Envs, _Mapping]] = ..., interruptible: _Optional[_Union[_wrappers_pb2.BoolValue, _Mapping]] = ..., overwrite_cache: bool = ...) -> None: ...
|
|
95
|
-
|
|
96
|
-
class Run(_message.Message):
|
|
97
|
-
__slots__ = ["action"]
|
|
98
|
-
ACTION_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
-
action: Action
|
|
100
|
-
def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ...) -> None: ...
|
|
101
|
-
|
|
102
|
-
class RunDetails(_message.Message):
|
|
103
|
-
__slots__ = ["run_spec", "action"]
|
|
104
|
-
RUN_SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
105
|
-
ACTION_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
-
run_spec: RunSpec
|
|
107
|
-
action: ActionDetails
|
|
108
|
-
def __init__(self, run_spec: _Optional[_Union[RunSpec, _Mapping]] = ..., action: _Optional[_Union[ActionDetails, _Mapping]] = ...) -> None: ...
|
|
109
|
-
|
|
110
|
-
class ActionIdentifier(_message.Message):
|
|
111
|
-
__slots__ = ["run", "name"]
|
|
112
|
-
RUN_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
-
run: RunIdentifier
|
|
115
|
-
name: str
|
|
116
|
-
def __init__(self, run: _Optional[_Union[RunIdentifier, _Mapping]] = ..., name: _Optional[str] = ...) -> None: ...
|
|
117
|
-
|
|
118
|
-
class TaskActionMetadata(_message.Message):
|
|
119
|
-
__slots__ = ["id", "task_type"]
|
|
120
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
-
TASK_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
-
id: _task_definition_pb2.TaskIdentifier
|
|
123
|
-
task_type: str
|
|
124
|
-
def __init__(self, id: _Optional[_Union[_task_definition_pb2.TaskIdentifier, _Mapping]] = ..., task_type: _Optional[str] = ...) -> None: ...
|
|
125
|
-
|
|
126
|
-
class TraceActionMetadata(_message.Message):
|
|
127
|
-
__slots__ = ["name"]
|
|
128
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
-
name: str
|
|
130
|
-
def __init__(self, name: _Optional[str] = ...) -> None: ...
|
|
131
|
-
|
|
132
|
-
class ConditionActionMetadata(_message.Message):
|
|
133
|
-
__slots__ = ["name", "run_id", "action_id"]
|
|
134
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
135
|
-
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
-
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
-
GLOBAL_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
-
name: str
|
|
139
|
-
run_id: str
|
|
140
|
-
action_id: str
|
|
141
|
-
def __init__(self, name: _Optional[str] = ..., run_id: _Optional[str] = ..., action_id: _Optional[str] = ..., **kwargs) -> None: ...
|
|
142
|
-
|
|
143
|
-
class ActionMetadata(_message.Message):
|
|
144
|
-
__slots__ = ["parent", "group", "executed_by", "task", "trace", "condition"]
|
|
145
|
-
PARENT_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
-
GROUP_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
-
EXECUTED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
-
TASK_FIELD_NUMBER: _ClassVar[int]
|
|
149
|
-
TRACE_FIELD_NUMBER: _ClassVar[int]
|
|
150
|
-
CONDITION_FIELD_NUMBER: _ClassVar[int]
|
|
151
|
-
parent: str
|
|
152
|
-
group: str
|
|
153
|
-
executed_by: _identity_pb2.EnrichedIdentity
|
|
154
|
-
task: TaskActionMetadata
|
|
155
|
-
trace: TraceActionMetadata
|
|
156
|
-
condition: ConditionActionMetadata
|
|
157
|
-
def __init__(self, parent: _Optional[str] = ..., group: _Optional[str] = ..., executed_by: _Optional[_Union[_identity_pb2.EnrichedIdentity, _Mapping]] = ..., task: _Optional[_Union[TaskActionMetadata, _Mapping]] = ..., trace: _Optional[_Union[TraceActionMetadata, _Mapping]] = ..., condition: _Optional[_Union[ConditionActionMetadata, _Mapping]] = ...) -> None: ...
|
|
158
|
-
|
|
159
|
-
class ActionStatus(_message.Message):
|
|
160
|
-
__slots__ = ["phase", "start_time", "end_time", "attempts"]
|
|
161
|
-
PHASE_FIELD_NUMBER: _ClassVar[int]
|
|
162
|
-
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
163
|
-
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
164
|
-
ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
|
|
165
|
-
phase: Phase
|
|
166
|
-
start_time: _timestamp_pb2.Timestamp
|
|
167
|
-
end_time: _timestamp_pb2.Timestamp
|
|
168
|
-
attempts: int
|
|
169
|
-
def __init__(self, phase: _Optional[_Union[Phase, str]] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., attempts: _Optional[int] = ...) -> None: ...
|
|
170
|
-
|
|
171
|
-
class Action(_message.Message):
|
|
172
|
-
__slots__ = ["id", "metadata", "status"]
|
|
173
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
-
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
-
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
-
id: ActionIdentifier
|
|
177
|
-
metadata: ActionMetadata
|
|
178
|
-
status: ActionStatus
|
|
179
|
-
def __init__(self, id: _Optional[_Union[ActionIdentifier, _Mapping]] = ..., metadata: _Optional[_Union[ActionMetadata, _Mapping]] = ..., status: _Optional[_Union[ActionStatus, _Mapping]] = ...) -> None: ...
|
|
180
|
-
|
|
181
|
-
class EnrichedAction(_message.Message):
|
|
182
|
-
__slots__ = ["action", "meets_filter", "children_phase_counts"]
|
|
183
|
-
class ChildrenPhaseCountsEntry(_message.Message):
|
|
184
|
-
__slots__ = ["key", "value"]
|
|
185
|
-
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
186
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
187
|
-
key: int
|
|
188
|
-
value: int
|
|
189
|
-
def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ...
|
|
190
|
-
ACTION_FIELD_NUMBER: _ClassVar[int]
|
|
191
|
-
MEETS_FILTER_FIELD_NUMBER: _ClassVar[int]
|
|
192
|
-
CHILDREN_PHASE_COUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
193
|
-
action: Action
|
|
194
|
-
meets_filter: bool
|
|
195
|
-
children_phase_counts: _containers.ScalarMap[int, int]
|
|
196
|
-
def __init__(self, action: _Optional[_Union[Action, _Mapping]] = ..., meets_filter: bool = ..., children_phase_counts: _Optional[_Mapping[int, int]] = ...) -> None: ...
|
|
197
|
-
|
|
198
|
-
class ErrorInfo(_message.Message):
|
|
199
|
-
__slots__ = ["message", "kind"]
|
|
200
|
-
class Kind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
201
|
-
__slots__ = []
|
|
202
|
-
KIND_UNSPECIFIED: _ClassVar[ErrorInfo.Kind]
|
|
203
|
-
KIND_USER: _ClassVar[ErrorInfo.Kind]
|
|
204
|
-
KIND_SYSTEM: _ClassVar[ErrorInfo.Kind]
|
|
205
|
-
KIND_UNSPECIFIED: ErrorInfo.Kind
|
|
206
|
-
KIND_USER: ErrorInfo.Kind
|
|
207
|
-
KIND_SYSTEM: ErrorInfo.Kind
|
|
208
|
-
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
209
|
-
KIND_FIELD_NUMBER: _ClassVar[int]
|
|
210
|
-
message: str
|
|
211
|
-
kind: ErrorInfo.Kind
|
|
212
|
-
def __init__(self, message: _Optional[str] = ..., kind: _Optional[_Union[ErrorInfo.Kind, str]] = ...) -> None: ...
|
|
213
|
-
|
|
214
|
-
class AbortInfo(_message.Message):
|
|
215
|
-
__slots__ = ["reason", "aborted_by"]
|
|
216
|
-
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
217
|
-
ABORTED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
218
|
-
reason: str
|
|
219
|
-
aborted_by: _identity_pb2.EnrichedIdentity
|
|
220
|
-
def __init__(self, reason: _Optional[str] = ..., aborted_by: _Optional[_Union[_identity_pb2.EnrichedIdentity, _Mapping]] = ...) -> None: ...
|
|
221
|
-
|
|
222
|
-
class ActionDetails(_message.Message):
|
|
223
|
-
__slots__ = ["id", "metadata", "status", "error_info", "abort_info", "resolved_task_spec", "attempts"]
|
|
224
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
225
|
-
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
226
|
-
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
227
|
-
ERROR_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
228
|
-
ABORT_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
229
|
-
RESOLVED_TASK_SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
230
|
-
ATTEMPTS_FIELD_NUMBER: _ClassVar[int]
|
|
231
|
-
id: ActionIdentifier
|
|
232
|
-
metadata: ActionMetadata
|
|
233
|
-
status: ActionStatus
|
|
234
|
-
error_info: ErrorInfo
|
|
235
|
-
abort_info: AbortInfo
|
|
236
|
-
resolved_task_spec: _task_definition_pb2.TaskSpec
|
|
237
|
-
attempts: _containers.RepeatedCompositeFieldContainer[ActionAttempt]
|
|
238
|
-
def __init__(self, id: _Optional[_Union[ActionIdentifier, _Mapping]] = ..., metadata: _Optional[_Union[ActionMetadata, _Mapping]] = ..., status: _Optional[_Union[ActionStatus, _Mapping]] = ..., error_info: _Optional[_Union[ErrorInfo, _Mapping]] = ..., abort_info: _Optional[_Union[AbortInfo, _Mapping]] = ..., resolved_task_spec: _Optional[_Union[_task_definition_pb2.TaskSpec, _Mapping]] = ..., attempts: _Optional[_Iterable[_Union[ActionAttempt, _Mapping]]] = ...) -> None: ...
|
|
239
|
-
|
|
240
|
-
class ActionAttempt(_message.Message):
|
|
241
|
-
__slots__ = ["phase", "start_time", "end_time", "error_info", "attempt", "log_info", "outputs"]
|
|
242
|
-
PHASE_FIELD_NUMBER: _ClassVar[int]
|
|
243
|
-
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
244
|
-
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
245
|
-
ERROR_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
246
|
-
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
247
|
-
LOG_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
248
|
-
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
249
|
-
phase: Phase
|
|
250
|
-
start_time: _timestamp_pb2.Timestamp
|
|
251
|
-
end_time: _timestamp_pb2.Timestamp
|
|
252
|
-
error_info: ErrorInfo
|
|
253
|
-
attempt: int
|
|
254
|
-
log_info: _containers.RepeatedCompositeFieldContainer[_execution_pb2.TaskLog]
|
|
255
|
-
outputs: OutputReferences
|
|
256
|
-
def __init__(self, phase: _Optional[_Union[Phase, str]] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., error_info: _Optional[_Union[ErrorInfo, _Mapping]] = ..., attempt: _Optional[int] = ..., log_info: _Optional[_Iterable[_Union[_execution_pb2.TaskLog, _Mapping]]] = ..., outputs: _Optional[_Union[OutputReferences, _Mapping]] = ...) -> None: ...
|
|
257
|
-
|
|
258
|
-
class ActionEvent(_message.Message):
|
|
259
|
-
__slots__ = ["id", "attempt", "phase", "version", "start_time", "updated_time", "end_time", "error_info", "log_info", "log_context", "cluster", "outputs"]
|
|
260
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
261
|
-
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
262
|
-
PHASE_FIELD_NUMBER: _ClassVar[int]
|
|
263
|
-
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
264
|
-
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
265
|
-
UPDATED_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
266
|
-
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
267
|
-
ERROR_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
268
|
-
LOG_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
269
|
-
LOG_CONTEXT_FIELD_NUMBER: _ClassVar[int]
|
|
270
|
-
CLUSTER_FIELD_NUMBER: _ClassVar[int]
|
|
271
|
-
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
272
|
-
id: ActionIdentifier
|
|
273
|
-
attempt: int
|
|
274
|
-
phase: Phase
|
|
275
|
-
version: int
|
|
276
|
-
start_time: _timestamp_pb2.Timestamp
|
|
277
|
-
updated_time: _timestamp_pb2.Timestamp
|
|
278
|
-
end_time: _timestamp_pb2.Timestamp
|
|
279
|
-
error_info: ErrorInfo
|
|
280
|
-
log_info: _containers.RepeatedCompositeFieldContainer[_execution_pb2.TaskLog]
|
|
281
|
-
log_context: _execution_pb2.LogContext
|
|
282
|
-
cluster: str
|
|
283
|
-
outputs: OutputReferences
|
|
284
|
-
def __init__(self, id: _Optional[_Union[ActionIdentifier, _Mapping]] = ..., attempt: _Optional[int] = ..., phase: _Optional[_Union[Phase, str]] = ..., version: _Optional[int] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., error_info: _Optional[_Union[ErrorInfo, _Mapping]] = ..., log_info: _Optional[_Iterable[_Union[_execution_pb2.TaskLog, _Mapping]]] = ..., log_context: _Optional[_Union[_execution_pb2.LogContext, _Mapping]] = ..., cluster: _Optional[str] = ..., outputs: _Optional[_Union[OutputReferences, _Mapping]] = ...) -> None: ...
|
|
285
|
-
|
|
286
|
-
class NamedLiteral(_message.Message):
|
|
287
|
-
__slots__ = ["name", "value"]
|
|
288
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
289
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
290
|
-
name: str
|
|
291
|
-
value: _literals_pb2.Literal
|
|
292
|
-
def __init__(self, name: _Optional[str] = ..., value: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ...) -> None: ...
|
|
293
|
-
|
|
294
|
-
class OutputReferences(_message.Message):
|
|
295
|
-
__slots__ = ["output_uri"]
|
|
296
|
-
OUTPUT_URI_FIELD_NUMBER: _ClassVar[int]
|
|
297
|
-
output_uri: str
|
|
298
|
-
def __init__(self, output_uri: _Optional[str] = ...) -> None: ...
|
|
299
|
-
|
|
300
|
-
class Inputs(_message.Message):
|
|
301
|
-
__slots__ = ["literals"]
|
|
302
|
-
LITERALS_FIELD_NUMBER: _ClassVar[int]
|
|
303
|
-
literals: _containers.RepeatedCompositeFieldContainer[NamedLiteral]
|
|
304
|
-
def __init__(self, literals: _Optional[_Iterable[_Union[NamedLiteral, _Mapping]]] = ...) -> None: ...
|
|
305
|
-
|
|
306
|
-
class Outputs(_message.Message):
|
|
307
|
-
__slots__ = ["literals"]
|
|
308
|
-
LITERALS_FIELD_NUMBER: _ClassVar[int]
|
|
309
|
-
literals: _containers.RepeatedCompositeFieldContainer[NamedLiteral]
|
|
310
|
-
def __init__(self, literals: _Optional[_Iterable[_Union[NamedLiteral, _Mapping]]] = ...) -> None: ...
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: workflow/run_logs_service.proto
|
|
4
|
-
"""Generated protocol buffer code."""
|
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
-
from google.protobuf.internal import builder as _builder
|
|
9
|
-
# @@protoc_insertion_point(imports)
|
|
10
|
-
|
|
11
|
-
_sym_db = _symbol_database.Default()
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
from flyte._protos.logs.dataplane import payload_pb2 as logs_dot_dataplane_dot_payload__pb2
|
|
15
|
-
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
16
|
-
from flyte._protos.workflow import run_definition_pb2 as workflow_dot_run__definition__pb2
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fworkflow/run_logs_service.proto\x12\x11\x63loudidl.workflow\x1a\x1clogs/dataplane/payload.proto\x1a\x17validate/validate.proto\x1a\x1dworkflow/run_definition.proto\"\x80\x01\n\x0fTailLogsRequest\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\x07\x61ttempt\x18\x02 \x01(\rB\x07\xfa\x42\x04*\x02 \x00R\x07\x61ttempt\"\x90\x01\n\x10TailLogsResponse\x12<\n\x04logs\x18\x01 \x03(\x0b\x32(.cloudidl.workflow.TailLogsResponse.LogsR\x04logs\x1a>\n\x04Logs\x12\x36\n\x05lines\x18\x01 \x03(\x0b\x32 .cloudidl.logs.dataplane.LogLineR\x05lines2l\n\x0eRunLogsService\x12Z\n\x08TailLogs\x12\".cloudidl.workflow.TailLogsRequest\x1a#.cloudidl.workflow.TailLogsResponse\"\x03\x90\x02\x01\x30\x01\x42\xc0\x01\n\x15\x63om.cloudidl.workflowB\x13RunLogsServiceProtoH\x02P\x01Z+github.com/unionai/cloud/gen/pb-go/workflow\xa2\x02\x03\x43WX\xaa\x02\x11\x43loudidl.Workflow\xca\x02\x11\x43loudidl\\Workflow\xe2\x02\x1d\x43loudidl\\Workflow\\GPBMetadata\xea\x02\x12\x43loudidl::Workflowb\x06proto3')
|
|
20
|
-
|
|
21
|
-
_globals = globals()
|
|
22
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.run_logs_service_pb2', _globals)
|
|
24
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
-
DESCRIPTOR._options = None
|
|
26
|
-
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\023RunLogsServiceProtoH\002P\001Z+github.com/unionai/cloud/gen/pb-go/workflow\242\002\003CWX\252\002\021Cloudidl.Workflow\312\002\021Cloudidl\\Workflow\342\002\035Cloudidl\\Workflow\\GPBMetadata\352\002\022Cloudidl::Workflow'
|
|
27
|
-
_TAILLOGSREQUEST.fields_by_name['action_id']._options = None
|
|
28
|
-
_TAILLOGSREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
29
|
-
_TAILLOGSREQUEST.fields_by_name['attempt']._options = None
|
|
30
|
-
_TAILLOGSREQUEST.fields_by_name['attempt']._serialized_options = b'\372B\004*\002 \000'
|
|
31
|
-
_RUNLOGSSERVICE.methods_by_name['TailLogs']._options = None
|
|
32
|
-
_RUNLOGSSERVICE.methods_by_name['TailLogs']._serialized_options = b'\220\002\001'
|
|
33
|
-
_globals['_TAILLOGSREQUEST']._serialized_start=141
|
|
34
|
-
_globals['_TAILLOGSREQUEST']._serialized_end=269
|
|
35
|
-
_globals['_TAILLOGSRESPONSE']._serialized_start=272
|
|
36
|
-
_globals['_TAILLOGSRESPONSE']._serialized_end=416
|
|
37
|
-
_globals['_TAILLOGSRESPONSE_LOGS']._serialized_start=354
|
|
38
|
-
_globals['_TAILLOGSRESPONSE_LOGS']._serialized_end=416
|
|
39
|
-
_globals['_RUNLOGSSERVICE']._serialized_start=418
|
|
40
|
-
_globals['_RUNLOGSSERVICE']._serialized_end=526
|
|
41
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
from flyte._protos.logs.dataplane import payload_pb2 as _payload_pb2
|
|
2
|
-
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
3
|
-
from flyte._protos.workflow import run_definition_pb2 as _run_definition_pb2
|
|
4
|
-
from google.protobuf.internal import containers as _containers
|
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import message as _message
|
|
7
|
-
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
8
|
-
|
|
9
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
-
|
|
11
|
-
class TailLogsRequest(_message.Message):
|
|
12
|
-
__slots__ = ["action_id", "attempt"]
|
|
13
|
-
ACTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
-
ATTEMPT_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
-
action_id: _run_definition_pb2.ActionIdentifier
|
|
16
|
-
attempt: int
|
|
17
|
-
def __init__(self, action_id: _Optional[_Union[_run_definition_pb2.ActionIdentifier, _Mapping]] = ..., attempt: _Optional[int] = ...) -> None: ...
|
|
18
|
-
|
|
19
|
-
class TailLogsResponse(_message.Message):
|
|
20
|
-
__slots__ = ["logs"]
|
|
21
|
-
class Logs(_message.Message):
|
|
22
|
-
__slots__ = ["lines"]
|
|
23
|
-
LINES_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
-
lines: _containers.RepeatedCompositeFieldContainer[_payload_pb2.LogLine]
|
|
25
|
-
def __init__(self, lines: _Optional[_Iterable[_Union[_payload_pb2.LogLine, _Mapping]]] = ...) -> None: ...
|
|
26
|
-
LOGS_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
-
logs: _containers.RepeatedCompositeFieldContainer[TailLogsResponse.Logs]
|
|
28
|
-
def __init__(self, logs: _Optional[_Iterable[_Union[TailLogsResponse.Logs, _Mapping]]] = ...) -> None: ...
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
-
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
-
import grpc
|
|
4
|
-
|
|
5
|
-
from flyte._protos.workflow import run_logs_service_pb2 as workflow_dot_run__logs__service__pb2
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class RunLogsServiceStub(object):
|
|
9
|
-
"""RunLogsService provides an interface for streaming logs.
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
def __init__(self, channel):
|
|
13
|
-
"""Constructor.
|
|
14
|
-
|
|
15
|
-
Args:
|
|
16
|
-
channel: A grpc.Channel.
|
|
17
|
-
"""
|
|
18
|
-
self.TailLogs = channel.unary_stream(
|
|
19
|
-
'/cloudidl.workflow.RunLogsService/TailLogs',
|
|
20
|
-
request_serializer=workflow_dot_run__logs__service__pb2.TailLogsRequest.SerializeToString,
|
|
21
|
-
response_deserializer=workflow_dot_run__logs__service__pb2.TailLogsResponse.FromString,
|
|
22
|
-
)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class RunLogsServiceServicer(object):
|
|
26
|
-
"""RunLogsService provides an interface for streaming logs.
|
|
27
|
-
"""
|
|
28
|
-
|
|
29
|
-
def TailLogs(self, request, context):
|
|
30
|
-
"""Missing associated documentation comment in .proto file."""
|
|
31
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
32
|
-
context.set_details('Method not implemented!')
|
|
33
|
-
raise NotImplementedError('Method not implemented!')
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
def add_RunLogsServiceServicer_to_server(servicer, server):
|
|
37
|
-
rpc_method_handlers = {
|
|
38
|
-
'TailLogs': grpc.unary_stream_rpc_method_handler(
|
|
39
|
-
servicer.TailLogs,
|
|
40
|
-
request_deserializer=workflow_dot_run__logs__service__pb2.TailLogsRequest.FromString,
|
|
41
|
-
response_serializer=workflow_dot_run__logs__service__pb2.TailLogsResponse.SerializeToString,
|
|
42
|
-
),
|
|
43
|
-
}
|
|
44
|
-
generic_handler = grpc.method_handlers_generic_handler(
|
|
45
|
-
'cloudidl.workflow.RunLogsService', rpc_method_handlers)
|
|
46
|
-
server.add_generic_rpc_handlers((generic_handler,))
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
# This class is part of an EXPERIMENTAL API.
|
|
50
|
-
class RunLogsService(object):
|
|
51
|
-
"""RunLogsService provides an interface for streaming logs.
|
|
52
|
-
"""
|
|
53
|
-
|
|
54
|
-
@staticmethod
|
|
55
|
-
def TailLogs(request,
|
|
56
|
-
target,
|
|
57
|
-
options=(),
|
|
58
|
-
channel_credentials=None,
|
|
59
|
-
call_credentials=None,
|
|
60
|
-
insecure=False,
|
|
61
|
-
compression=None,
|
|
62
|
-
wait_for_ready=None,
|
|
63
|
-
timeout=None,
|
|
64
|
-
metadata=None):
|
|
65
|
-
return grpc.experimental.unary_stream(request, target, '/cloudidl.workflow.RunLogsService/TailLogs',
|
|
66
|
-
workflow_dot_run__logs__service__pb2.TailLogsRequest.SerializeToString,
|
|
67
|
-
workflow_dot_run__logs__service__pb2.TailLogsResponse.FromString,
|
|
68
|
-
options, channel_credentials,
|
|
69
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -1,133 +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\"\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\"\xde\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\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\x10\n\tfilter_by\x12\x03\xf8\x42\x01\"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
|
-
|
|
23
|
-
_globals = globals()
|
|
24
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
25
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.run_service_pb2', _globals)
|
|
26
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
|
-
DESCRIPTOR._options = None
|
|
28
|
-
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\017RunServiceProtoH\002P\001Z+github.com/unionai/cloud/gen/pb-go/workflow\242\002\003CWX\252\002\021Cloudidl.Workflow\312\002\021Cloudidl\\Workflow\342\002\035Cloudidl\\Workflow\\GPBMetadata\352\002\022Cloudidl::Workflow'
|
|
29
|
-
_CREATERUNREQUEST.oneofs_by_name['id']._options = None
|
|
30
|
-
_CREATERUNREQUEST.oneofs_by_name['id']._serialized_options = b'\370B\001'
|
|
31
|
-
_CREATERUNREQUEST.oneofs_by_name['task']._options = None
|
|
32
|
-
_CREATERUNREQUEST.oneofs_by_name['task']._serialized_options = b'\370B\001'
|
|
33
|
-
_CREATERUNREQUEST.fields_by_name['run_id']._options = None
|
|
34
|
-
_CREATERUNREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
35
|
-
_CREATERUNREQUEST.fields_by_name['project_id']._options = None
|
|
36
|
-
_CREATERUNREQUEST.fields_by_name['project_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
37
|
-
_CREATERUNREQUEST.fields_by_name['task_id']._options = None
|
|
38
|
-
_CREATERUNREQUEST.fields_by_name['task_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
39
|
-
_CREATERUNREQUEST.fields_by_name['task_spec']._options = None
|
|
40
|
-
_CREATERUNREQUEST.fields_by_name['task_spec']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
41
|
-
_ABORTRUNREQUEST.fields_by_name['run_id']._options = None
|
|
42
|
-
_ABORTRUNREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
43
|
-
_GETRUNDETAILSREQUEST.fields_by_name['run_id']._options = None
|
|
44
|
-
_GETRUNDETAILSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
45
|
-
_WATCHRUNDETAILSREQUEST.fields_by_name['run_id']._options = None
|
|
46
|
-
_WATCHRUNDETAILSREQUEST.fields_by_name['run_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
47
|
-
_GETACTIONDETAILSREQUEST.fields_by_name['action_id']._options = None
|
|
48
|
-
_GETACTIONDETAILSREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
49
|
-
_WATCHACTIONDETAILSREQUEST.fields_by_name['action_id']._options = None
|
|
50
|
-
_WATCHACTIONDETAILSREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
51
|
-
_GETACTIONDATAREQUEST.fields_by_name['action_id']._options = None
|
|
52
|
-
_GETACTIONDATAREQUEST.fields_by_name['action_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
53
|
-
_LISTRUNSREQUEST.oneofs_by_name['filter_by']._options = None
|
|
54
|
-
_LISTRUNSREQUEST.oneofs_by_name['filter_by']._serialized_options = b'\370B\001'
|
|
55
|
-
_LISTRUNSREQUEST.fields_by_name['org']._options = None
|
|
56
|
-
_LISTRUNSREQUEST.fields_by_name['org']._serialized_options = b'\372B\004r\002\020\001'
|
|
57
|
-
_LISTRUNSREQUEST.fields_by_name['cluster_id']._options = None
|
|
58
|
-
_LISTRUNSREQUEST.fields_by_name['cluster_id']._serialized_options = b'\372B\005\212\001\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['task_id']._options = None
|
|
62
|
-
_LISTRUNSREQUEST.fields_by_name['task_id']._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
|
-
_RUNSERVICE.methods_by_name['GetRunDetails']._options = None
|
|
78
|
-
_RUNSERVICE.methods_by_name['GetRunDetails']._serialized_options = b'\220\002\001'
|
|
79
|
-
_RUNSERVICE.methods_by_name['GetActionDetails']._options = None
|
|
80
|
-
_RUNSERVICE.methods_by_name['GetActionDetails']._serialized_options = b'\220\002\001'
|
|
81
|
-
_RUNSERVICE.methods_by_name['GetActionData']._options = None
|
|
82
|
-
_RUNSERVICE.methods_by_name['GetActionData']._serialized_options = b'\220\002\001'
|
|
83
|
-
_RUNSERVICE.methods_by_name['ListRuns']._options = None
|
|
84
|
-
_RUNSERVICE.methods_by_name['ListRuns']._serialized_options = b'\220\002\001'
|
|
85
|
-
_RUNSERVICE.methods_by_name['ListActions']._options = None
|
|
86
|
-
_RUNSERVICE.methods_by_name['ListActions']._serialized_options = b'\220\002\001'
|
|
87
|
-
_globals['_CREATERUNREQUEST']._serialized_start=182
|
|
88
|
-
_globals['_CREATERUNREQUEST']._serialized_end=620
|
|
89
|
-
_globals['_CREATERUNRESPONSE']._serialized_start=622
|
|
90
|
-
_globals['_CREATERUNRESPONSE']._serialized_end=683
|
|
91
|
-
_globals['_ABORTRUNREQUEST']._serialized_start=685
|
|
92
|
-
_globals['_ABORTRUNREQUEST']._serialized_end=769
|
|
93
|
-
_globals['_ABORTRUNRESPONSE']._serialized_start=771
|
|
94
|
-
_globals['_ABORTRUNRESPONSE']._serialized_end=789
|
|
95
|
-
_globals['_GETRUNDETAILSREQUEST']._serialized_start=791
|
|
96
|
-
_globals['_GETRUNDETAILSREQUEST']._serialized_end=880
|
|
97
|
-
_globals['_GETRUNDETAILSRESPONSE']._serialized_start=882
|
|
98
|
-
_globals['_GETRUNDETAILSRESPONSE']._serialized_end=962
|
|
99
|
-
_globals['_WATCHRUNDETAILSREQUEST']._serialized_start=964
|
|
100
|
-
_globals['_WATCHRUNDETAILSREQUEST']._serialized_end=1055
|
|
101
|
-
_globals['_WATCHRUNDETAILSRESPONSE']._serialized_start=1057
|
|
102
|
-
_globals['_WATCHRUNDETAILSRESPONSE']._serialized_end=1139
|
|
103
|
-
_globals['_GETACTIONDETAILSREQUEST']._serialized_start=1141
|
|
104
|
-
_globals['_GETACTIONDETAILSREQUEST']._serialized_end=1242
|
|
105
|
-
_globals['_GETACTIONDETAILSRESPONSE']._serialized_start=1244
|
|
106
|
-
_globals['_GETACTIONDETAILSRESPONSE']._serialized_end=1330
|
|
107
|
-
_globals['_WATCHACTIONDETAILSREQUEST']._serialized_start=1332
|
|
108
|
-
_globals['_WATCHACTIONDETAILSREQUEST']._serialized_end=1435
|
|
109
|
-
_globals['_WATCHACTIONDETAILSRESPONSE']._serialized_start=1437
|
|
110
|
-
_globals['_WATCHACTIONDETAILSRESPONSE']._serialized_end=1525
|
|
111
|
-
_globals['_GETACTIONDATAREQUEST']._serialized_start=1527
|
|
112
|
-
_globals['_GETACTIONDATAREQUEST']._serialized_end=1625
|
|
113
|
-
_globals['_GETACTIONDATARESPONSE']._serialized_start=1628
|
|
114
|
-
_globals['_GETACTIONDATARESPONSE']._serialized_end=1756
|
|
115
|
-
_globals['_LISTRUNSREQUEST']._serialized_start=1759
|
|
116
|
-
_globals['_LISTRUNSREQUEST']._serialized_end=2109
|
|
117
|
-
_globals['_LISTRUNSRESPONSE']._serialized_start=2111
|
|
118
|
-
_globals['_LISTRUNSRESPONSE']._serialized_end=2195
|
|
119
|
-
_globals['_WATCHRUNSREQUEST']._serialized_start=2198
|
|
120
|
-
_globals['_WATCHRUNSREQUEST']._serialized_end=2490
|
|
121
|
-
_globals['_WATCHRUNSRESPONSE']._serialized_start=2492
|
|
122
|
-
_globals['_WATCHRUNSRESPONSE']._serialized_end=2555
|
|
123
|
-
_globals['_LISTACTIONSREQUEST']._serialized_start=2558
|
|
124
|
-
_globals['_LISTACTIONSREQUEST']._serialized_end=2701
|
|
125
|
-
_globals['_LISTACTIONSRESPONSE']._serialized_start=2703
|
|
126
|
-
_globals['_LISTACTIONSRESPONSE']._serialized_end=2799
|
|
127
|
-
_globals['_WATCHACTIONSREQUEST']._serialized_start=2802
|
|
128
|
-
_globals['_WATCHACTIONSREQUEST']._serialized_end=2939
|
|
129
|
-
_globals['_WATCHACTIONSRESPONSE']._serialized_start=2941
|
|
130
|
-
_globals['_WATCHACTIONSRESPONSE']._serialized_end=3041
|
|
131
|
-
_globals['_RUNSERVICE']._serialized_start=3044
|
|
132
|
-
_globals['_RUNSERVICE']._serialized_end=4168
|
|
133
|
-
# @@protoc_insertion_point(module_scope)
|