flyte 2.0.0b23__py3-none-any.whl → 2.0.0b25__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flyte might be problematic. Click here for more details.
- flyte/__init__.py +11 -2
- flyte/_cache/local_cache.py +4 -3
- flyte/_code_bundle/_utils.py +3 -3
- flyte/_code_bundle/bundle.py +12 -5
- flyte/_context.py +4 -1
- flyte/_custom_context.py +73 -0
- flyte/_deploy.py +31 -7
- flyte/_image.py +48 -16
- flyte/_initialize.py +69 -26
- flyte/_internal/controllers/_local_controller.py +1 -0
- flyte/_internal/controllers/_trace.py +1 -1
- flyte/_internal/controllers/remote/_action.py +9 -10
- flyte/_internal/controllers/remote/_client.py +1 -1
- flyte/_internal/controllers/remote/_controller.py +4 -2
- flyte/_internal/controllers/remote/_core.py +10 -13
- flyte/_internal/controllers/remote/_informer.py +3 -3
- flyte/_internal/controllers/remote/_service_protocol.py +7 -7
- flyte/_internal/imagebuild/docker_builder.py +45 -59
- flyte/_internal/imagebuild/remote_builder.py +51 -11
- flyte/_internal/imagebuild/utils.py +51 -3
- flyte/_internal/runtime/convert.py +39 -18
- flyte/_internal/runtime/io.py +8 -7
- flyte/_internal/runtime/resources_serde.py +20 -6
- flyte/_internal/runtime/reuse.py +1 -1
- flyte/_internal/runtime/task_serde.py +7 -10
- flyte/_internal/runtime/taskrunner.py +10 -1
- flyte/_internal/runtime/trigger_serde.py +13 -13
- flyte/_internal/runtime/types_serde.py +1 -1
- flyte/_keyring/file.py +2 -2
- flyte/_map.py +65 -13
- flyte/_pod.py +2 -2
- flyte/_resources.py +175 -31
- flyte/_run.py +37 -21
- flyte/_task.py +27 -6
- flyte/_task_environment.py +37 -10
- flyte/_utils/module_loader.py +2 -2
- flyte/_version.py +3 -3
- flyte/cli/_common.py +47 -5
- flyte/cli/_create.py +4 -0
- flyte/cli/_deploy.py +8 -0
- flyte/cli/_get.py +4 -0
- flyte/cli/_params.py +4 -4
- flyte/cli/_run.py +50 -7
- flyte/cli/_update.py +4 -3
- flyte/config/_config.py +2 -0
- flyte/config/_internal.py +1 -0
- flyte/config/_reader.py +3 -3
- flyte/errors.py +1 -1
- flyte/extend.py +4 -0
- flyte/extras/_container.py +6 -1
- flyte/git/_config.py +11 -9
- flyte/io/_dataframe/basic_dfs.py +1 -1
- flyte/io/_dataframe/dataframe.py +12 -8
- flyte/io/_dir.py +48 -15
- flyte/io/_file.py +48 -11
- flyte/models.py +12 -8
- flyte/remote/_action.py +18 -16
- flyte/remote/_client/_protocols.py +4 -3
- flyte/remote/_client/auth/_channel.py +1 -1
- flyte/remote/_client/controlplane.py +4 -8
- flyte/remote/_data.py +4 -3
- flyte/remote/_logs.py +3 -3
- flyte/remote/_run.py +5 -5
- flyte/remote/_secret.py +20 -13
- flyte/remote/_task.py +7 -8
- flyte/remote/_trigger.py +25 -27
- flyte/storage/_parallel_reader.py +274 -0
- flyte/storage/_storage.py +66 -2
- flyte/types/_interface.py +2 -2
- flyte/types/_pickle.py +1 -1
- flyte/types/_string_literals.py +8 -9
- flyte/types/_type_engine.py +25 -17
- flyte/types/_utils.py +1 -1
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/METADATA +2 -1
- flyte-2.0.0b25.dist-info/RECORD +184 -0
- flyte/_protos/__init__.py +0 -0
- flyte/_protos/common/authorization_pb2.py +0 -66
- flyte/_protos/common/authorization_pb2.pyi +0 -108
- flyte/_protos/common/authorization_pb2_grpc.py +0 -4
- flyte/_protos/common/identifier_pb2.py +0 -117
- flyte/_protos/common/identifier_pb2.pyi +0 -142
- flyte/_protos/common/identifier_pb2_grpc.py +0 -4
- flyte/_protos/common/identity_pb2.py +0 -48
- flyte/_protos/common/identity_pb2.pyi +0 -72
- flyte/_protos/common/identity_pb2_grpc.py +0 -4
- flyte/_protos/common/list_pb2.py +0 -36
- flyte/_protos/common/list_pb2.pyi +0 -71
- flyte/_protos/common/list_pb2_grpc.py +0 -4
- flyte/_protos/common/policy_pb2.py +0 -37
- flyte/_protos/common/policy_pb2.pyi +0 -27
- flyte/_protos/common/policy_pb2_grpc.py +0 -4
- flyte/_protos/common/role_pb2.py +0 -37
- flyte/_protos/common/role_pb2.pyi +0 -53
- flyte/_protos/common/role_pb2_grpc.py +0 -4
- flyte/_protos/common/runtime_version_pb2.py +0 -28
- flyte/_protos/common/runtime_version_pb2.pyi +0 -24
- flyte/_protos/common/runtime_version_pb2_grpc.py +0 -4
- flyte/_protos/imagebuilder/definition_pb2.py +0 -60
- flyte/_protos/imagebuilder/definition_pb2.pyi +0 -153
- flyte/_protos/imagebuilder/definition_pb2_grpc.py +0 -4
- flyte/_protos/imagebuilder/payload_pb2.py +0 -32
- flyte/_protos/imagebuilder/payload_pb2.pyi +0 -21
- flyte/_protos/imagebuilder/payload_pb2_grpc.py +0 -4
- flyte/_protos/imagebuilder/service_pb2.py +0 -29
- flyte/_protos/imagebuilder/service_pb2.pyi +0 -5
- flyte/_protos/imagebuilder/service_pb2_grpc.py +0 -66
- flyte/_protos/logs/dataplane/payload_pb2.py +0 -100
- flyte/_protos/logs/dataplane/payload_pb2.pyi +0 -177
- flyte/_protos/logs/dataplane/payload_pb2_grpc.py +0 -4
- flyte/_protos/secret/definition_pb2.py +0 -49
- flyte/_protos/secret/definition_pb2.pyi +0 -93
- flyte/_protos/secret/definition_pb2_grpc.py +0 -4
- flyte/_protos/secret/payload_pb2.py +0 -62
- flyte/_protos/secret/payload_pb2.pyi +0 -94
- flyte/_protos/secret/payload_pb2_grpc.py +0 -4
- flyte/_protos/secret/secret_pb2.py +0 -38
- flyte/_protos/secret/secret_pb2.pyi +0 -6
- flyte/_protos/secret/secret_pb2_grpc.py +0 -198
- flyte/_protos/validate/validate/validate_pb2.py +0 -76
- flyte/_protos/workflow/common_pb2.py +0 -38
- flyte/_protos/workflow/common_pb2.pyi +0 -63
- flyte/_protos/workflow/common_pb2_grpc.py +0 -4
- flyte/_protos/workflow/environment_pb2.py +0 -29
- flyte/_protos/workflow/environment_pb2.pyi +0 -12
- flyte/_protos/workflow/environment_pb2_grpc.py +0 -4
- flyte/_protos/workflow/node_execution_service_pb2.py +0 -26
- flyte/_protos/workflow/node_execution_service_pb2.pyi +0 -4
- flyte/_protos/workflow/node_execution_service_pb2_grpc.py +0 -32
- flyte/_protos/workflow/queue_service_pb2.py +0 -117
- flyte/_protos/workflow/queue_service_pb2.pyi +0 -182
- flyte/_protos/workflow/queue_service_pb2_grpc.py +0 -206
- flyte/_protos/workflow/run_definition_pb2.py +0 -123
- flyte/_protos/workflow/run_definition_pb2.pyi +0 -354
- flyte/_protos/workflow/run_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/run_logs_service_pb2.py +0 -41
- flyte/_protos/workflow/run_logs_service_pb2.pyi +0 -28
- flyte/_protos/workflow/run_logs_service_pb2_grpc.py +0 -69
- flyte/_protos/workflow/run_service_pb2.py +0 -147
- flyte/_protos/workflow/run_service_pb2.pyi +0 -203
- flyte/_protos/workflow/run_service_pb2_grpc.py +0 -480
- flyte/_protos/workflow/state_service_pb2.py +0 -67
- flyte/_protos/workflow/state_service_pb2.pyi +0 -76
- flyte/_protos/workflow/state_service_pb2_grpc.py +0 -138
- flyte/_protos/workflow/task_definition_pb2.py +0 -86
- flyte/_protos/workflow/task_definition_pb2.pyi +0 -105
- flyte/_protos/workflow/task_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/task_service_pb2.py +0 -61
- flyte/_protos/workflow/task_service_pb2.pyi +0 -62
- flyte/_protos/workflow/task_service_pb2_grpc.py +0 -138
- flyte/_protos/workflow/trigger_definition_pb2.py +0 -66
- flyte/_protos/workflow/trigger_definition_pb2.pyi +0 -117
- flyte/_protos/workflow/trigger_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/trigger_service_pb2.py +0 -96
- flyte/_protos/workflow/trigger_service_pb2.pyi +0 -110
- flyte/_protos/workflow/trigger_service_pb2_grpc.py +0 -281
- flyte-2.0.0b23.dist-info/RECORD +0 -262
- {flyte-2.0.0b23.data → flyte-2.0.0b25.data}/scripts/debug.py +0 -0
- {flyte-2.0.0b23.data → flyte-2.0.0b25.data}/scripts/runtime.py +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/WHEEL +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/entry_points.txt +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/licenses/LICENSE +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/top_level.txt +0 -0
|
@@ -1,198 +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.secret import payload_pb2 as secret_dot_payload__pb2
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class SecretServiceStub(object):
|
|
9
|
-
"""Missing associated documentation comment in .proto file."""
|
|
10
|
-
|
|
11
|
-
def __init__(self, channel):
|
|
12
|
-
"""Constructor.
|
|
13
|
-
|
|
14
|
-
Args:
|
|
15
|
-
channel: A grpc.Channel.
|
|
16
|
-
"""
|
|
17
|
-
self.CreateSecret = channel.unary_unary(
|
|
18
|
-
'/cloudidl.secret.SecretService/CreateSecret',
|
|
19
|
-
request_serializer=secret_dot_payload__pb2.CreateSecretRequest.SerializeToString,
|
|
20
|
-
response_deserializer=secret_dot_payload__pb2.CreateSecretResponse.FromString,
|
|
21
|
-
)
|
|
22
|
-
self.UpdateSecret = channel.unary_unary(
|
|
23
|
-
'/cloudidl.secret.SecretService/UpdateSecret',
|
|
24
|
-
request_serializer=secret_dot_payload__pb2.UpdateSecretRequest.SerializeToString,
|
|
25
|
-
response_deserializer=secret_dot_payload__pb2.UpdateSecretResponse.FromString,
|
|
26
|
-
)
|
|
27
|
-
self.GetSecret = channel.unary_unary(
|
|
28
|
-
'/cloudidl.secret.SecretService/GetSecret',
|
|
29
|
-
request_serializer=secret_dot_payload__pb2.GetSecretRequest.SerializeToString,
|
|
30
|
-
response_deserializer=secret_dot_payload__pb2.GetSecretResponse.FromString,
|
|
31
|
-
)
|
|
32
|
-
self.DeleteSecret = channel.unary_unary(
|
|
33
|
-
'/cloudidl.secret.SecretService/DeleteSecret',
|
|
34
|
-
request_serializer=secret_dot_payload__pb2.DeleteSecretRequest.SerializeToString,
|
|
35
|
-
response_deserializer=secret_dot_payload__pb2.DeleteSecretResponse.FromString,
|
|
36
|
-
)
|
|
37
|
-
self.ListSecrets = channel.unary_unary(
|
|
38
|
-
'/cloudidl.secret.SecretService/ListSecrets',
|
|
39
|
-
request_serializer=secret_dot_payload__pb2.ListSecretsRequest.SerializeToString,
|
|
40
|
-
response_deserializer=secret_dot_payload__pb2.ListSecretsResponse.FromString,
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
class SecretServiceServicer(object):
|
|
45
|
-
"""Missing associated documentation comment in .proto file."""
|
|
46
|
-
|
|
47
|
-
def CreateSecret(self, request, context):
|
|
48
|
-
"""Missing associated documentation comment in .proto file."""
|
|
49
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
50
|
-
context.set_details('Method not implemented!')
|
|
51
|
-
raise NotImplementedError('Method not implemented!')
|
|
52
|
-
|
|
53
|
-
def UpdateSecret(self, request, context):
|
|
54
|
-
"""Missing associated documentation comment in .proto file."""
|
|
55
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
|
-
context.set_details('Method not implemented!')
|
|
57
|
-
raise NotImplementedError('Method not implemented!')
|
|
58
|
-
|
|
59
|
-
def GetSecret(self, request, context):
|
|
60
|
-
"""Missing associated documentation comment in .proto file."""
|
|
61
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
62
|
-
context.set_details('Method not implemented!')
|
|
63
|
-
raise NotImplementedError('Method not implemented!')
|
|
64
|
-
|
|
65
|
-
def DeleteSecret(self, request, context):
|
|
66
|
-
"""Missing associated documentation comment in .proto file."""
|
|
67
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
68
|
-
context.set_details('Method not implemented!')
|
|
69
|
-
raise NotImplementedError('Method not implemented!')
|
|
70
|
-
|
|
71
|
-
def ListSecrets(self, request, context):
|
|
72
|
-
"""Missing associated documentation comment in .proto file."""
|
|
73
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
74
|
-
context.set_details('Method not implemented!')
|
|
75
|
-
raise NotImplementedError('Method not implemented!')
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
def add_SecretServiceServicer_to_server(servicer, server):
|
|
79
|
-
rpc_method_handlers = {
|
|
80
|
-
'CreateSecret': grpc.unary_unary_rpc_method_handler(
|
|
81
|
-
servicer.CreateSecret,
|
|
82
|
-
request_deserializer=secret_dot_payload__pb2.CreateSecretRequest.FromString,
|
|
83
|
-
response_serializer=secret_dot_payload__pb2.CreateSecretResponse.SerializeToString,
|
|
84
|
-
),
|
|
85
|
-
'UpdateSecret': grpc.unary_unary_rpc_method_handler(
|
|
86
|
-
servicer.UpdateSecret,
|
|
87
|
-
request_deserializer=secret_dot_payload__pb2.UpdateSecretRequest.FromString,
|
|
88
|
-
response_serializer=secret_dot_payload__pb2.UpdateSecretResponse.SerializeToString,
|
|
89
|
-
),
|
|
90
|
-
'GetSecret': grpc.unary_unary_rpc_method_handler(
|
|
91
|
-
servicer.GetSecret,
|
|
92
|
-
request_deserializer=secret_dot_payload__pb2.GetSecretRequest.FromString,
|
|
93
|
-
response_serializer=secret_dot_payload__pb2.GetSecretResponse.SerializeToString,
|
|
94
|
-
),
|
|
95
|
-
'DeleteSecret': grpc.unary_unary_rpc_method_handler(
|
|
96
|
-
servicer.DeleteSecret,
|
|
97
|
-
request_deserializer=secret_dot_payload__pb2.DeleteSecretRequest.FromString,
|
|
98
|
-
response_serializer=secret_dot_payload__pb2.DeleteSecretResponse.SerializeToString,
|
|
99
|
-
),
|
|
100
|
-
'ListSecrets': grpc.unary_unary_rpc_method_handler(
|
|
101
|
-
servicer.ListSecrets,
|
|
102
|
-
request_deserializer=secret_dot_payload__pb2.ListSecretsRequest.FromString,
|
|
103
|
-
response_serializer=secret_dot_payload__pb2.ListSecretsResponse.SerializeToString,
|
|
104
|
-
),
|
|
105
|
-
}
|
|
106
|
-
generic_handler = grpc.method_handlers_generic_handler(
|
|
107
|
-
'cloudidl.secret.SecretService', rpc_method_handlers)
|
|
108
|
-
server.add_generic_rpc_handlers((generic_handler,))
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
# This class is part of an EXPERIMENTAL API.
|
|
112
|
-
class SecretService(object):
|
|
113
|
-
"""Missing associated documentation comment in .proto file."""
|
|
114
|
-
|
|
115
|
-
@staticmethod
|
|
116
|
-
def CreateSecret(request,
|
|
117
|
-
target,
|
|
118
|
-
options=(),
|
|
119
|
-
channel_credentials=None,
|
|
120
|
-
call_credentials=None,
|
|
121
|
-
insecure=False,
|
|
122
|
-
compression=None,
|
|
123
|
-
wait_for_ready=None,
|
|
124
|
-
timeout=None,
|
|
125
|
-
metadata=None):
|
|
126
|
-
return grpc.experimental.unary_unary(request, target, '/cloudidl.secret.SecretService/CreateSecret',
|
|
127
|
-
secret_dot_payload__pb2.CreateSecretRequest.SerializeToString,
|
|
128
|
-
secret_dot_payload__pb2.CreateSecretResponse.FromString,
|
|
129
|
-
options, channel_credentials,
|
|
130
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
131
|
-
|
|
132
|
-
@staticmethod
|
|
133
|
-
def UpdateSecret(request,
|
|
134
|
-
target,
|
|
135
|
-
options=(),
|
|
136
|
-
channel_credentials=None,
|
|
137
|
-
call_credentials=None,
|
|
138
|
-
insecure=False,
|
|
139
|
-
compression=None,
|
|
140
|
-
wait_for_ready=None,
|
|
141
|
-
timeout=None,
|
|
142
|
-
metadata=None):
|
|
143
|
-
return grpc.experimental.unary_unary(request, target, '/cloudidl.secret.SecretService/UpdateSecret',
|
|
144
|
-
secret_dot_payload__pb2.UpdateSecretRequest.SerializeToString,
|
|
145
|
-
secret_dot_payload__pb2.UpdateSecretResponse.FromString,
|
|
146
|
-
options, channel_credentials,
|
|
147
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
148
|
-
|
|
149
|
-
@staticmethod
|
|
150
|
-
def GetSecret(request,
|
|
151
|
-
target,
|
|
152
|
-
options=(),
|
|
153
|
-
channel_credentials=None,
|
|
154
|
-
call_credentials=None,
|
|
155
|
-
insecure=False,
|
|
156
|
-
compression=None,
|
|
157
|
-
wait_for_ready=None,
|
|
158
|
-
timeout=None,
|
|
159
|
-
metadata=None):
|
|
160
|
-
return grpc.experimental.unary_unary(request, target, '/cloudidl.secret.SecretService/GetSecret',
|
|
161
|
-
secret_dot_payload__pb2.GetSecretRequest.SerializeToString,
|
|
162
|
-
secret_dot_payload__pb2.GetSecretResponse.FromString,
|
|
163
|
-
options, channel_credentials,
|
|
164
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
165
|
-
|
|
166
|
-
@staticmethod
|
|
167
|
-
def DeleteSecret(request,
|
|
168
|
-
target,
|
|
169
|
-
options=(),
|
|
170
|
-
channel_credentials=None,
|
|
171
|
-
call_credentials=None,
|
|
172
|
-
insecure=False,
|
|
173
|
-
compression=None,
|
|
174
|
-
wait_for_ready=None,
|
|
175
|
-
timeout=None,
|
|
176
|
-
metadata=None):
|
|
177
|
-
return grpc.experimental.unary_unary(request, target, '/cloudidl.secret.SecretService/DeleteSecret',
|
|
178
|
-
secret_dot_payload__pb2.DeleteSecretRequest.SerializeToString,
|
|
179
|
-
secret_dot_payload__pb2.DeleteSecretResponse.FromString,
|
|
180
|
-
options, channel_credentials,
|
|
181
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
182
|
-
|
|
183
|
-
@staticmethod
|
|
184
|
-
def ListSecrets(request,
|
|
185
|
-
target,
|
|
186
|
-
options=(),
|
|
187
|
-
channel_credentials=None,
|
|
188
|
-
call_credentials=None,
|
|
189
|
-
insecure=False,
|
|
190
|
-
compression=None,
|
|
191
|
-
wait_for_ready=None,
|
|
192
|
-
timeout=None,
|
|
193
|
-
metadata=None):
|
|
194
|
-
return grpc.experimental.unary_unary(request, target, '/cloudidl.secret.SecretService/ListSecrets',
|
|
195
|
-
secret_dot_payload__pb2.ListSecretsRequest.SerializeToString,
|
|
196
|
-
secret_dot_payload__pb2.ListSecretsResponse.FromString,
|
|
197
|
-
options, channel_credentials,
|
|
198
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: validate/validate.proto
|
|
4
|
-
# Protobuf Python Version: 4.25.0
|
|
5
|
-
"""Generated protocol buffer code."""
|
|
6
|
-
from google.protobuf import descriptor as _descriptor
|
|
7
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
-
from google.protobuf.internal import builder as _builder
|
|
10
|
-
# @@protoc_insertion_point(imports)
|
|
11
|
-
|
|
12
|
-
_sym_db = _symbol_database.Default()
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
16
|
-
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
17
|
-
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17validate/validate.proto\x12\x08validate\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x98\x07\n\nFieldRules\x12\'\n\x07message\x18\x11 \x01(\x0b\x32\x16.validate.MessageRules\x12%\n\x05\x66loat\x18\x01 \x01(\x0b\x32\x14.validate.FloatRulesH\x00\x12\'\n\x06\x64ouble\x18\x02 \x01(\x0b\x32\x15.validate.DoubleRulesH\x00\x12%\n\x05int32\x18\x03 \x01(\x0b\x32\x14.validate.Int32RulesH\x00\x12%\n\x05int64\x18\x04 \x01(\x0b\x32\x14.validate.Int64RulesH\x00\x12\'\n\x06uint32\x18\x05 \x01(\x0b\x32\x15.validate.UInt32RulesH\x00\x12\'\n\x06uint64\x18\x06 \x01(\x0b\x32\x15.validate.UInt64RulesH\x00\x12\'\n\x06sint32\x18\x07 \x01(\x0b\x32\x15.validate.SInt32RulesH\x00\x12\'\n\x06sint64\x18\x08 \x01(\x0b\x32\x15.validate.SInt64RulesH\x00\x12)\n\x07\x66ixed32\x18\t \x01(\x0b\x32\x16.validate.Fixed32RulesH\x00\x12)\n\x07\x66ixed64\x18\n \x01(\x0b\x32\x16.validate.Fixed64RulesH\x00\x12+\n\x08sfixed32\x18\x0b \x01(\x0b\x32\x17.validate.SFixed32RulesH\x00\x12+\n\x08sfixed64\x18\x0c \x01(\x0b\x32\x17.validate.SFixed64RulesH\x00\x12#\n\x04\x62ool\x18\r \x01(\x0b\x32\x13.validate.BoolRulesH\x00\x12\'\n\x06string\x18\x0e \x01(\x0b\x32\x15.validate.StringRulesH\x00\x12%\n\x05\x62ytes\x18\x0f \x01(\x0b\x32\x14.validate.BytesRulesH\x00\x12#\n\x04\x65num\x18\x10 \x01(\x0b\x32\x13.validate.EnumRulesH\x00\x12+\n\x08repeated\x18\x12 \x01(\x0b\x32\x17.validate.RepeatedRulesH\x00\x12!\n\x03map\x18\x13 \x01(\x0b\x32\x12.validate.MapRulesH\x00\x12!\n\x03\x61ny\x18\x14 \x01(\x0b\x32\x12.validate.AnyRulesH\x00\x12+\n\x08\x64uration\x18\x15 \x01(\x0b\x32\x17.validate.DurationRulesH\x00\x12-\n\ttimestamp\x18\x16 \x01(\x0b\x32\x18.validate.TimestampRulesH\x00\x42\x06\n\x04type\"\x7f\n\nFloatRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x02\x12\n\n\x02lt\x18\x02 \x01(\x02\x12\x0b\n\x03lte\x18\x03 \x01(\x02\x12\n\n\x02gt\x18\x04 \x01(\x02\x12\x0b\n\x03gte\x18\x05 \x01(\x02\x12\n\n\x02in\x18\x06 \x03(\x02\x12\x0e\n\x06not_in\x18\x07 \x03(\x02\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0b\x44oubleRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x01\x12\n\n\x02lt\x18\x02 \x01(\x01\x12\x0b\n\x03lte\x18\x03 \x01(\x01\x12\n\n\x02gt\x18\x04 \x01(\x01\x12\x0b\n\x03gte\x18\x05 \x01(\x01\x12\n\n\x02in\x18\x06 \x03(\x01\x12\x0e\n\x06not_in\x18\x07 \x03(\x01\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x7f\n\nInt32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x05\x12\n\n\x02lt\x18\x02 \x01(\x05\x12\x0b\n\x03lte\x18\x03 \x01(\x05\x12\n\n\x02gt\x18\x04 \x01(\x05\x12\x0b\n\x03gte\x18\x05 \x01(\x05\x12\n\n\x02in\x18\x06 \x03(\x05\x12\x0e\n\x06not_in\x18\x07 \x03(\x05\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x7f\n\nInt64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x03\x12\n\n\x02lt\x18\x02 \x01(\x03\x12\x0b\n\x03lte\x18\x03 \x01(\x03\x12\n\n\x02gt\x18\x04 \x01(\x03\x12\x0b\n\x03gte\x18\x05 \x01(\x03\x12\n\n\x02in\x18\x06 \x03(\x03\x12\x0e\n\x06not_in\x18\x07 \x03(\x03\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0bUInt32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\r\x12\n\n\x02lt\x18\x02 \x01(\r\x12\x0b\n\x03lte\x18\x03 \x01(\r\x12\n\n\x02gt\x18\x04 \x01(\r\x12\x0b\n\x03gte\x18\x05 \x01(\r\x12\n\n\x02in\x18\x06 \x03(\r\x12\x0e\n\x06not_in\x18\x07 \x03(\r\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0bUInt64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x04\x12\n\n\x02lt\x18\x02 \x01(\x04\x12\x0b\n\x03lte\x18\x03 \x01(\x04\x12\n\n\x02gt\x18\x04 \x01(\x04\x12\x0b\n\x03gte\x18\x05 \x01(\x04\x12\n\n\x02in\x18\x06 \x03(\x04\x12\x0e\n\x06not_in\x18\x07 \x03(\x04\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0bSInt32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x11\x12\n\n\x02lt\x18\x02 \x01(\x11\x12\x0b\n\x03lte\x18\x03 \x01(\x11\x12\n\n\x02gt\x18\x04 \x01(\x11\x12\x0b\n\x03gte\x18\x05 \x01(\x11\x12\n\n\x02in\x18\x06 \x03(\x11\x12\x0e\n\x06not_in\x18\x07 \x03(\x11\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0bSInt64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x12\x12\n\n\x02lt\x18\x02 \x01(\x12\x12\x0b\n\x03lte\x18\x03 \x01(\x12\x12\n\n\x02gt\x18\x04 \x01(\x12\x12\x0b\n\x03gte\x18\x05 \x01(\x12\x12\n\n\x02in\x18\x06 \x03(\x12\x12\x0e\n\x06not_in\x18\x07 \x03(\x12\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x81\x01\n\x0c\x46ixed32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x07\x12\n\n\x02lt\x18\x02 \x01(\x07\x12\x0b\n\x03lte\x18\x03 \x01(\x07\x12\n\n\x02gt\x18\x04 \x01(\x07\x12\x0b\n\x03gte\x18\x05 \x01(\x07\x12\n\n\x02in\x18\x06 \x03(\x07\x12\x0e\n\x06not_in\x18\x07 \x03(\x07\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x81\x01\n\x0c\x46ixed64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x06\x12\n\n\x02lt\x18\x02 \x01(\x06\x12\x0b\n\x03lte\x18\x03 \x01(\x06\x12\n\n\x02gt\x18\x04 \x01(\x06\x12\x0b\n\x03gte\x18\x05 \x01(\x06\x12\n\n\x02in\x18\x06 \x03(\x06\x12\x0e\n\x06not_in\x18\x07 \x03(\x06\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x82\x01\n\rSFixed32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x0f\x12\n\n\x02lt\x18\x02 \x01(\x0f\x12\x0b\n\x03lte\x18\x03 \x01(\x0f\x12\n\n\x02gt\x18\x04 \x01(\x0f\x12\x0b\n\x03gte\x18\x05 \x01(\x0f\x12\n\n\x02in\x18\x06 \x03(\x0f\x12\x0e\n\x06not_in\x18\x07 \x03(\x0f\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x82\x01\n\rSFixed64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x10\x12\n\n\x02lt\x18\x02 \x01(\x10\x12\x0b\n\x03lte\x18\x03 \x01(\x10\x12\n\n\x02gt\x18\x04 \x01(\x10\x12\x0b\n\x03gte\x18\x05 \x01(\x10\x12\n\n\x02in\x18\x06 \x03(\x10\x12\x0e\n\x06not_in\x18\x07 \x03(\x10\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x1a\n\tBoolRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x08\"\xfd\x03\n\x0bStringRules\x12\r\n\x05\x63onst\x18\x01 \x01(\t\x12\x0b\n\x03len\x18\x13 \x01(\x04\x12\x0f\n\x07min_len\x18\x02 \x01(\x04\x12\x0f\n\x07max_len\x18\x03 \x01(\x04\x12\x11\n\tlen_bytes\x18\x14 \x01(\x04\x12\x11\n\tmin_bytes\x18\x04 \x01(\x04\x12\x11\n\tmax_bytes\x18\x05 \x01(\x04\x12\x0f\n\x07pattern\x18\x06 \x01(\t\x12\x0e\n\x06prefix\x18\x07 \x01(\t\x12\x0e\n\x06suffix\x18\x08 \x01(\t\x12\x10\n\x08\x63ontains\x18\t \x01(\t\x12\x14\n\x0cnot_contains\x18\x17 \x01(\t\x12\n\n\x02in\x18\n \x03(\t\x12\x0e\n\x06not_in\x18\x0b \x03(\t\x12\x0f\n\x05\x65mail\x18\x0c \x01(\x08H\x00\x12\x12\n\x08hostname\x18\r \x01(\x08H\x00\x12\x0c\n\x02ip\x18\x0e \x01(\x08H\x00\x12\x0e\n\x04ipv4\x18\x0f \x01(\x08H\x00\x12\x0e\n\x04ipv6\x18\x10 \x01(\x08H\x00\x12\r\n\x03uri\x18\x11 \x01(\x08H\x00\x12\x11\n\x07uri_ref\x18\x12 \x01(\x08H\x00\x12\x11\n\x07\x61\x64\x64ress\x18\x15 \x01(\x08H\x00\x12\x0e\n\x04uuid\x18\x16 \x01(\x08H\x00\x12\x30\n\x10well_known_regex\x18\x18 \x01(\x0e\x32\x14.validate.KnownRegexH\x00\x12\x14\n\x06strict\x18\x19 \x01(\x08:\x04true\x12\x14\n\x0cignore_empty\x18\x1a \x01(\x08\x42\x0c\n\nwell_known\"\xfb\x01\n\nBytesRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x0c\x12\x0b\n\x03len\x18\r \x01(\x04\x12\x0f\n\x07min_len\x18\x02 \x01(\x04\x12\x0f\n\x07max_len\x18\x03 \x01(\x04\x12\x0f\n\x07pattern\x18\x04 \x01(\t\x12\x0e\n\x06prefix\x18\x05 \x01(\x0c\x12\x0e\n\x06suffix\x18\x06 \x01(\x0c\x12\x10\n\x08\x63ontains\x18\x07 \x01(\x0c\x12\n\n\x02in\x18\x08 \x03(\x0c\x12\x0e\n\x06not_in\x18\t \x03(\x0c\x12\x0c\n\x02ip\x18\n \x01(\x08H\x00\x12\x0e\n\x04ipv4\x18\x0b \x01(\x08H\x00\x12\x0e\n\x04ipv6\x18\x0c \x01(\x08H\x00\x12\x14\n\x0cignore_empty\x18\x0e \x01(\x08\x42\x0c\n\nwell_known\"L\n\tEnumRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x05\x12\x14\n\x0c\x64\x65\x66ined_only\x18\x02 \x01(\x08\x12\n\n\x02in\x18\x03 \x03(\x05\x12\x0e\n\x06not_in\x18\x04 \x03(\x05\".\n\x0cMessageRules\x12\x0c\n\x04skip\x18\x01 \x01(\x08\x12\x10\n\x08required\x18\x02 \x01(\x08\"\x80\x01\n\rRepeatedRules\x12\x11\n\tmin_items\x18\x01 \x01(\x04\x12\x11\n\tmax_items\x18\x02 \x01(\x04\x12\x0e\n\x06unique\x18\x03 \x01(\x08\x12#\n\x05items\x18\x04 \x01(\x0b\x32\x14.validate.FieldRules\x12\x14\n\x0cignore_empty\x18\x05 \x01(\x08\"\xa3\x01\n\x08MapRules\x12\x11\n\tmin_pairs\x18\x01 \x01(\x04\x12\x11\n\tmax_pairs\x18\x02 \x01(\x04\x12\x11\n\tno_sparse\x18\x03 \x01(\x08\x12\"\n\x04keys\x18\x04 \x01(\x0b\x32\x14.validate.FieldRules\x12$\n\x06values\x18\x05 \x01(\x0b\x32\x14.validate.FieldRules\x12\x14\n\x0cignore_empty\x18\x06 \x01(\x08\"8\n\x08\x41nyRules\x12\x10\n\x08required\x18\x01 \x01(\x08\x12\n\n\x02in\x18\x02 \x03(\t\x12\x0e\n\x06not_in\x18\x03 \x03(\t\"\xbb\x02\n\rDurationRules\x12\x10\n\x08required\x18\x01 \x01(\x08\x12(\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x02lt\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x03lte\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x02gt\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x03gte\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x02in\x18\x07 \x03(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x06not_in\x18\x08 \x03(\x0b\x32\x19.google.protobuf.Duration\"\xba\x02\n\x0eTimestampRules\x12\x10\n\x08required\x18\x01 \x01(\x08\x12)\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x02lt\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03lte\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x02gt\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03gte\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06lt_now\x18\x07 \x01(\x08\x12\x0e\n\x06gt_now\x18\x08 \x01(\x08\x12)\n\x06within\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration*F\n\nKnownRegex\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x14\n\x10HTTP_HEADER_NAME\x10\x01\x12\x15\n\x11HTTP_HEADER_VALUE\x10\x02:2\n\x08\x64isabled\x12\x1f.google.protobuf.MessageOptions\x18\xaf\x08 \x01(\x08:1\n\x07ignored\x12\x1f.google.protobuf.MessageOptions\x18\xb0\x08 \x01(\x08:0\n\x08required\x12\x1d.google.protobuf.OneofOptions\x18\xaf\x08 \x01(\x08:C\n\x05rules\x12\x1d.google.protobuf.FieldOptions\x18\xaf\x08 \x01(\x0b\x32\x14.validate.FieldRulesBP\n\x1aio.envoyproxy.pgv.validateZ2github.com/envoyproxy/protoc-gen-validate/validate')
|
|
21
|
-
|
|
22
|
-
_globals = globals()
|
|
23
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
24
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'validate.validate_pb2', _globals)
|
|
25
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
|
-
_globals['DESCRIPTOR']._options = None
|
|
27
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\032io.envoyproxy.pgv.validateZ2github.com/envoyproxy/protoc-gen-validate/validate'
|
|
28
|
-
_globals['_KNOWNREGEX']._serialized_start=4541
|
|
29
|
-
_globals['_KNOWNREGEX']._serialized_end=4611
|
|
30
|
-
_globals['_FIELDRULES']._serialized_start=137
|
|
31
|
-
_globals['_FIELDRULES']._serialized_end=1057
|
|
32
|
-
_globals['_FLOATRULES']._serialized_start=1059
|
|
33
|
-
_globals['_FLOATRULES']._serialized_end=1186
|
|
34
|
-
_globals['_DOUBLERULES']._serialized_start=1189
|
|
35
|
-
_globals['_DOUBLERULES']._serialized_end=1317
|
|
36
|
-
_globals['_INT32RULES']._serialized_start=1319
|
|
37
|
-
_globals['_INT32RULES']._serialized_end=1446
|
|
38
|
-
_globals['_INT64RULES']._serialized_start=1448
|
|
39
|
-
_globals['_INT64RULES']._serialized_end=1575
|
|
40
|
-
_globals['_UINT32RULES']._serialized_start=1578
|
|
41
|
-
_globals['_UINT32RULES']._serialized_end=1706
|
|
42
|
-
_globals['_UINT64RULES']._serialized_start=1709
|
|
43
|
-
_globals['_UINT64RULES']._serialized_end=1837
|
|
44
|
-
_globals['_SINT32RULES']._serialized_start=1840
|
|
45
|
-
_globals['_SINT32RULES']._serialized_end=1968
|
|
46
|
-
_globals['_SINT64RULES']._serialized_start=1971
|
|
47
|
-
_globals['_SINT64RULES']._serialized_end=2099
|
|
48
|
-
_globals['_FIXED32RULES']._serialized_start=2102
|
|
49
|
-
_globals['_FIXED32RULES']._serialized_end=2231
|
|
50
|
-
_globals['_FIXED64RULES']._serialized_start=2234
|
|
51
|
-
_globals['_FIXED64RULES']._serialized_end=2363
|
|
52
|
-
_globals['_SFIXED32RULES']._serialized_start=2366
|
|
53
|
-
_globals['_SFIXED32RULES']._serialized_end=2496
|
|
54
|
-
_globals['_SFIXED64RULES']._serialized_start=2499
|
|
55
|
-
_globals['_SFIXED64RULES']._serialized_end=2629
|
|
56
|
-
_globals['_BOOLRULES']._serialized_start=2631
|
|
57
|
-
_globals['_BOOLRULES']._serialized_end=2657
|
|
58
|
-
_globals['_STRINGRULES']._serialized_start=2660
|
|
59
|
-
_globals['_STRINGRULES']._serialized_end=3169
|
|
60
|
-
_globals['_BYTESRULES']._serialized_start=3172
|
|
61
|
-
_globals['_BYTESRULES']._serialized_end=3423
|
|
62
|
-
_globals['_ENUMRULES']._serialized_start=3425
|
|
63
|
-
_globals['_ENUMRULES']._serialized_end=3501
|
|
64
|
-
_globals['_MESSAGERULES']._serialized_start=3503
|
|
65
|
-
_globals['_MESSAGERULES']._serialized_end=3549
|
|
66
|
-
_globals['_REPEATEDRULES']._serialized_start=3552
|
|
67
|
-
_globals['_REPEATEDRULES']._serialized_end=3680
|
|
68
|
-
_globals['_MAPRULES']._serialized_start=3683
|
|
69
|
-
_globals['_MAPRULES']._serialized_end=3846
|
|
70
|
-
_globals['_ANYRULES']._serialized_start=3848
|
|
71
|
-
_globals['_ANYRULES']._serialized_end=3904
|
|
72
|
-
_globals['_DURATIONRULES']._serialized_start=3907
|
|
73
|
-
_globals['_DURATIONRULES']._serialized_end=4222
|
|
74
|
-
_globals['_TIMESTAMPRULES']._serialized_start=4225
|
|
75
|
-
_globals['_TIMESTAMPRULES']._serialized_end=4539
|
|
76
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: workflow/common.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 flyteidl.core import interface_pb2 as flyteidl_dot_core_dot_interface__pb2
|
|
15
|
-
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15workflow/common.proto\x12\x11\x63loudidl.workflow\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\\\n\x0eNamedParameter\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x36\n\tparameter\x18\x02 \x01(\x0b\x32\x18.flyteidl.core.ParameterR\tparameter\"\x92\x01\n\tFixedRate\x12\x14\n\x05value\x18\x01 \x01(\rR\x05value\x12\x34\n\x04unit\x18\x02 \x01(\x0e\x32 .cloudidl.workflow.FixedRateUnitR\x04unit\x12\x39\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\"\xac\x01\n\x08Schedule\x12\x32\n\x04rate\x18\x01 \x01(\x0b\x32\x1c.cloudidl.workflow.FixedRateH\x00R\x04rate\x12)\n\x0f\x63ron_expression\x18\x02 \x01(\tH\x00R\x0e\x63ronExpression\x12\x33\n\x16kickoff_time_input_arg\x18\x03 \x01(\tR\x13kickoffTimeInputArgB\x0c\n\nexpression\"\xe3\x01\n\x15TriggerAutomationSpec\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32-.cloudidl.workflow.TriggerAutomationSpec.TypeR\x04type\x12\x39\n\x08schedule\x18\x02 \x01(\x0b\x32\x1b.cloudidl.workflow.ScheduleH\x00R\x08schedule\">\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tTYPE_NONE\x10\x01\x12\x11\n\rTYPE_SCHEDULE\x10\x02\x42\x0c\n\nautomation*\x7f\n\rFixedRateUnit\x12\x1f\n\x1b\x46IXED_RATE_UNIT_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x46IXED_RATE_UNIT_MINUTE\x10\x01\x12\x18\n\x14\x46IXED_RATE_UNIT_HOUR\x10\x02\x12\x17\n\x13\x46IXED_RATE_UNIT_DAY\x10\x03\x42\xb8\x01\n\x15\x63om.cloudidl.workflowB\x0b\x43ommonProtoH\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
|
-
|
|
20
|
-
_globals = globals()
|
|
21
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.common_pb2', _globals)
|
|
23
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
-
DESCRIPTOR._options = None
|
|
25
|
-
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\013CommonProtoH\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'
|
|
26
|
-
_globals['_FIXEDRATEUNIT']._serialized_start=756
|
|
27
|
-
_globals['_FIXEDRATEUNIT']._serialized_end=883
|
|
28
|
-
_globals['_NAMEDPARAMETER']._serialized_start=108
|
|
29
|
-
_globals['_NAMEDPARAMETER']._serialized_end=200
|
|
30
|
-
_globals['_FIXEDRATE']._serialized_start=203
|
|
31
|
-
_globals['_FIXEDRATE']._serialized_end=349
|
|
32
|
-
_globals['_SCHEDULE']._serialized_start=352
|
|
33
|
-
_globals['_SCHEDULE']._serialized_end=524
|
|
34
|
-
_globals['_TRIGGERAUTOMATIONSPEC']._serialized_start=527
|
|
35
|
-
_globals['_TRIGGERAUTOMATIONSPEC']._serialized_end=754
|
|
36
|
-
_globals['_TRIGGERAUTOMATIONSPEC_TYPE']._serialized_start=678
|
|
37
|
-
_globals['_TRIGGERAUTOMATIONSPEC_TYPE']._serialized_end=740
|
|
38
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
from flyteidl.core import interface_pb2 as _interface_pb2
|
|
2
|
-
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
3
|
-
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
4
|
-
from google.protobuf import descriptor as _descriptor
|
|
5
|
-
from google.protobuf import message as _message
|
|
6
|
-
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
7
|
-
|
|
8
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
-
|
|
10
|
-
class FixedRateUnit(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
11
|
-
__slots__ = []
|
|
12
|
-
FIXED_RATE_UNIT_UNSPECIFIED: _ClassVar[FixedRateUnit]
|
|
13
|
-
FIXED_RATE_UNIT_MINUTE: _ClassVar[FixedRateUnit]
|
|
14
|
-
FIXED_RATE_UNIT_HOUR: _ClassVar[FixedRateUnit]
|
|
15
|
-
FIXED_RATE_UNIT_DAY: _ClassVar[FixedRateUnit]
|
|
16
|
-
FIXED_RATE_UNIT_UNSPECIFIED: FixedRateUnit
|
|
17
|
-
FIXED_RATE_UNIT_MINUTE: FixedRateUnit
|
|
18
|
-
FIXED_RATE_UNIT_HOUR: FixedRateUnit
|
|
19
|
-
FIXED_RATE_UNIT_DAY: FixedRateUnit
|
|
20
|
-
|
|
21
|
-
class NamedParameter(_message.Message):
|
|
22
|
-
__slots__ = ["name", "parameter"]
|
|
23
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
-
PARAMETER_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
-
name: str
|
|
26
|
-
parameter: _interface_pb2.Parameter
|
|
27
|
-
def __init__(self, name: _Optional[str] = ..., parameter: _Optional[_Union[_interface_pb2.Parameter, _Mapping]] = ...) -> None: ...
|
|
28
|
-
|
|
29
|
-
class FixedRate(_message.Message):
|
|
30
|
-
__slots__ = ["value", "unit", "start_time"]
|
|
31
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
-
UNIT_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
-
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
-
value: int
|
|
35
|
-
unit: FixedRateUnit
|
|
36
|
-
start_time: _timestamp_pb2.Timestamp
|
|
37
|
-
def __init__(self, value: _Optional[int] = ..., unit: _Optional[_Union[FixedRateUnit, str]] = ..., start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
38
|
-
|
|
39
|
-
class Schedule(_message.Message):
|
|
40
|
-
__slots__ = ["rate", "cron_expression", "kickoff_time_input_arg"]
|
|
41
|
-
RATE_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
-
CRON_EXPRESSION_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
-
KICKOFF_TIME_INPUT_ARG_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
-
rate: FixedRate
|
|
45
|
-
cron_expression: str
|
|
46
|
-
kickoff_time_input_arg: str
|
|
47
|
-
def __init__(self, rate: _Optional[_Union[FixedRate, _Mapping]] = ..., cron_expression: _Optional[str] = ..., kickoff_time_input_arg: _Optional[str] = ...) -> None: ...
|
|
48
|
-
|
|
49
|
-
class TriggerAutomationSpec(_message.Message):
|
|
50
|
-
__slots__ = ["type", "schedule"]
|
|
51
|
-
class Type(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
52
|
-
__slots__ = []
|
|
53
|
-
TYPE_UNSPECIFIED: _ClassVar[TriggerAutomationSpec.Type]
|
|
54
|
-
TYPE_NONE: _ClassVar[TriggerAutomationSpec.Type]
|
|
55
|
-
TYPE_SCHEDULE: _ClassVar[TriggerAutomationSpec.Type]
|
|
56
|
-
TYPE_UNSPECIFIED: TriggerAutomationSpec.Type
|
|
57
|
-
TYPE_NONE: TriggerAutomationSpec.Type
|
|
58
|
-
TYPE_SCHEDULE: TriggerAutomationSpec.Type
|
|
59
|
-
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
-
SCHEDULE_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
-
type: TriggerAutomationSpec.Type
|
|
62
|
-
schedule: Schedule
|
|
63
|
-
def __init__(self, type: _Optional[_Union[TriggerAutomationSpec.Type, str]] = ..., schedule: _Optional[_Union[Schedule, _Mapping]] = ...) -> None: ...
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: workflow/environment.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.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aworkflow/environment.proto\x12\x11\x63loudidl.workflow\x1a\x17validate/validate.proto\",\n\x0b\x45nvironment\x12\x1d\n\x04name\x18\x01 \x01(\tB\t\xfa\x42\x06r\x04\x10\x01\x18?R\x04nameB\xbd\x01\n\x15\x63om.cloudidl.workflowB\x10\x45nvironmentProtoH\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')
|
|
18
|
-
|
|
19
|
-
_globals = globals()
|
|
20
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.environment_pb2', _globals)
|
|
22
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
-
DESCRIPTOR._options = None
|
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\020EnvironmentProtoH\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'
|
|
25
|
-
_ENVIRONMENT.fields_by_name['name']._options = None
|
|
26
|
-
_ENVIRONMENT.fields_by_name['name']._serialized_options = b'\372B\006r\004\020\001\030?'
|
|
27
|
-
_globals['_ENVIRONMENT']._serialized_start=74
|
|
28
|
-
_globals['_ENVIRONMENT']._serialized_end=118
|
|
29
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
2
|
-
from google.protobuf import descriptor as _descriptor
|
|
3
|
-
from google.protobuf import message as _message
|
|
4
|
-
from typing import ClassVar as _ClassVar, Optional as _Optional
|
|
5
|
-
|
|
6
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
-
|
|
8
|
-
class Environment(_message.Message):
|
|
9
|
-
__slots__ = ["name"]
|
|
10
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
-
name: str
|
|
12
|
-
def __init__(self, name: _Optional[str] = ...) -> None: ...
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: workflow/node_execution_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
|
-
|
|
15
|
-
|
|
16
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%workflow/node_execution_service.proto\x12\x11\x63loudidl.workflow2\x16\n\x14NodeExecutionServiceB\xc6\x01\n\x15\x63om.cloudidl.workflowB\x19NodeExecutionServiceProtoH\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')
|
|
17
|
-
|
|
18
|
-
_globals = globals()
|
|
19
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
20
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'workflow.node_execution_service_pb2', _globals)
|
|
21
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
-
DESCRIPTOR._options = None
|
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\025com.cloudidl.workflowB\031NodeExecutionServiceProtoH\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'
|
|
24
|
-
_globals['_NODEEXECUTIONSERVICE']._serialized_start=60
|
|
25
|
-
_globals['_NODEEXECUTIONSERVICE']._serialized_end=82
|
|
26
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,32 +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
|
-
|
|
6
|
-
|
|
7
|
-
class NodeExecutionServiceStub(object):
|
|
8
|
-
"""Missing associated documentation comment in .proto file."""
|
|
9
|
-
|
|
10
|
-
def __init__(self, channel):
|
|
11
|
-
"""Constructor.
|
|
12
|
-
|
|
13
|
-
Args:
|
|
14
|
-
channel: A grpc.Channel.
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class NodeExecutionServiceServicer(object):
|
|
19
|
-
"""Missing associated documentation comment in .proto file."""
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
def add_NodeExecutionServiceServicer_to_server(servicer, server):
|
|
23
|
-
rpc_method_handlers = {
|
|
24
|
-
}
|
|
25
|
-
generic_handler = grpc.method_handlers_generic_handler(
|
|
26
|
-
'cloudidl.workflow.NodeExecutionService', rpc_method_handlers)
|
|
27
|
-
server.add_generic_rpc_handlers((generic_handler,))
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
# This class is part of an EXPERIMENTAL API.
|
|
31
|
-
class NodeExecutionService(object):
|
|
32
|
-
"""Missing associated documentation comment in .proto file."""
|