tracdap-runtime 0.6.1.dev2__py3-none-any.whl → 0.6.2__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.
Files changed (98) hide show
  1. tracdap/rt/_exec/context.py +25 -1
  2. tracdap/rt/_exec/dev_mode.py +277 -213
  3. tracdap/rt/_exec/functions.py +37 -8
  4. tracdap/rt/_exec/graph.py +2 -0
  5. tracdap/rt/_exec/graph_builder.py +118 -56
  6. tracdap/rt/_exec/runtime.py +28 -0
  7. tracdap/rt/_exec/server.py +68 -0
  8. tracdap/rt/_impl/data.py +14 -0
  9. tracdap/rt/_impl/grpc/__init__.py +13 -0
  10. tracdap/rt/_impl/grpc/codec.py +44 -0
  11. tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2.py +51 -0
  12. tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2.pyi +59 -0
  13. tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2_grpc.py +183 -0
  14. tracdap/rt/_impl/grpc/tracdap/config/common_pb2.py +55 -0
  15. tracdap/rt/_impl/grpc/tracdap/config/common_pb2.pyi +103 -0
  16. tracdap/rt/_impl/grpc/tracdap/config/job_pb2.py +42 -0
  17. tracdap/rt/_impl/grpc/tracdap/config/job_pb2.pyi +44 -0
  18. tracdap/rt/_impl/grpc/tracdap/config/platform_pb2.py +71 -0
  19. tracdap/rt/_impl/grpc/tracdap/config/platform_pb2.pyi +197 -0
  20. tracdap/rt/_impl/grpc/tracdap/config/result_pb2.py +37 -0
  21. tracdap/rt/_impl/grpc/tracdap/config/result_pb2.pyi +35 -0
  22. tracdap/rt/_impl/grpc/tracdap/config/runtime_pb2.py +42 -0
  23. tracdap/rt/_impl/grpc/tracdap/config/runtime_pb2.pyi +46 -0
  24. tracdap/rt/_impl/grpc/tracdap/metadata/common_pb2.py +33 -0
  25. tracdap/rt/_impl/grpc/tracdap/metadata/common_pb2.pyi +34 -0
  26. tracdap/rt/{metadata → _impl/grpc/tracdap/metadata}/custom_pb2.py +5 -5
  27. tracdap/rt/_impl/grpc/tracdap/metadata/custom_pb2.pyi +15 -0
  28. tracdap/rt/_impl/grpc/tracdap/metadata/data_pb2.py +51 -0
  29. tracdap/rt/_impl/grpc/tracdap/metadata/data_pb2.pyi +115 -0
  30. tracdap/rt/_impl/grpc/tracdap/metadata/file_pb2.py +28 -0
  31. tracdap/rt/_impl/grpc/tracdap/metadata/file_pb2.pyi +22 -0
  32. tracdap/rt/_impl/grpc/tracdap/metadata/flow_pb2.py +59 -0
  33. tracdap/rt/_impl/grpc/tracdap/metadata/flow_pb2.pyi +109 -0
  34. tracdap/rt/_impl/grpc/tracdap/metadata/job_pb2.py +76 -0
  35. tracdap/rt/_impl/grpc/tracdap/metadata/job_pb2.pyi +177 -0
  36. tracdap/rt/_impl/grpc/tracdap/metadata/model_pb2.py +51 -0
  37. tracdap/rt/_impl/grpc/tracdap/metadata/model_pb2.pyi +92 -0
  38. tracdap/rt/_impl/grpc/tracdap/metadata/object_id_pb2.py +32 -0
  39. tracdap/rt/_impl/grpc/tracdap/metadata/object_id_pb2.pyi +68 -0
  40. tracdap/rt/_impl/grpc/tracdap/metadata/object_pb2.py +35 -0
  41. tracdap/rt/_impl/grpc/tracdap/metadata/object_pb2.pyi +35 -0
  42. tracdap/rt/_impl/grpc/tracdap/metadata/search_pb2.py +39 -0
  43. tracdap/rt/_impl/grpc/tracdap/metadata/search_pb2.pyi +83 -0
  44. tracdap/rt/_impl/grpc/tracdap/metadata/stoarge_pb2.py +50 -0
  45. tracdap/rt/_impl/grpc/tracdap/metadata/stoarge_pb2.pyi +89 -0
  46. tracdap/rt/_impl/grpc/tracdap/metadata/tag_pb2.py +34 -0
  47. tracdap/rt/_impl/grpc/tracdap/metadata/tag_pb2.pyi +26 -0
  48. tracdap/rt/_impl/grpc/tracdap/metadata/tag_update_pb2.py +30 -0
  49. tracdap/rt/_impl/grpc/tracdap/metadata/tag_update_pb2.pyi +34 -0
  50. tracdap/rt/_impl/grpc/tracdap/metadata/type_pb2.py +47 -0
  51. tracdap/rt/_impl/grpc/tracdap/metadata/type_pb2.pyi +101 -0
  52. tracdap/rt/_impl/guard_rails.py +5 -6
  53. tracdap/rt/_impl/static_api.py +10 -6
  54. tracdap/rt/_version.py +1 -1
  55. tracdap/rt/api/hook.py +6 -2
  56. tracdap/rt/api/model_api.py +22 -0
  57. tracdap/rt/api/static_api.py +14 -4
  58. tracdap/rt/config/__init__.py +3 -3
  59. tracdap/rt/config/platform.py +9 -9
  60. tracdap/rt/launch/cli.py +3 -5
  61. tracdap/rt/launch/launch.py +15 -3
  62. tracdap/rt/metadata/__init__.py +15 -15
  63. tracdap/rt/metadata/common.py +7 -7
  64. tracdap/rt/metadata/custom.py +2 -0
  65. tracdap/rt/metadata/data.py +28 -5
  66. tracdap/rt/metadata/file.py +2 -0
  67. tracdap/rt/metadata/flow.py +66 -4
  68. tracdap/rt/metadata/job.py +56 -16
  69. tracdap/rt/metadata/model.py +4 -0
  70. tracdap/rt/metadata/object_id.py +9 -9
  71. tracdap/rt/metadata/search.py +35 -13
  72. tracdap/rt/metadata/stoarge.py +64 -6
  73. tracdap/rt/metadata/tag_update.py +21 -7
  74. tracdap/rt/metadata/type.py +28 -13
  75. {tracdap_runtime-0.6.1.dev2.dist-info → tracdap_runtime-0.6.2.dist-info}/METADATA +22 -19
  76. tracdap_runtime-0.6.2.dist-info/RECORD +121 -0
  77. {tracdap_runtime-0.6.1.dev2.dist-info → tracdap_runtime-0.6.2.dist-info}/WHEEL +1 -1
  78. tracdap/rt/config/common_pb2.py +0 -55
  79. tracdap/rt/config/job_pb2.py +0 -42
  80. tracdap/rt/config/platform_pb2.py +0 -71
  81. tracdap/rt/config/result_pb2.py +0 -37
  82. tracdap/rt/config/runtime_pb2.py +0 -42
  83. tracdap/rt/metadata/common_pb2.py +0 -33
  84. tracdap/rt/metadata/data_pb2.py +0 -51
  85. tracdap/rt/metadata/file_pb2.py +0 -28
  86. tracdap/rt/metadata/flow_pb2.py +0 -55
  87. tracdap/rt/metadata/job_pb2.py +0 -76
  88. tracdap/rt/metadata/model_pb2.py +0 -51
  89. tracdap/rt/metadata/object_id_pb2.py +0 -32
  90. tracdap/rt/metadata/object_pb2.py +0 -35
  91. tracdap/rt/metadata/search_pb2.py +0 -39
  92. tracdap/rt/metadata/stoarge_pb2.py +0 -50
  93. tracdap/rt/metadata/tag_pb2.py +0 -34
  94. tracdap/rt/metadata/tag_update_pb2.py +0 -30
  95. tracdap/rt/metadata/type_pb2.py +0 -48
  96. tracdap_runtime-0.6.1.dev2.dist-info/RECORD +0 -96
  97. {tracdap_runtime-0.6.1.dev2.dist-info → tracdap_runtime-0.6.2.dist-info}/LICENSE +0 -0
  98. {tracdap_runtime-0.6.1.dev2.dist-info → tracdap_runtime-0.6.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,197 @@
1
+ from tracdap.rt._impl.grpc.tracdap.metadata import common_pb2 as _common_pb2
2
+ from tracdap.rt._impl.grpc.tracdap.config import common_pb2 as _common_pb2_1
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 RoutingProtocol(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
12
+ __slots__ = ()
13
+ PROTOCOL_NOT_SET: _ClassVar[RoutingProtocol]
14
+ HTTP: _ClassVar[RoutingProtocol]
15
+ GRPC: _ClassVar[RoutingProtocol]
16
+ GRPC_WEB: _ClassVar[RoutingProtocol]
17
+ REST: _ClassVar[RoutingProtocol]
18
+
19
+ class DeploymentLayout(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
20
+ __slots__ = ()
21
+ LAYOUT_NOT_SET: _ClassVar[DeploymentLayout]
22
+ SANDBOX: _ClassVar[DeploymentLayout]
23
+ HOSTED: _ClassVar[DeploymentLayout]
24
+ CUSTOM: _ClassVar[DeploymentLayout]
25
+ PROTOCOL_NOT_SET: RoutingProtocol
26
+ HTTP: RoutingProtocol
27
+ GRPC: RoutingProtocol
28
+ GRPC_WEB: RoutingProtocol
29
+ REST: RoutingProtocol
30
+ LAYOUT_NOT_SET: DeploymentLayout
31
+ SANDBOX: DeploymentLayout
32
+ HOSTED: DeploymentLayout
33
+ CUSTOM: DeploymentLayout
34
+
35
+ class PlatformConfig(_message.Message):
36
+ __slots__ = ("config", "platformInfo", "authentication", "metadata", "storage", "repositories", "executor", "jobCache", "tenants", "webServer", "gateway", "services", "deployment")
37
+ class ConfigEntry(_message.Message):
38
+ __slots__ = ("key", "value")
39
+ KEY_FIELD_NUMBER: _ClassVar[int]
40
+ VALUE_FIELD_NUMBER: _ClassVar[int]
41
+ key: str
42
+ value: str
43
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
44
+ class RepositoriesEntry(_message.Message):
45
+ __slots__ = ("key", "value")
46
+ KEY_FIELD_NUMBER: _ClassVar[int]
47
+ VALUE_FIELD_NUMBER: _ClassVar[int]
48
+ key: str
49
+ value: _common_pb2_1.PluginConfig
50
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_common_pb2_1.PluginConfig, _Mapping]] = ...) -> None: ...
51
+ class TenantsEntry(_message.Message):
52
+ __slots__ = ("key", "value")
53
+ KEY_FIELD_NUMBER: _ClassVar[int]
54
+ VALUE_FIELD_NUMBER: _ClassVar[int]
55
+ key: str
56
+ value: TenantConfig
57
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[TenantConfig, _Mapping]] = ...) -> None: ...
58
+ class ServicesEntry(_message.Message):
59
+ __slots__ = ("key", "value")
60
+ KEY_FIELD_NUMBER: _ClassVar[int]
61
+ VALUE_FIELD_NUMBER: _ClassVar[int]
62
+ key: str
63
+ value: ServiceConfig
64
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[ServiceConfig, _Mapping]] = ...) -> None: ...
65
+ CONFIG_FIELD_NUMBER: _ClassVar[int]
66
+ PLATFORMINFO_FIELD_NUMBER: _ClassVar[int]
67
+ AUTHENTICATION_FIELD_NUMBER: _ClassVar[int]
68
+ METADATA_FIELD_NUMBER: _ClassVar[int]
69
+ STORAGE_FIELD_NUMBER: _ClassVar[int]
70
+ REPOSITORIES_FIELD_NUMBER: _ClassVar[int]
71
+ EXECUTOR_FIELD_NUMBER: _ClassVar[int]
72
+ JOBCACHE_FIELD_NUMBER: _ClassVar[int]
73
+ TENANTS_FIELD_NUMBER: _ClassVar[int]
74
+ WEBSERVER_FIELD_NUMBER: _ClassVar[int]
75
+ GATEWAY_FIELD_NUMBER: _ClassVar[int]
76
+ SERVICES_FIELD_NUMBER: _ClassVar[int]
77
+ DEPLOYMENT_FIELD_NUMBER: _ClassVar[int]
78
+ config: _containers.ScalarMap[str, str]
79
+ platformInfo: _common_pb2_1.PlatformInfo
80
+ authentication: _common_pb2_1.AuthenticationConfig
81
+ metadata: MetadataConfig
82
+ storage: _common_pb2_1.StorageConfig
83
+ repositories: _containers.MessageMap[str, _common_pb2_1.PluginConfig]
84
+ executor: _common_pb2_1.PluginConfig
85
+ jobCache: _common_pb2_1.PluginConfig
86
+ tenants: _containers.MessageMap[str, TenantConfig]
87
+ webServer: WebServerConfig
88
+ gateway: GatewayConfig
89
+ services: _containers.MessageMap[str, ServiceConfig]
90
+ deployment: DeploymentConfig
91
+ def __init__(self, config: _Optional[_Mapping[str, str]] = ..., platformInfo: _Optional[_Union[_common_pb2_1.PlatformInfo, _Mapping]] = ..., authentication: _Optional[_Union[_common_pb2_1.AuthenticationConfig, _Mapping]] = ..., metadata: _Optional[_Union[MetadataConfig, _Mapping]] = ..., storage: _Optional[_Union[_common_pb2_1.StorageConfig, _Mapping]] = ..., repositories: _Optional[_Mapping[str, _common_pb2_1.PluginConfig]] = ..., executor: _Optional[_Union[_common_pb2_1.PluginConfig, _Mapping]] = ..., jobCache: _Optional[_Union[_common_pb2_1.PluginConfig, _Mapping]] = ..., tenants: _Optional[_Mapping[str, TenantConfig]] = ..., webServer: _Optional[_Union[WebServerConfig, _Mapping]] = ..., gateway: _Optional[_Union[GatewayConfig, _Mapping]] = ..., services: _Optional[_Mapping[str, ServiceConfig]] = ..., deployment: _Optional[_Union[DeploymentConfig, _Mapping]] = ...) -> None: ...
92
+
93
+ class MetadataConfig(_message.Message):
94
+ __slots__ = ("database", "format")
95
+ DATABASE_FIELD_NUMBER: _ClassVar[int]
96
+ FORMAT_FIELD_NUMBER: _ClassVar[int]
97
+ database: _common_pb2_1.PluginConfig
98
+ format: _common_pb2.MetadataFormat
99
+ def __init__(self, database: _Optional[_Union[_common_pb2_1.PluginConfig, _Mapping]] = ..., format: _Optional[_Union[_common_pb2.MetadataFormat, str]] = ...) -> None: ...
100
+
101
+ class TenantConfig(_message.Message):
102
+ __slots__ = ("defaultBucket", "defaultFormat")
103
+ DEFAULTBUCKET_FIELD_NUMBER: _ClassVar[int]
104
+ DEFAULTFORMAT_FIELD_NUMBER: _ClassVar[int]
105
+ defaultBucket: str
106
+ defaultFormat: str
107
+ def __init__(self, defaultBucket: _Optional[str] = ..., defaultFormat: _Optional[str] = ...) -> None: ...
108
+
109
+ class WebServerConfig(_message.Message):
110
+ __slots__ = ("enabled", "contentRoot", "rewriteRules", "redirects")
111
+ ENABLED_FIELD_NUMBER: _ClassVar[int]
112
+ CONTENTROOT_FIELD_NUMBER: _ClassVar[int]
113
+ REWRITERULES_FIELD_NUMBER: _ClassVar[int]
114
+ REDIRECTS_FIELD_NUMBER: _ClassVar[int]
115
+ enabled: bool
116
+ contentRoot: _common_pb2_1.PluginConfig
117
+ rewriteRules: _containers.RepeatedCompositeFieldContainer[WebServerRewriteRule]
118
+ redirects: _containers.RepeatedCompositeFieldContainer[WebServerRedirect]
119
+ def __init__(self, enabled: bool = ..., contentRoot: _Optional[_Union[_common_pb2_1.PluginConfig, _Mapping]] = ..., rewriteRules: _Optional[_Iterable[_Union[WebServerRewriteRule, _Mapping]]] = ..., redirects: _Optional[_Iterable[_Union[WebServerRedirect, _Mapping]]] = ...) -> None: ...
120
+
121
+ class WebServerRewriteRule(_message.Message):
122
+ __slots__ = ("source", "target")
123
+ SOURCE_FIELD_NUMBER: _ClassVar[int]
124
+ TARGET_FIELD_NUMBER: _ClassVar[int]
125
+ source: str
126
+ target: str
127
+ def __init__(self, source: _Optional[str] = ..., target: _Optional[str] = ...) -> None: ...
128
+
129
+ class WebServerRedirect(_message.Message):
130
+ __slots__ = ("source", "target", "status")
131
+ SOURCE_FIELD_NUMBER: _ClassVar[int]
132
+ TARGET_FIELD_NUMBER: _ClassVar[int]
133
+ STATUS_FIELD_NUMBER: _ClassVar[int]
134
+ source: str
135
+ target: str
136
+ status: int
137
+ def __init__(self, source: _Optional[str] = ..., target: _Optional[str] = ..., status: _Optional[int] = ...) -> None: ...
138
+
139
+ class GatewayConfig(_message.Message):
140
+ __slots__ = ("idleTimeout", "routes", "redirects")
141
+ IDLETIMEOUT_FIELD_NUMBER: _ClassVar[int]
142
+ ROUTES_FIELD_NUMBER: _ClassVar[int]
143
+ REDIRECTS_FIELD_NUMBER: _ClassVar[int]
144
+ idleTimeout: int
145
+ routes: _containers.RepeatedCompositeFieldContainer[RouteConfig]
146
+ redirects: _containers.RepeatedCompositeFieldContainer[WebServerRedirect]
147
+ def __init__(self, idleTimeout: _Optional[int] = ..., routes: _Optional[_Iterable[_Union[RouteConfig, _Mapping]]] = ..., redirects: _Optional[_Iterable[_Union[WebServerRedirect, _Mapping]]] = ...) -> None: ...
148
+
149
+ class RouteConfig(_message.Message):
150
+ __slots__ = ("routeName", "routeType", "protocols", "match", "target")
151
+ ROUTENAME_FIELD_NUMBER: _ClassVar[int]
152
+ ROUTETYPE_FIELD_NUMBER: _ClassVar[int]
153
+ PROTOCOLS_FIELD_NUMBER: _ClassVar[int]
154
+ MATCH_FIELD_NUMBER: _ClassVar[int]
155
+ TARGET_FIELD_NUMBER: _ClassVar[int]
156
+ routeName: str
157
+ routeType: RoutingProtocol
158
+ protocols: _containers.RepeatedScalarFieldContainer[RoutingProtocol]
159
+ match: RoutingMatch
160
+ target: RoutingTarget
161
+ def __init__(self, routeName: _Optional[str] = ..., routeType: _Optional[_Union[RoutingProtocol, str]] = ..., protocols: _Optional[_Iterable[_Union[RoutingProtocol, str]]] = ..., match: _Optional[_Union[RoutingMatch, _Mapping]] = ..., target: _Optional[_Union[RoutingTarget, _Mapping]] = ...) -> None: ...
162
+
163
+ class RoutingMatch(_message.Message):
164
+ __slots__ = ("host", "path")
165
+ HOST_FIELD_NUMBER: _ClassVar[int]
166
+ PATH_FIELD_NUMBER: _ClassVar[int]
167
+ host: str
168
+ path: str
169
+ def __init__(self, host: _Optional[str] = ..., path: _Optional[str] = ...) -> None: ...
170
+
171
+ class RoutingTarget(_message.Message):
172
+ __slots__ = ("scheme", "host", "port", "path")
173
+ SCHEME_FIELD_NUMBER: _ClassVar[int]
174
+ HOST_FIELD_NUMBER: _ClassVar[int]
175
+ PORT_FIELD_NUMBER: _ClassVar[int]
176
+ PATH_FIELD_NUMBER: _ClassVar[int]
177
+ scheme: str
178
+ host: str
179
+ port: int
180
+ path: str
181
+ def __init__(self, scheme: _Optional[str] = ..., host: _Optional[str] = ..., port: _Optional[int] = ..., path: _Optional[str] = ...) -> None: ...
182
+
183
+ class ServiceConfig(_message.Message):
184
+ __slots__ = ("enabled", "alias", "port")
185
+ ENABLED_FIELD_NUMBER: _ClassVar[int]
186
+ ALIAS_FIELD_NUMBER: _ClassVar[int]
187
+ PORT_FIELD_NUMBER: _ClassVar[int]
188
+ enabled: bool
189
+ alias: str
190
+ port: int
191
+ def __init__(self, enabled: bool = ..., alias: _Optional[str] = ..., port: _Optional[int] = ...) -> None: ...
192
+
193
+ class DeploymentConfig(_message.Message):
194
+ __slots__ = ("layout",)
195
+ LAYOUT_FIELD_NUMBER: _ClassVar[int]
196
+ layout: DeploymentLayout
197
+ def __init__(self, layout: _Optional[_Union[DeploymentLayout, str]] = ...) -> None: ...
@@ -0,0 +1,37 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tracdap/rt/_impl/grpc/tracdap/config/result.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
+ from tracdap.rt._impl.grpc.tracdap.metadata import object_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_object__pb2
17
+ from tracdap.rt._impl.grpc.tracdap.metadata import job_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_job__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/config/result.proto\x12\x0etracdap.config\x1a\x36tracdap/rt/_impl/grpc/tracdap/metadata/object_id.proto\x1a\x33tracdap/rt/_impl/grpc/tracdap/metadata/object.proto\x1a\x30tracdap/rt/_impl/grpc/tracdap/metadata/job.proto\x1a\x37tracdap/rt/_impl/grpc/tracdap/metadata/tag_update.proto\";\n\rTagUpdateList\x12*\n\x05\x61ttrs\x18\x01 \x03(\x0b\x32\x1b.tracdap.metadata.TagUpdate\"\x9d\x02\n\tJobResult\x12*\n\x05jobId\x18\x01 \x01(\x0b\x32\x1b.tracdap.metadata.TagHeader\x12\x33\n\nstatusCode\x18\x02 \x01(\x0e\x32\x1f.tracdap.metadata.JobStatusCode\x12\x15\n\rstatusMessage\x18\x03 \x01(\t\x12\x37\n\x07results\x18\x04 \x03(\x0b\x32&.tracdap.config.JobResult.ResultsEntry\x1aR\n\x0cResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".tracdap.metadata.ObjectDefinition:\x02\x38\x01J\x04\x08\x05\x10\x06R\x05\x61ttrsB\x1c\n\x18org.finos.tracdap.configP\x01\x62\x06proto3')
22
+
23
+ _globals = globals()
24
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
25
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.config.result_pb2', _globals)
26
+ if _descriptor._USE_C_DESCRIPTORS == False:
27
+ _globals['DESCRIPTOR']._options = None
28
+ _globals['DESCRIPTOR']._serialized_options = b'\n\030org.finos.tracdap.configP\001'
29
+ _globals['_JOBRESULT_RESULTSENTRY']._options = None
30
+ _globals['_JOBRESULT_RESULTSENTRY']._serialized_options = b'8\001'
31
+ _globals['_TAGUPDATELIST']._serialized_start=285
32
+ _globals['_TAGUPDATELIST']._serialized_end=344
33
+ _globals['_JOBRESULT']._serialized_start=347
34
+ _globals['_JOBRESULT']._serialized_end=632
35
+ _globals['_JOBRESULT_RESULTSENTRY']._serialized_start=537
36
+ _globals['_JOBRESULT_RESULTSENTRY']._serialized_end=619
37
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,35 @@
1
+ from tracdap.rt._impl.grpc.tracdap.metadata import object_id_pb2 as _object_id_pb2
2
+ from tracdap.rt._impl.grpc.tracdap.metadata import object_pb2 as _object_pb2
3
+ from tracdap.rt._impl.grpc.tracdap.metadata import job_pb2 as _job_pb2
4
+ from tracdap.rt._impl.grpc.tracdap.metadata import tag_update_pb2 as _tag_update_pb2
5
+ from google.protobuf.internal import containers as _containers
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import message as _message
8
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
9
+
10
+ DESCRIPTOR: _descriptor.FileDescriptor
11
+
12
+ class TagUpdateList(_message.Message):
13
+ __slots__ = ("attrs",)
14
+ ATTRS_FIELD_NUMBER: _ClassVar[int]
15
+ attrs: _containers.RepeatedCompositeFieldContainer[_tag_update_pb2.TagUpdate]
16
+ def __init__(self, attrs: _Optional[_Iterable[_Union[_tag_update_pb2.TagUpdate, _Mapping]]] = ...) -> None: ...
17
+
18
+ class JobResult(_message.Message):
19
+ __slots__ = ("jobId", "statusCode", "statusMessage", "results")
20
+ class ResultsEntry(_message.Message):
21
+ __slots__ = ("key", "value")
22
+ KEY_FIELD_NUMBER: _ClassVar[int]
23
+ VALUE_FIELD_NUMBER: _ClassVar[int]
24
+ key: str
25
+ value: _object_pb2.ObjectDefinition
26
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_object_pb2.ObjectDefinition, _Mapping]] = ...) -> None: ...
27
+ JOBID_FIELD_NUMBER: _ClassVar[int]
28
+ STATUSCODE_FIELD_NUMBER: _ClassVar[int]
29
+ STATUSMESSAGE_FIELD_NUMBER: _ClassVar[int]
30
+ RESULTS_FIELD_NUMBER: _ClassVar[int]
31
+ jobId: _object_id_pb2.TagHeader
32
+ statusCode: _job_pb2.JobStatusCode
33
+ statusMessage: str
34
+ results: _containers.MessageMap[str, _object_pb2.ObjectDefinition]
35
+ def __init__(self, jobId: _Optional[_Union[_object_id_pb2.TagHeader, _Mapping]] = ..., statusCode: _Optional[_Union[_job_pb2.JobStatusCode, str]] = ..., statusMessage: _Optional[str] = ..., results: _Optional[_Mapping[str, _object_pb2.ObjectDefinition]] = ...) -> None: ...
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: tracdap/rt/_impl/grpc/tracdap/config/runtime.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.config import common_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_config_dot_common__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2tracdap/rt/_impl/grpc/tracdap/config/runtime.proto\x12\x0etracdap.config\x1a\x31tracdap/rt/_impl/grpc/tracdap/config/common.proto\"\xf9\x02\n\rRuntimeConfig\x12\x39\n\x06\x63onfig\x18\x01 \x03(\x0b\x32).tracdap.config.RuntimeConfig.ConfigEntry\x12.\n\x07storage\x18\x02 \x01(\x0b\x32\x1d.tracdap.config.StorageConfig\x12\x45\n\x0crepositories\x18\x03 \x03(\x0b\x32/.tracdap.config.RuntimeConfig.RepositoriesEntry\x12\x34\n\rsparkSettings\x18\x05 \x01(\x0b\x32\x1d.tracdap.config.SparkSettings\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aQ\n\x11RepositoriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig:\x02\x38\x01\"\x85\x01\n\rSparkSettings\x12\x41\n\nsparkProps\x18\x01 \x03(\x0b\x32-.tracdap.config.SparkSettings.SparkPropsEntry\x1a\x31\n\x0fSparkPropsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x18org.finos.tracdap.configP\x01\x62\x06proto3')
19
+
20
+ _globals = globals()
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.config.runtime_pb2', _globals)
23
+ if _descriptor._USE_C_DESCRIPTORS == False:
24
+ _globals['DESCRIPTOR']._options = None
25
+ _globals['DESCRIPTOR']._serialized_options = b'\n\030org.finos.tracdap.configP\001'
26
+ _globals['_RUNTIMECONFIG_CONFIGENTRY']._options = None
27
+ _globals['_RUNTIMECONFIG_CONFIGENTRY']._serialized_options = b'8\001'
28
+ _globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._options = None
29
+ _globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._serialized_options = b'8\001'
30
+ _globals['_SPARKSETTINGS_SPARKPROPSENTRY']._options = None
31
+ _globals['_SPARKSETTINGS_SPARKPROPSENTRY']._serialized_options = b'8\001'
32
+ _globals['_RUNTIMECONFIG']._serialized_start=122
33
+ _globals['_RUNTIMECONFIG']._serialized_end=499
34
+ _globals['_RUNTIMECONFIG_CONFIGENTRY']._serialized_start=371
35
+ _globals['_RUNTIMECONFIG_CONFIGENTRY']._serialized_end=416
36
+ _globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._serialized_start=418
37
+ _globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._serialized_end=499
38
+ _globals['_SPARKSETTINGS']._serialized_start=502
39
+ _globals['_SPARKSETTINGS']._serialized_end=635
40
+ _globals['_SPARKSETTINGS_SPARKPROPSENTRY']._serialized_start=586
41
+ _globals['_SPARKSETTINGS_SPARKPROPSENTRY']._serialized_end=635
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,46 @@
1
+ from tracdap.rt._impl.grpc.tracdap.config import common_pb2 as _common_pb2
2
+ from google.protobuf.internal import containers as _containers
3
+ from google.protobuf import descriptor as _descriptor
4
+ from google.protobuf import message as _message
5
+ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
6
+
7
+ DESCRIPTOR: _descriptor.FileDescriptor
8
+
9
+ class RuntimeConfig(_message.Message):
10
+ __slots__ = ("config", "storage", "repositories", "sparkSettings")
11
+ class ConfigEntry(_message.Message):
12
+ __slots__ = ("key", "value")
13
+ KEY_FIELD_NUMBER: _ClassVar[int]
14
+ VALUE_FIELD_NUMBER: _ClassVar[int]
15
+ key: str
16
+ value: str
17
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
18
+ class RepositoriesEntry(_message.Message):
19
+ __slots__ = ("key", "value")
20
+ KEY_FIELD_NUMBER: _ClassVar[int]
21
+ VALUE_FIELD_NUMBER: _ClassVar[int]
22
+ key: str
23
+ value: _common_pb2.PluginConfig
24
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_common_pb2.PluginConfig, _Mapping]] = ...) -> None: ...
25
+ CONFIG_FIELD_NUMBER: _ClassVar[int]
26
+ STORAGE_FIELD_NUMBER: _ClassVar[int]
27
+ REPOSITORIES_FIELD_NUMBER: _ClassVar[int]
28
+ SPARKSETTINGS_FIELD_NUMBER: _ClassVar[int]
29
+ config: _containers.ScalarMap[str, str]
30
+ storage: _common_pb2.StorageConfig
31
+ repositories: _containers.MessageMap[str, _common_pb2.PluginConfig]
32
+ sparkSettings: SparkSettings
33
+ def __init__(self, config: _Optional[_Mapping[str, str]] = ..., storage: _Optional[_Union[_common_pb2.StorageConfig, _Mapping]] = ..., repositories: _Optional[_Mapping[str, _common_pb2.PluginConfig]] = ..., sparkSettings: _Optional[_Union[SparkSettings, _Mapping]] = ...) -> None: ...
34
+
35
+ class SparkSettings(_message.Message):
36
+ __slots__ = ("sparkProps",)
37
+ class SparkPropsEntry(_message.Message):
38
+ __slots__ = ("key", "value")
39
+ KEY_FIELD_NUMBER: _ClassVar[int]
40
+ VALUE_FIELD_NUMBER: _ClassVar[int]
41
+ key: str
42
+ value: str
43
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
44
+ SPARKPROPS_FIELD_NUMBER: _ClassVar[int]
45
+ sparkProps: _containers.ScalarMap[str, str]
46
+ def __init__(self, sparkProps: _Optional[_Mapping[str, str]] = ...) -> None: ...
@@ -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'\n\x1dtracdap/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')
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=51
26
- _globals['_CUSTOMDEFINITION']._serialized_end=144
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: ...