tracdap-runtime 0.6.1.dev3__py3-none-any.whl → 0.6.3__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.
- tracdap/rt/_exec/actors.py +87 -10
- tracdap/rt/_exec/context.py +25 -1
- tracdap/rt/_exec/dev_mode.py +277 -221
- tracdap/rt/_exec/engine.py +79 -14
- tracdap/rt/_exec/functions.py +37 -8
- tracdap/rt/_exec/graph.py +2 -0
- tracdap/rt/_exec/graph_builder.py +118 -56
- tracdap/rt/_exec/runtime.py +108 -37
- tracdap/rt/_exec/server.py +345 -0
- tracdap/rt/_impl/config_parser.py +219 -49
- tracdap/rt/_impl/data.py +14 -0
- tracdap/rt/_impl/grpc/__init__.py +13 -0
- tracdap/rt/_impl/grpc/codec.py +99 -0
- tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2.py +51 -0
- tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2.pyi +61 -0
- tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2_grpc.py +183 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/common_pb2.py +33 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/common_pb2.pyi +34 -0
- tracdap/rt/{metadata → _impl/grpc/tracdap/metadata}/custom_pb2.py +5 -5
- tracdap/rt/_impl/grpc/tracdap/metadata/custom_pb2.pyi +15 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/data_pb2.py +51 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/data_pb2.pyi +115 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/file_pb2.py +28 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/file_pb2.pyi +22 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/flow_pb2.py +59 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/flow_pb2.pyi +109 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/job_pb2.py +76 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/job_pb2.pyi +177 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/model_pb2.py +63 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/model_pb2.pyi +119 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/object_id_pb2.py +32 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/object_id_pb2.pyi +68 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/object_pb2.py +40 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/object_pb2.pyi +46 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/search_pb2.py +39 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/search_pb2.pyi +83 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/stoarge_pb2.py +50 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/stoarge_pb2.pyi +89 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/tag_pb2.py +34 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/tag_pb2.pyi +26 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/tag_update_pb2.py +30 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/tag_update_pb2.pyi +34 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/type_pb2.py +47 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/type_pb2.pyi +101 -0
- tracdap/rt/_impl/guard_rails.py +26 -6
- tracdap/rt/_impl/models.py +25 -0
- tracdap/rt/_impl/static_api.py +27 -9
- tracdap/rt/_impl/type_system.py +17 -0
- tracdap/rt/_impl/validation.py +10 -0
- tracdap/rt/_plugins/config_local.py +49 -0
- tracdap/rt/_version.py +1 -1
- tracdap/rt/api/hook.py +10 -3
- tracdap/rt/api/model_api.py +22 -0
- tracdap/rt/api/static_api.py +79 -19
- tracdap/rt/config/__init__.py +3 -3
- tracdap/rt/config/common.py +10 -0
- tracdap/rt/config/platform.py +9 -19
- tracdap/rt/config/runtime.py +2 -0
- tracdap/rt/ext/config.py +34 -0
- tracdap/rt/ext/embed.py +1 -3
- tracdap/rt/ext/plugins.py +47 -6
- tracdap/rt/launch/cli.py +7 -5
- tracdap/rt/launch/launch.py +49 -12
- tracdap/rt/metadata/__init__.py +24 -24
- tracdap/rt/metadata/common.py +7 -7
- tracdap/rt/metadata/custom.py +2 -0
- tracdap/rt/metadata/data.py +28 -5
- tracdap/rt/metadata/file.py +2 -0
- tracdap/rt/metadata/flow.py +66 -4
- tracdap/rt/metadata/job.py +56 -16
- tracdap/rt/metadata/model.py +10 -0
- tracdap/rt/metadata/object.py +3 -0
- tracdap/rt/metadata/object_id.py +9 -9
- tracdap/rt/metadata/search.py +35 -13
- tracdap/rt/metadata/stoarge.py +64 -6
- tracdap/rt/metadata/tag_update.py +21 -7
- tracdap/rt/metadata/type.py +28 -13
- {tracdap_runtime-0.6.1.dev3.dist-info → tracdap_runtime-0.6.3.dist-info}/METADATA +22 -19
- tracdap_runtime-0.6.3.dist-info/RECORD +112 -0
- {tracdap_runtime-0.6.1.dev3.dist-info → tracdap_runtime-0.6.3.dist-info}/WHEEL +1 -1
- tracdap/rt/config/common_pb2.py +0 -55
- tracdap/rt/config/job_pb2.py +0 -42
- tracdap/rt/config/platform_pb2.py +0 -71
- tracdap/rt/config/result_pb2.py +0 -37
- tracdap/rt/config/runtime_pb2.py +0 -42
- tracdap/rt/ext/_guard.py +0 -37
- tracdap/rt/metadata/common_pb2.py +0 -33
- tracdap/rt/metadata/data_pb2.py +0 -51
- tracdap/rt/metadata/file_pb2.py +0 -28
- tracdap/rt/metadata/flow_pb2.py +0 -55
- tracdap/rt/metadata/job_pb2.py +0 -76
- tracdap/rt/metadata/model_pb2.py +0 -51
- tracdap/rt/metadata/object_id_pb2.py +0 -32
- tracdap/rt/metadata/object_pb2.py +0 -35
- tracdap/rt/metadata/search_pb2.py +0 -39
- tracdap/rt/metadata/stoarge_pb2.py +0 -50
- tracdap/rt/metadata/tag_pb2.py +0 -34
- tracdap/rt/metadata/tag_update_pb2.py +0 -30
- tracdap/rt/metadata/type_pb2.py +0 -48
- tracdap_runtime-0.6.1.dev3.dist-info/RECORD +0 -96
- {tracdap_runtime-0.6.1.dev3.dist-info → tracdap_runtime-0.6.3.dist-info}/LICENSE +0 -0
- {tracdap_runtime-0.6.1.dev3.dist-info → tracdap_runtime-0.6.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,183 @@
|
|
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
|
+
import warnings
|
5
|
+
|
6
|
+
from tracdap.rt._impl.grpc.tracdap.api.internal import runtime_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2
|
7
|
+
|
8
|
+
GRPC_GENERATED_VERSION = '1.66.1'
|
9
|
+
GRPC_VERSION = grpc.__version__
|
10
|
+
_version_not_supported = False
|
11
|
+
|
12
|
+
try:
|
13
|
+
from grpc._utilities import first_version_is_lower
|
14
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
15
|
+
except ImportError:
|
16
|
+
_version_not_supported = True
|
17
|
+
|
18
|
+
if _version_not_supported:
|
19
|
+
raise RuntimeError(
|
20
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
21
|
+
+ f' but the generated code in tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2_grpc.py depends on'
|
22
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
23
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
24
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
25
|
+
)
|
26
|
+
|
27
|
+
|
28
|
+
class TracRuntimeApiStub(object):
|
29
|
+
"""Missing associated documentation comment in .proto file."""
|
30
|
+
|
31
|
+
def __init__(self, channel):
|
32
|
+
"""Constructor.
|
33
|
+
|
34
|
+
Args:
|
35
|
+
channel: A grpc.Channel.
|
36
|
+
"""
|
37
|
+
self.listJobs = channel.unary_unary(
|
38
|
+
'/tracdap.api.internal.TracRuntimeApi/listJobs',
|
39
|
+
request_serializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeListJobsRequest.SerializeToString,
|
40
|
+
response_deserializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeListJobsResponse.FromString,
|
41
|
+
_registered_method=True)
|
42
|
+
self.getJobStatus = channel.unary_unary(
|
43
|
+
'/tracdap.api.internal.TracRuntimeApi/getJobStatus',
|
44
|
+
request_serializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobInfoRequest.SerializeToString,
|
45
|
+
response_deserializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobStatus.FromString,
|
46
|
+
_registered_method=True)
|
47
|
+
self.getJobResult = channel.unary_unary(
|
48
|
+
'/tracdap.api.internal.TracRuntimeApi/getJobResult',
|
49
|
+
request_serializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobInfoRequest.SerializeToString,
|
50
|
+
response_deserializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobResult.FromString,
|
51
|
+
_registered_method=True)
|
52
|
+
|
53
|
+
|
54
|
+
class TracRuntimeApiServicer(object):
|
55
|
+
"""Missing associated documentation comment in .proto file."""
|
56
|
+
|
57
|
+
def listJobs(self, request, context):
|
58
|
+
"""Missing associated documentation comment in .proto file."""
|
59
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
60
|
+
context.set_details('Method not implemented!')
|
61
|
+
raise NotImplementedError('Method not implemented!')
|
62
|
+
|
63
|
+
def getJobStatus(self, request, context):
|
64
|
+
"""Missing associated documentation comment in .proto file."""
|
65
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
66
|
+
context.set_details('Method not implemented!')
|
67
|
+
raise NotImplementedError('Method not implemented!')
|
68
|
+
|
69
|
+
def getJobResult(self, request, context):
|
70
|
+
"""Missing associated documentation comment in .proto file."""
|
71
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
72
|
+
context.set_details('Method not implemented!')
|
73
|
+
raise NotImplementedError('Method not implemented!')
|
74
|
+
|
75
|
+
|
76
|
+
def add_TracRuntimeApiServicer_to_server(servicer, server):
|
77
|
+
rpc_method_handlers = {
|
78
|
+
'listJobs': grpc.unary_unary_rpc_method_handler(
|
79
|
+
servicer.listJobs,
|
80
|
+
request_deserializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeListJobsRequest.FromString,
|
81
|
+
response_serializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeListJobsResponse.SerializeToString,
|
82
|
+
),
|
83
|
+
'getJobStatus': grpc.unary_unary_rpc_method_handler(
|
84
|
+
servicer.getJobStatus,
|
85
|
+
request_deserializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobInfoRequest.FromString,
|
86
|
+
response_serializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobStatus.SerializeToString,
|
87
|
+
),
|
88
|
+
'getJobResult': grpc.unary_unary_rpc_method_handler(
|
89
|
+
servicer.getJobResult,
|
90
|
+
request_deserializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobInfoRequest.FromString,
|
91
|
+
response_serializer=tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobResult.SerializeToString,
|
92
|
+
),
|
93
|
+
}
|
94
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
95
|
+
'tracdap.api.internal.TracRuntimeApi', rpc_method_handlers)
|
96
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
97
|
+
server.add_registered_method_handlers('tracdap.api.internal.TracRuntimeApi', rpc_method_handlers)
|
98
|
+
|
99
|
+
|
100
|
+
# This class is part of an EXPERIMENTAL API.
|
101
|
+
class TracRuntimeApi(object):
|
102
|
+
"""Missing associated documentation comment in .proto file."""
|
103
|
+
|
104
|
+
@staticmethod
|
105
|
+
def listJobs(request,
|
106
|
+
target,
|
107
|
+
options=(),
|
108
|
+
channel_credentials=None,
|
109
|
+
call_credentials=None,
|
110
|
+
insecure=False,
|
111
|
+
compression=None,
|
112
|
+
wait_for_ready=None,
|
113
|
+
timeout=None,
|
114
|
+
metadata=None):
|
115
|
+
return grpc.experimental.unary_unary(
|
116
|
+
request,
|
117
|
+
target,
|
118
|
+
'/tracdap.api.internal.TracRuntimeApi/listJobs',
|
119
|
+
tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeListJobsRequest.SerializeToString,
|
120
|
+
tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeListJobsResponse.FromString,
|
121
|
+
options,
|
122
|
+
channel_credentials,
|
123
|
+
insecure,
|
124
|
+
call_credentials,
|
125
|
+
compression,
|
126
|
+
wait_for_ready,
|
127
|
+
timeout,
|
128
|
+
metadata,
|
129
|
+
_registered_method=True)
|
130
|
+
|
131
|
+
@staticmethod
|
132
|
+
def getJobStatus(request,
|
133
|
+
target,
|
134
|
+
options=(),
|
135
|
+
channel_credentials=None,
|
136
|
+
call_credentials=None,
|
137
|
+
insecure=False,
|
138
|
+
compression=None,
|
139
|
+
wait_for_ready=None,
|
140
|
+
timeout=None,
|
141
|
+
metadata=None):
|
142
|
+
return grpc.experimental.unary_unary(
|
143
|
+
request,
|
144
|
+
target,
|
145
|
+
'/tracdap.api.internal.TracRuntimeApi/getJobStatus',
|
146
|
+
tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobInfoRequest.SerializeToString,
|
147
|
+
tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobStatus.FromString,
|
148
|
+
options,
|
149
|
+
channel_credentials,
|
150
|
+
insecure,
|
151
|
+
call_credentials,
|
152
|
+
compression,
|
153
|
+
wait_for_ready,
|
154
|
+
timeout,
|
155
|
+
metadata,
|
156
|
+
_registered_method=True)
|
157
|
+
|
158
|
+
@staticmethod
|
159
|
+
def getJobResult(request,
|
160
|
+
target,
|
161
|
+
options=(),
|
162
|
+
channel_credentials=None,
|
163
|
+
call_credentials=None,
|
164
|
+
insecure=False,
|
165
|
+
compression=None,
|
166
|
+
wait_for_ready=None,
|
167
|
+
timeout=None,
|
168
|
+
metadata=None):
|
169
|
+
return grpc.experimental.unary_unary(
|
170
|
+
request,
|
171
|
+
target,
|
172
|
+
'/tracdap.api.internal.TracRuntimeApi/getJobResult',
|
173
|
+
tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobInfoRequest.SerializeToString,
|
174
|
+
tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_api_dot_internal_dot_runtime__pb2.RuntimeJobResult.FromString,
|
175
|
+
options,
|
176
|
+
channel_credentials,
|
177
|
+
insecure,
|
178
|
+
call_credentials,
|
179
|
+
compression,
|
180
|
+
wait_for_ready,
|
181
|
+
timeout,
|
182
|
+
metadata,
|
183
|
+
_registered_method=True)
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: tracdap/rt/_impl/grpc/tracdap/metadata/common.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
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
|
+
|
16
|
+
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3tracdap/rt/_impl/grpc/tracdap/metadata/common.proto\x12\x10tracdap.metadata\"5\n\nTenantInfo\x12\x12\n\ntenantCode\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t*L\n\x0eMetadataFormat\x12\x1b\n\x17METADATA_FORMAT_NOT_SET\x10\x00\x12\t\n\x05PROTO\x10\x01\x12\x08\n\x04JSON\x10\x02\x12\x08\n\x04YAML\x10\x03*H\n\x0fMetadataVersion\x12\x1c\n\x18METADATA_VERSION_NOT_SET\x10\x00\x12\x06\n\x02V1\x10\x01\x12\x0b\n\x07\x43URRENT\x10\x01\x1a\x02\x10\x01\x42\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
18
|
+
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.metadata.common_pb2', _globals)
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
+
_globals['DESCRIPTOR']._options = None
|
24
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
25
|
+
_globals['_METADATAVERSION']._options = None
|
26
|
+
_globals['_METADATAVERSION']._serialized_options = b'\020\001'
|
27
|
+
_globals['_METADATAFORMAT']._serialized_start=128
|
28
|
+
_globals['_METADATAFORMAT']._serialized_end=204
|
29
|
+
_globals['_METADATAVERSION']._serialized_start=206
|
30
|
+
_globals['_METADATAVERSION']._serialized_end=278
|
31
|
+
_globals['_TENANTINFO']._serialized_start=73
|
32
|
+
_globals['_TENANTINFO']._serialized_end=126
|
33
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,34 @@
|
|
1
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
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 MetadataFormat(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
9
|
+
__slots__ = ()
|
10
|
+
METADATA_FORMAT_NOT_SET: _ClassVar[MetadataFormat]
|
11
|
+
PROTO: _ClassVar[MetadataFormat]
|
12
|
+
JSON: _ClassVar[MetadataFormat]
|
13
|
+
YAML: _ClassVar[MetadataFormat]
|
14
|
+
|
15
|
+
class MetadataVersion(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
16
|
+
__slots__ = ()
|
17
|
+
METADATA_VERSION_NOT_SET: _ClassVar[MetadataVersion]
|
18
|
+
V1: _ClassVar[MetadataVersion]
|
19
|
+
CURRENT: _ClassVar[MetadataVersion]
|
20
|
+
METADATA_FORMAT_NOT_SET: MetadataFormat
|
21
|
+
PROTO: MetadataFormat
|
22
|
+
JSON: MetadataFormat
|
23
|
+
YAML: MetadataFormat
|
24
|
+
METADATA_VERSION_NOT_SET: MetadataVersion
|
25
|
+
V1: MetadataVersion
|
26
|
+
CURRENT: MetadataVersion
|
27
|
+
|
28
|
+
class TenantInfo(_message.Message):
|
29
|
+
__slots__ = ("tenantCode", "description")
|
30
|
+
TENANTCODE_FIELD_NUMBER: _ClassVar[int]
|
31
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
32
|
+
tenantCode: str
|
33
|
+
description: str
|
34
|
+
def __init__(self, tenantCode: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: tracdap/metadata/custom.proto
|
3
|
+
# source: tracdap/rt/_impl/grpc/tracdap/metadata/custom.proto
|
4
4
|
# Protobuf Python Version: 4.25.3
|
5
5
|
"""Generated protocol buffer code."""
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
@@ -14,14 +14,14 @@ _sym_db = _symbol_database.Default()
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3tracdap/rt/_impl/grpc/tracdap/metadata/custom.proto\x12\x10tracdap.metadata\"]\n\x10\x43ustomDefinition\x12\x18\n\x10\x63ustomSchemaType\x18\x01 \x01(\t\x12\x1b\n\x13\x63ustomSchemaVersion\x18\x02 \x01(\r\x12\x12\n\ncustomData\x18\x03 \x01(\x0c\x42\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
18
18
|
|
19
19
|
_globals = globals()
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.custom_pb2', _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.metadata.custom_pb2', _globals)
|
22
22
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
23
|
_globals['DESCRIPTOR']._options = None
|
24
24
|
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
25
|
-
_globals['_CUSTOMDEFINITION']._serialized_start=
|
26
|
-
_globals['_CUSTOMDEFINITION']._serialized_end=
|
25
|
+
_globals['_CUSTOMDEFINITION']._serialized_start=73
|
26
|
+
_globals['_CUSTOMDEFINITION']._serialized_end=166
|
27
27
|
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,15 @@
|
|
1
|
+
from google.protobuf import descriptor as _descriptor
|
2
|
+
from google.protobuf import message as _message
|
3
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional
|
4
|
+
|
5
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
6
|
+
|
7
|
+
class CustomDefinition(_message.Message):
|
8
|
+
__slots__ = ("customSchemaType", "customSchemaVersion", "customData")
|
9
|
+
CUSTOMSCHEMATYPE_FIELD_NUMBER: _ClassVar[int]
|
10
|
+
CUSTOMSCHEMAVERSION_FIELD_NUMBER: _ClassVar[int]
|
11
|
+
CUSTOMDATA_FIELD_NUMBER: _ClassVar[int]
|
12
|
+
customSchemaType: str
|
13
|
+
customSchemaVersion: int
|
14
|
+
customData: bytes
|
15
|
+
def __init__(self, customSchemaType: _Optional[str] = ..., customSchemaVersion: _Optional[int] = ..., customData: _Optional[bytes] = ...) -> None: ...
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: tracdap/rt/_impl/grpc/tracdap/metadata/data.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
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 tracdap.rt._impl.grpc.tracdap.metadata import type_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_type__pb2
|
16
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import object_id_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_object__id__pb2
|
17
|
+
|
18
|
+
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1tracdap/rt/_impl/grpc/tracdap/metadata/data.proto\x12\x10tracdap.metadata\x1a\x31tracdap/rt/_impl/grpc/tracdap/metadata/type.proto\x1a\x36tracdap/rt/_impl/grpc/tracdap/metadata/object_id.proto\"\xe7\x01\n\x0b\x46ieldSchema\x12\x11\n\tfieldName\x18\x01 \x01(\t\x12\x12\n\nfieldOrder\x18\x02 \x01(\x11\x12.\n\tfieldType\x18\x03 \x01(\x0e\x32\x1b.tracdap.metadata.BasicType\x12\r\n\x05label\x18\x04 \x01(\t\x12\x13\n\x0b\x62usinessKey\x18\x05 \x01(\x08\x12\x13\n\x0b\x63\x61tegorical\x18\x06 \x01(\x08\x12\x14\n\x07notNull\x18\x08 \x01(\x08H\x00\x88\x01\x01\x12\x17\n\nformatCode\x18\x07 \x01(\tH\x01\x88\x01\x01\x42\n\n\x08_notNullB\r\n\x0b_formatCode\"<\n\x0bTableSchema\x12-\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1d.tracdap.metadata.FieldSchema\"\xba\x01\n\x10SchemaDefinition\x12\x30\n\nschemaType\x18\x01 \x01(\x0e\x32\x1c.tracdap.metadata.SchemaType\x12,\n\x08partType\x18\x02 \x01(\x0e\x32\x1a.tracdap.metadata.PartType\x12.\n\x05table\x18\x03 \x01(\x0b\x32\x1d.tracdap.metadata.TableSchemaH\x00\x42\x16\n\x14schemaTypeDefinition\"\x81\x02\n\x07PartKey\x12\x11\n\topaqueKey\x18\x01 \x01(\t\x12,\n\x08partType\x18\x02 \x01(\x0e\x32\x1a.tracdap.metadata.PartType\x12+\n\npartValues\x18\x03 \x03(\x0b\x32\x17.tracdap.metadata.Value\x12\x32\n\x0cpartRangeMin\x18\x04 \x01(\x0b\x32\x17.tracdap.metadata.ValueH\x00\x88\x01\x01\x12\x32\n\x0cpartRangeMax\x18\x05 \x01(\x0b\x32\x17.tracdap.metadata.ValueH\x01\x88\x01\x01\x42\x0f\n\r_partRangeMinB\x0f\n\r_partRangeMax\"\xba\x04\n\x0e\x44\x61taDefinition\x12\x31\n\x08schemaId\x18\x01 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelectorH\x00\x12\x34\n\x06schema\x18\x02 \x01(\x0b\x32\".tracdap.metadata.SchemaDefinitionH\x00\x12:\n\x05parts\x18\x03 \x03(\x0b\x32+.tracdap.metadata.DataDefinition.PartsEntry\x12\x30\n\tstorageId\x18\x04 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector\x1a-\n\x05\x44\x65lta\x12\x12\n\ndeltaIndex\x18\x01 \x01(\r\x12\x10\n\x08\x64\x61taItem\x18\x02 \x01(\t\x1aQ\n\x04Snap\x12\x11\n\tsnapIndex\x18\x01 \x01(\r\x12\x36\n\x06\x64\x65ltas\x18\x02 \x03(\x0b\x32&.tracdap.metadata.DataDefinition.Delta\x1ag\n\x04Part\x12*\n\x07partKey\x18\x01 \x01(\x0b\x32\x19.tracdap.metadata.PartKey\x12\x33\n\x04snap\x18\x02 \x01(\x0b\x32%.tracdap.metadata.DataDefinition.Snap\x1aS\n\nPartsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32%.tracdap.metadata.DataDefinition.Part:\x02\x38\x01\x42\x11\n\x0fschemaSpecifier*0\n\nSchemaType\x12\x17\n\x13SCHEMA_TYPE_NOT_SET\x10\x00\x12\t\n\x05TABLE\x10\x01*?\n\x08PartType\x12\r\n\tPART_ROOT\x10\x00\x12\x11\n\rPART_BY_RANGE\x10\x01\x12\x11\n\rPART_BY_VALUE\x10\x02\x42\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
20
|
+
|
21
|
+
_globals = globals()
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.metadata.data_pb2', _globals)
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
25
|
+
_globals['DESCRIPTOR']._options = None
|
26
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
27
|
+
_globals['_DATADEFINITION_PARTSENTRY']._options = None
|
28
|
+
_globals['_DATADEFINITION_PARTSENTRY']._serialized_options = b'8\001'
|
29
|
+
_globals['_SCHEMATYPE']._serialized_start=1496
|
30
|
+
_globals['_SCHEMATYPE']._serialized_end=1544
|
31
|
+
_globals['_PARTTYPE']._serialized_start=1546
|
32
|
+
_globals['_PARTTYPE']._serialized_end=1609
|
33
|
+
_globals['_FIELDSCHEMA']._serialized_start=179
|
34
|
+
_globals['_FIELDSCHEMA']._serialized_end=410
|
35
|
+
_globals['_TABLESCHEMA']._serialized_start=412
|
36
|
+
_globals['_TABLESCHEMA']._serialized_end=472
|
37
|
+
_globals['_SCHEMADEFINITION']._serialized_start=475
|
38
|
+
_globals['_SCHEMADEFINITION']._serialized_end=661
|
39
|
+
_globals['_PARTKEY']._serialized_start=664
|
40
|
+
_globals['_PARTKEY']._serialized_end=921
|
41
|
+
_globals['_DATADEFINITION']._serialized_start=924
|
42
|
+
_globals['_DATADEFINITION']._serialized_end=1494
|
43
|
+
_globals['_DATADEFINITION_DELTA']._serialized_start=1157
|
44
|
+
_globals['_DATADEFINITION_DELTA']._serialized_end=1202
|
45
|
+
_globals['_DATADEFINITION_SNAP']._serialized_start=1204
|
46
|
+
_globals['_DATADEFINITION_SNAP']._serialized_end=1285
|
47
|
+
_globals['_DATADEFINITION_PART']._serialized_start=1287
|
48
|
+
_globals['_DATADEFINITION_PART']._serialized_end=1390
|
49
|
+
_globals['_DATADEFINITION_PARTSENTRY']._serialized_start=1392
|
50
|
+
_globals['_DATADEFINITION_PARTSENTRY']._serialized_end=1475
|
51
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,115 @@
|
|
1
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import type_pb2 as _type_pb2
|
2
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import object_id_pb2 as _object_id_pb2
|
3
|
+
from google.protobuf.internal import containers as _containers
|
4
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
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 SchemaType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
12
|
+
__slots__ = ()
|
13
|
+
SCHEMA_TYPE_NOT_SET: _ClassVar[SchemaType]
|
14
|
+
TABLE: _ClassVar[SchemaType]
|
15
|
+
|
16
|
+
class PartType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
17
|
+
__slots__ = ()
|
18
|
+
PART_ROOT: _ClassVar[PartType]
|
19
|
+
PART_BY_RANGE: _ClassVar[PartType]
|
20
|
+
PART_BY_VALUE: _ClassVar[PartType]
|
21
|
+
SCHEMA_TYPE_NOT_SET: SchemaType
|
22
|
+
TABLE: SchemaType
|
23
|
+
PART_ROOT: PartType
|
24
|
+
PART_BY_RANGE: PartType
|
25
|
+
PART_BY_VALUE: PartType
|
26
|
+
|
27
|
+
class FieldSchema(_message.Message):
|
28
|
+
__slots__ = ("fieldName", "fieldOrder", "fieldType", "label", "businessKey", "categorical", "notNull", "formatCode")
|
29
|
+
FIELDNAME_FIELD_NUMBER: _ClassVar[int]
|
30
|
+
FIELDORDER_FIELD_NUMBER: _ClassVar[int]
|
31
|
+
FIELDTYPE_FIELD_NUMBER: _ClassVar[int]
|
32
|
+
LABEL_FIELD_NUMBER: _ClassVar[int]
|
33
|
+
BUSINESSKEY_FIELD_NUMBER: _ClassVar[int]
|
34
|
+
CATEGORICAL_FIELD_NUMBER: _ClassVar[int]
|
35
|
+
NOTNULL_FIELD_NUMBER: _ClassVar[int]
|
36
|
+
FORMATCODE_FIELD_NUMBER: _ClassVar[int]
|
37
|
+
fieldName: str
|
38
|
+
fieldOrder: int
|
39
|
+
fieldType: _type_pb2.BasicType
|
40
|
+
label: str
|
41
|
+
businessKey: bool
|
42
|
+
categorical: bool
|
43
|
+
notNull: bool
|
44
|
+
formatCode: str
|
45
|
+
def __init__(self, fieldName: _Optional[str] = ..., fieldOrder: _Optional[int] = ..., fieldType: _Optional[_Union[_type_pb2.BasicType, str]] = ..., label: _Optional[str] = ..., businessKey: bool = ..., categorical: bool = ..., notNull: bool = ..., formatCode: _Optional[str] = ...) -> None: ...
|
46
|
+
|
47
|
+
class TableSchema(_message.Message):
|
48
|
+
__slots__ = ("fields",)
|
49
|
+
FIELDS_FIELD_NUMBER: _ClassVar[int]
|
50
|
+
fields: _containers.RepeatedCompositeFieldContainer[FieldSchema]
|
51
|
+
def __init__(self, fields: _Optional[_Iterable[_Union[FieldSchema, _Mapping]]] = ...) -> None: ...
|
52
|
+
|
53
|
+
class SchemaDefinition(_message.Message):
|
54
|
+
__slots__ = ("schemaType", "partType", "table")
|
55
|
+
SCHEMATYPE_FIELD_NUMBER: _ClassVar[int]
|
56
|
+
PARTTYPE_FIELD_NUMBER: _ClassVar[int]
|
57
|
+
TABLE_FIELD_NUMBER: _ClassVar[int]
|
58
|
+
schemaType: SchemaType
|
59
|
+
partType: PartType
|
60
|
+
table: TableSchema
|
61
|
+
def __init__(self, schemaType: _Optional[_Union[SchemaType, str]] = ..., partType: _Optional[_Union[PartType, str]] = ..., table: _Optional[_Union[TableSchema, _Mapping]] = ...) -> None: ...
|
62
|
+
|
63
|
+
class PartKey(_message.Message):
|
64
|
+
__slots__ = ("opaqueKey", "partType", "partValues", "partRangeMin", "partRangeMax")
|
65
|
+
OPAQUEKEY_FIELD_NUMBER: _ClassVar[int]
|
66
|
+
PARTTYPE_FIELD_NUMBER: _ClassVar[int]
|
67
|
+
PARTVALUES_FIELD_NUMBER: _ClassVar[int]
|
68
|
+
PARTRANGEMIN_FIELD_NUMBER: _ClassVar[int]
|
69
|
+
PARTRANGEMAX_FIELD_NUMBER: _ClassVar[int]
|
70
|
+
opaqueKey: str
|
71
|
+
partType: PartType
|
72
|
+
partValues: _containers.RepeatedCompositeFieldContainer[_type_pb2.Value]
|
73
|
+
partRangeMin: _type_pb2.Value
|
74
|
+
partRangeMax: _type_pb2.Value
|
75
|
+
def __init__(self, opaqueKey: _Optional[str] = ..., partType: _Optional[_Union[PartType, str]] = ..., partValues: _Optional[_Iterable[_Union[_type_pb2.Value, _Mapping]]] = ..., partRangeMin: _Optional[_Union[_type_pb2.Value, _Mapping]] = ..., partRangeMax: _Optional[_Union[_type_pb2.Value, _Mapping]] = ...) -> None: ...
|
76
|
+
|
77
|
+
class DataDefinition(_message.Message):
|
78
|
+
__slots__ = ("schemaId", "schema", "parts", "storageId")
|
79
|
+
class Delta(_message.Message):
|
80
|
+
__slots__ = ("deltaIndex", "dataItem")
|
81
|
+
DELTAINDEX_FIELD_NUMBER: _ClassVar[int]
|
82
|
+
DATAITEM_FIELD_NUMBER: _ClassVar[int]
|
83
|
+
deltaIndex: int
|
84
|
+
dataItem: str
|
85
|
+
def __init__(self, deltaIndex: _Optional[int] = ..., dataItem: _Optional[str] = ...) -> None: ...
|
86
|
+
class Snap(_message.Message):
|
87
|
+
__slots__ = ("snapIndex", "deltas")
|
88
|
+
SNAPINDEX_FIELD_NUMBER: _ClassVar[int]
|
89
|
+
DELTAS_FIELD_NUMBER: _ClassVar[int]
|
90
|
+
snapIndex: int
|
91
|
+
deltas: _containers.RepeatedCompositeFieldContainer[DataDefinition.Delta]
|
92
|
+
def __init__(self, snapIndex: _Optional[int] = ..., deltas: _Optional[_Iterable[_Union[DataDefinition.Delta, _Mapping]]] = ...) -> None: ...
|
93
|
+
class Part(_message.Message):
|
94
|
+
__slots__ = ("partKey", "snap")
|
95
|
+
PARTKEY_FIELD_NUMBER: _ClassVar[int]
|
96
|
+
SNAP_FIELD_NUMBER: _ClassVar[int]
|
97
|
+
partKey: PartKey
|
98
|
+
snap: DataDefinition.Snap
|
99
|
+
def __init__(self, partKey: _Optional[_Union[PartKey, _Mapping]] = ..., snap: _Optional[_Union[DataDefinition.Snap, _Mapping]] = ...) -> None: ...
|
100
|
+
class PartsEntry(_message.Message):
|
101
|
+
__slots__ = ("key", "value")
|
102
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
103
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
104
|
+
key: str
|
105
|
+
value: DataDefinition.Part
|
106
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[DataDefinition.Part, _Mapping]] = ...) -> None: ...
|
107
|
+
SCHEMAID_FIELD_NUMBER: _ClassVar[int]
|
108
|
+
SCHEMA_FIELD_NUMBER: _ClassVar[int]
|
109
|
+
PARTS_FIELD_NUMBER: _ClassVar[int]
|
110
|
+
STORAGEID_FIELD_NUMBER: _ClassVar[int]
|
111
|
+
schemaId: _object_id_pb2.TagSelector
|
112
|
+
schema: SchemaDefinition
|
113
|
+
parts: _containers.MessageMap[str, DataDefinition.Part]
|
114
|
+
storageId: _object_id_pb2.TagSelector
|
115
|
+
def __init__(self, schemaId: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ..., schema: _Optional[_Union[SchemaDefinition, _Mapping]] = ..., parts: _Optional[_Mapping[str, DataDefinition.Part]] = ..., storageId: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ...) -> None: ...
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: tracdap/rt/_impl/grpc/tracdap/metadata/file.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
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 tracdap.rt._impl.grpc.tracdap.metadata import object_id_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_object__id__pb2
|
16
|
+
|
17
|
+
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1tracdap/rt/_impl/grpc/tracdap/metadata/file.proto\x12\x10tracdap.metadata\x1a\x36tracdap/rt/_impl/grpc/tracdap/metadata/object_id.proto\"\x95\x01\n\x0e\x46ileDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\textension\x18\x02 \x01(\t\x12\x10\n\x08mimeType\x18\x03 \x01(\t\x12\x0c\n\x04size\x18\x04 \x01(\x04\x12\x30\n\tstorageId\x18\x05 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector\x12\x10\n\x08\x64\x61taItem\x18\x06 \x01(\tB\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
19
|
+
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.metadata.file_pb2', _globals)
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
24
|
+
_globals['DESCRIPTOR']._options = None
|
25
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
26
|
+
_globals['_FILEDEFINITION']._serialized_start=128
|
27
|
+
_globals['_FILEDEFINITION']._serialized_end=277
|
28
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import object_id_pb2 as _object_id_pb2
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
3
|
+
from google.protobuf import message as _message
|
4
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
5
|
+
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
7
|
+
|
8
|
+
class FileDefinition(_message.Message):
|
9
|
+
__slots__ = ("name", "extension", "mimeType", "size", "storageId", "dataItem")
|
10
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
11
|
+
EXTENSION_FIELD_NUMBER: _ClassVar[int]
|
12
|
+
MIMETYPE_FIELD_NUMBER: _ClassVar[int]
|
13
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
14
|
+
STORAGEID_FIELD_NUMBER: _ClassVar[int]
|
15
|
+
DATAITEM_FIELD_NUMBER: _ClassVar[int]
|
16
|
+
name: str
|
17
|
+
extension: str
|
18
|
+
mimeType: str
|
19
|
+
size: int
|
20
|
+
storageId: _object_id_pb2.TagSelector
|
21
|
+
dataItem: str
|
22
|
+
def __init__(self, name: _Optional[str] = ..., extension: _Optional[str] = ..., mimeType: _Optional[str] = ..., size: _Optional[int] = ..., storageId: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ..., dataItem: _Optional[str] = ...) -> None: ...
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: tracdap/rt/_impl/grpc/tracdap/metadata/flow.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
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 tracdap.rt._impl.grpc.tracdap.metadata import type_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_type__pb2
|
16
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import model_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_model__pb2
|
17
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import search_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_search__pb2
|
18
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import tag_update_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_tag__update__pb2
|
19
|
+
|
20
|
+
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1tracdap/rt/_impl/grpc/tracdap/metadata/flow.proto\x12\x10tracdap.metadata\x1a\x31tracdap/rt/_impl/grpc/tracdap/metadata/type.proto\x1a\x32tracdap/rt/_impl/grpc/tracdap/metadata/model.proto\x1a\x33tracdap/rt/_impl/grpc/tracdap/metadata/search.proto\x1a\x37tracdap/rt/_impl/grpc/tracdap/metadata/tag_update.proto\"\xf1\x02\n\x08\x46lowNode\x12\x30\n\x08nodeType\x18\x01 \x01(\x0e\x32\x1e.tracdap.metadata.FlowNodeType\x12\x12\n\nparameters\x18\x07 \x03(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x0f\n\x07outputs\x18\x03 \x03(\t\x12\x36\n\nnodeSearch\x18\x04 \x01(\x0b\x32\".tracdap.metadata.SearchExpression\x12.\n\tnodeAttrs\x18\x05 \x03(\x0b\x32\x1b.tracdap.metadata.TagUpdate\x12<\n\tnodeProps\x18\x08 \x03(\x0b\x32).tracdap.metadata.FlowNode.NodePropsEntry\x12\r\n\x05label\x18\x06 \x01(\t\x1aI\n\x0eNodePropsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.tracdap.metadata.Value:\x02\x38\x01\"*\n\nFlowSocket\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\x0e\n\x06socket\x18\x02 \x01(\t\"f\n\x08\x46lowEdge\x12,\n\x06source\x18\x01 \x01(\x0b\x32\x1c.tracdap.metadata.FlowSocket\x12,\n\x06target\x18\x02 \x01(\x0b\x32\x1c.tracdap.metadata.FlowSocket\"\x82\x05\n\x0e\x46lowDefinition\x12:\n\x05nodes\x18\x01 \x03(\x0b\x32+.tracdap.metadata.FlowDefinition.NodesEntry\x12)\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x1a.tracdap.metadata.FlowEdge\x12\x44\n\nparameters\x18\x03 \x03(\x0b\x32\x30.tracdap.metadata.FlowDefinition.ParametersEntry\x12<\n\x06inputs\x18\x04 \x03(\x0b\x32,.tracdap.metadata.FlowDefinition.InputsEntry\x12>\n\x07outputs\x18\x05 \x03(\x0b\x32-.tracdap.metadata.FlowDefinition.OutputsEntry\x1aH\n\nNodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.tracdap.metadata.FlowNode:\x02\x38\x01\x1aS\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .tracdap.metadata.ModelParameter:\x02\x38\x01\x1aQ\n\x0bInputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".tracdap.metadata.ModelInputSchema:\x02\x38\x01\x1aS\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.tracdap.metadata.ModelOutputSchema:\x02\x38\x01*j\n\x0c\x46lowNodeType\x12\x15\n\x11NODE_TYPE_NOT_SET\x10\x00\x12\x0e\n\nINPUT_NODE\x10\x01\x12\x0f\n\x0bOUTPUT_NODE\x10\x02\x12\x0e\n\nMODEL_NODE\x10\x03\x12\x12\n\x0ePARAMETER_NODE\x10\x04\x42\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
22
|
+
|
23
|
+
_globals = globals()
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.metadata.flow_pb2', _globals)
|
26
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
27
|
+
_globals['DESCRIPTOR']._options = None
|
28
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
29
|
+
_globals['_FLOWNODE_NODEPROPSENTRY']._options = None
|
30
|
+
_globals['_FLOWNODE_NODEPROPSENTRY']._serialized_options = b'8\001'
|
31
|
+
_globals['_FLOWDEFINITION_NODESENTRY']._options = None
|
32
|
+
_globals['_FLOWDEFINITION_NODESENTRY']._serialized_options = b'8\001'
|
33
|
+
_globals['_FLOWDEFINITION_PARAMETERSENTRY']._options = None
|
34
|
+
_globals['_FLOWDEFINITION_PARAMETERSENTRY']._serialized_options = b'8\001'
|
35
|
+
_globals['_FLOWDEFINITION_INPUTSENTRY']._options = None
|
36
|
+
_globals['_FLOWDEFINITION_INPUTSENTRY']._serialized_options = b'8\001'
|
37
|
+
_globals['_FLOWDEFINITION_OUTPUTSENTRY']._options = None
|
38
|
+
_globals['_FLOWDEFINITION_OUTPUTSENTRY']._serialized_options = b'8\001'
|
39
|
+
_globals['_FLOWNODETYPE']._serialized_start=1449
|
40
|
+
_globals['_FLOWNODETYPE']._serialized_end=1555
|
41
|
+
_globals['_FLOWNODE']._serialized_start=285
|
42
|
+
_globals['_FLOWNODE']._serialized_end=654
|
43
|
+
_globals['_FLOWNODE_NODEPROPSENTRY']._serialized_start=581
|
44
|
+
_globals['_FLOWNODE_NODEPROPSENTRY']._serialized_end=654
|
45
|
+
_globals['_FLOWSOCKET']._serialized_start=656
|
46
|
+
_globals['_FLOWSOCKET']._serialized_end=698
|
47
|
+
_globals['_FLOWEDGE']._serialized_start=700
|
48
|
+
_globals['_FLOWEDGE']._serialized_end=802
|
49
|
+
_globals['_FLOWDEFINITION']._serialized_start=805
|
50
|
+
_globals['_FLOWDEFINITION']._serialized_end=1447
|
51
|
+
_globals['_FLOWDEFINITION_NODESENTRY']._serialized_start=1122
|
52
|
+
_globals['_FLOWDEFINITION_NODESENTRY']._serialized_end=1194
|
53
|
+
_globals['_FLOWDEFINITION_PARAMETERSENTRY']._serialized_start=1196
|
54
|
+
_globals['_FLOWDEFINITION_PARAMETERSENTRY']._serialized_end=1279
|
55
|
+
_globals['_FLOWDEFINITION_INPUTSENTRY']._serialized_start=1281
|
56
|
+
_globals['_FLOWDEFINITION_INPUTSENTRY']._serialized_end=1362
|
57
|
+
_globals['_FLOWDEFINITION_OUTPUTSENTRY']._serialized_start=1364
|
58
|
+
_globals['_FLOWDEFINITION_OUTPUTSENTRY']._serialized_end=1447
|
59
|
+
# @@protoc_insertion_point(module_scope)
|