tracdap-runtime 0.6.0rc1__py3-none-any.whl → 0.6.0rc3__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 (39) hide show
  1. tracdap/rt/_impl/data.py +53 -16
  2. tracdap/rt/_impl/storage.py +92 -27
  3. tracdap/rt/_plugins/storage_aws.py +158 -142
  4. tracdap/rt/_plugins/storage_azure.py +155 -0
  5. tracdap/rt/_plugins/storage_gcp.py +72 -15
  6. tracdap/rt/_plugins/storage_local.py +11 -6
  7. tracdap/rt/_version.py +1 -1
  8. tracdap/rt/config/__init__.py +12 -17
  9. tracdap/rt/config/common.py +10 -0
  10. tracdap/rt/config/common_pb2.py +38 -31
  11. tracdap/rt/config/job_pb2.py +21 -20
  12. tracdap/rt/config/platform.py +60 -25
  13. tracdap/rt/config/platform_pb2.py +52 -45
  14. tracdap/rt/config/result_pb2.py +15 -14
  15. tracdap/rt/config/runtime.py +0 -1
  16. tracdap/rt/config/runtime_pb2.py +24 -24
  17. tracdap/rt/ext/storage.py +2 -2
  18. tracdap/rt/metadata/__init__.py +20 -20
  19. tracdap/rt/metadata/common_pb2.py +15 -14
  20. tracdap/rt/metadata/custom_pb2.py +9 -8
  21. tracdap/rt/metadata/data_pb2.py +31 -30
  22. tracdap/rt/metadata/file_pb2.py +9 -8
  23. tracdap/rt/metadata/flow_pb2.py +33 -32
  24. tracdap/rt/metadata/job_pb2.py +55 -54
  25. tracdap/rt/metadata/model_pb2.py +31 -30
  26. tracdap/rt/metadata/object_id_pb2.py +13 -12
  27. tracdap/rt/metadata/object_pb2.py +9 -8
  28. tracdap/rt/metadata/search_pb2.py +19 -18
  29. tracdap/rt/metadata/stoarge_pb2.py +31 -30
  30. tracdap/rt/metadata/tag_pb2.py +13 -12
  31. tracdap/rt/metadata/tag_update_pb2.py +11 -10
  32. tracdap/rt/metadata/type_pb2.py +29 -28
  33. {tracdap_runtime-0.6.0rc1.dist-info → tracdap_runtime-0.6.0rc3.dist-info}/METADATA +27 -15
  34. {tracdap_runtime-0.6.0rc1.dist-info → tracdap_runtime-0.6.0rc3.dist-info}/RECORD +37 -38
  35. {tracdap_runtime-0.6.0rc1.dist-info → tracdap_runtime-0.6.0rc3.dist-info}/WHEEL +1 -1
  36. tracdap/rt/config/gateway.py +0 -104
  37. tracdap/rt/config/gateway_pb2.py +0 -45
  38. {tracdap_runtime-0.6.0rc1.dist-info → tracdap_runtime-0.6.0rc3.dist-info}/LICENSE +0 -0
  39. {tracdap_runtime-0.6.0rc1.dist-info → tracdap_runtime-0.6.0rc3.dist-info}/top_level.txt +0 -0
@@ -1,11 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: tracdap/config/platform.proto
4
+ # Protobuf Python Version: 4.25.3
4
5
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
8
8
  from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
9
10
  # @@protoc_insertion_point(imports)
10
11
 
11
12
  _sym_db = _symbol_database.Default()
@@ -15,50 +16,56 @@ from tracdap.metadata import common_pb2 as tracdap_dot_metadata_dot_common__pb2
15
16
  from tracdap.config import common_pb2 as tracdap_dot_config_dot_common__pb2
16
17
 
17
18
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtracdap/config/platform.proto\x12\x0etracdap.config\x1a\x1dtracdap/metadata/common.proto\x1a\x1btracdap/config/common.proto\"\xfa\x06\n\x0ePlatformConfig\x12:\n\x06\x63onfig\x18\x01 \x03(\x0b\x32*.tracdap.config.PlatformConfig.ConfigEntry\x12\x32\n\x0cplatformInfo\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.PlatformInfo\x12<\n\x0e\x61uthentication\x18\x05 \x01(\x0b\x32$.tracdap.config.AuthenticationConfig\x12\x30\n\x08metadata\x18\x06 \x01(\x0b\x32\x1e.tracdap.config.MetadataConfig\x12.\n\x07storage\x18\x07 \x01(\x0b\x32\x1d.tracdap.config.StorageConfig\x12\x46\n\x0crepositories\x18\x08 \x03(\x0b\x32\x30.tracdap.config.PlatformConfig.RepositoriesEntry\x12.\n\x08\x65xecutor\x18\t \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12.\n\x08jobCache\x18\x0c \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12<\n\x07tenants\x18\n \x03(\x0b\x32+.tracdap.config.PlatformConfig.TenantsEntry\x12\x37\n\twebServer\x18\x0b \x01(\x0b\x32\x1f.tracdap.config.WebServerConfigH\x00\x88\x01\x01\x12-\n\tinstances\x18\x03 \x01(\x0b\x32\x1a.tracdap.config.InstantMap\x12,\n\x08services\x18\x04 \x01(\x0b\x32\x1a.tracdap.config.ServiceMap\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\x1aL\n\x0cTenantsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.TenantConfig:\x02\x38\x01\x42\x0c\n\n_webServer\"r\n\x0eMetadataConfig\x12.\n\x08\x64\x61tabase\x18\x01 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12\x30\n\x06\x66ormat\x18\x02 \x01(\x0e\x32 .tracdap.metadata.MetadataFormat\"\xc8\x01\n\rStorageConfig\x12;\n\x07\x62uckets\x18\x01 \x03(\x0b\x32*.tracdap.config.StorageConfig.BucketsEntry\x12\x15\n\rdefaultBucket\x18\x02 \x01(\t\x12\x15\n\rdefaultFormat\x18\x03 \x01(\t\x1aL\n\x0c\x42ucketsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig:\x02\x38\x01\"j\n\x0cTenantConfig\x12\x1a\n\rdefaultBucket\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rdefaultFormat\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_defaultBucketB\x10\n\x0e_defaultFormat\"\xd5\x01\n\x0fWebServerConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x31\n\x0b\x63ontentRoot\x18\x03 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12:\n\x0crewriteRules\x18\x04 \x03(\x0b\x32$.tracdap.config.WebServerRewriteRule\x12\x34\n\tredirects\x18\x05 \x03(\x0b\x32!.tracdap.config.WebServerRedirect\"6\n\x14WebServerRewriteRule\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\t\"C\n\x11WebServerRedirect\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"\x96\x01\n\nInstantMap\x12,\n\x04meta\x18\x01 \x03(\x0b\x32\x1e.tracdap.config.InstanceConfig\x12,\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x1e.tracdap.config.InstanceConfig\x12,\n\x04orch\x18\x03 \x03(\x0b\x32\x1e.tracdap.config.InstanceConfig\"<\n\x0eInstanceConfig\x12\x0e\n\x06scheme\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\"\x93\x01\n\nServiceMap\x12+\n\x04meta\x18\x01 \x01(\x0b\x32\x1d.tracdap.config.ServiceConfig\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1d.tracdap.config.ServiceConfig\x12+\n\x04orch\x18\x03 \x01(\x0b\x32\x1d.tracdap.config.ServiceConfig\"\x1d\n\rServiceConfig\x12\x0c\n\x04port\x18\x01 \x01(\rB\x1c\n\x18org.finos.tracdap.configP\x01\x62\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtracdap/config/platform.proto\x12\x0etracdap.config\x1a\x1dtracdap/metadata/common.proto\x1a\x1btracdap/config/common.proto\"\xa4\x08\n\x0ePlatformConfig\x12:\n\x06\x63onfig\x18\x01 \x03(\x0b\x32*.tracdap.config.PlatformConfig.ConfigEntry\x12\x32\n\x0cplatformInfo\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.PlatformInfo\x12<\n\x0e\x61uthentication\x18\x05 \x01(\x0b\x32$.tracdap.config.AuthenticationConfig\x12\x30\n\x08metadata\x18\x06 \x01(\x0b\x32\x1e.tracdap.config.MetadataConfig\x12.\n\x07storage\x18\x07 \x01(\x0b\x32\x1d.tracdap.config.StorageConfig\x12\x46\n\x0crepositories\x18\x08 \x03(\x0b\x32\x30.tracdap.config.PlatformConfig.RepositoriesEntry\x12.\n\x08\x65xecutor\x18\t \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12.\n\x08jobCache\x18\x0c \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12<\n\x07tenants\x18\n \x03(\x0b\x32+.tracdap.config.PlatformConfig.TenantsEntry\x12\x37\n\twebServer\x18\x0b \x01(\x0b\x32\x1f.tracdap.config.WebServerConfigH\x00\x88\x01\x01\x12\x33\n\x07gateway\x18\r \x01(\x0b\x32\x1d.tracdap.config.GatewayConfigH\x01\x88\x01\x01\x12>\n\x08services\x18\x04 \x03(\x0b\x32,.tracdap.config.PlatformConfig.ServicesEntry\x12\x34\n\ndeployment\x18\x0e \x01(\x0b\x32 .tracdap.config.DeploymentConfig\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\x1aL\n\x0cTenantsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.TenantConfig:\x02\x38\x01\x1aN\n\rServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.tracdap.config.ServiceConfig:\x02\x38\x01\x42\x0c\n\n_webServerB\n\n\x08_gateway\"r\n\x0eMetadataConfig\x12.\n\x08\x64\x61tabase\x18\x01 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12\x30\n\x06\x66ormat\x18\x02 \x01(\x0e\x32 .tracdap.metadata.MetadataFormat\"j\n\x0cTenantConfig\x12\x1a\n\rdefaultBucket\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rdefaultFormat\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_defaultBucketB\x10\n\x0e_defaultFormat\"\xc7\x01\n\x0fWebServerConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x31\n\x0b\x63ontentRoot\x18\x03 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12:\n\x0crewriteRules\x18\x04 \x03(\x0b\x32$.tracdap.config.WebServerRewriteRule\x12\x34\n\tredirects\x18\x05 \x03(\x0b\x32!.tracdap.config.WebServerRedirect\"6\n\x14WebServerRewriteRule\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\t\"C\n\x11WebServerRedirect\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"Q\n\rGatewayConfig\x12\x13\n\x0bidleTimeout\x18\x01 \x01(\r\x12+\n\x06routes\x18\x02 \x03(\x0b\x32\x1b.tracdap.config.RouteConfig\"\xe4\x01\n\x0bRouteConfig\x12\x11\n\trouteName\x18\x01 \x01(\t\x12\x32\n\trouteType\x18\x02 \x01(\x0e\x32\x1f.tracdap.config.RoutingProtocol\x12\x32\n\tprotocols\x18\x03 \x03(\x0e\x32\x1f.tracdap.config.RoutingProtocol\x12+\n\x05match\x18\x05 \x01(\x0b\x32\x1c.tracdap.config.RoutingMatch\x12-\n\x06target\x18\x06 \x01(\x0b\x32\x1d.tracdap.config.RoutingTarget\"*\n\x0cRoutingMatch\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"I\n\rRoutingTarget\x12\x0e\n\x06scheme\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\x0c\n\x04path\x18\x04 \x01(\t\"N\n\rServiceConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\rB\n\n\x08_enabled\"D\n\x10\x44\x65ploymentConfig\x12\x30\n\x06layout\x18\x01 \x01(\x0e\x32 .tracdap.config.DeploymentLayout*S\n\x0fRoutingProtocol\x12\x14\n\x10PROTOCOL_NOT_SET\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\x08\n\x04GRPC\x10\x02\x12\x0c\n\x08GRPC_WEB\x10\x03\x12\x08\n\x04REST\x10\x04*K\n\x10\x44\x65ploymentLayout\x12\x12\n\x0eLAYOUT_NOT_SET\x10\x00\x12\x0b\n\x07SANDBOX\x10\x01\x12\n\n\x06HOSTED\x10\x02\x12\n\n\x06\x43USTOM\x10\x03\x42\x1c\n\x18org.finos.tracdap.configP\x01\x62\x06proto3')
19
20
 
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.config.platform_pb2', globals())
21
+ _globals = globals()
22
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.config.platform_pb2', _globals)
22
24
  if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\n\030org.finos.tracdap.configP\001'
26
- _PLATFORMCONFIG_CONFIGENTRY._options = None
27
- _PLATFORMCONFIG_CONFIGENTRY._serialized_options = b'8\001'
28
- _PLATFORMCONFIG_REPOSITORIESENTRY._options = None
29
- _PLATFORMCONFIG_REPOSITORIESENTRY._serialized_options = b'8\001'
30
- _PLATFORMCONFIG_TENANTSENTRY._options = None
31
- _PLATFORMCONFIG_TENANTSENTRY._serialized_options = b'8\001'
32
- _STORAGECONFIG_BUCKETSENTRY._options = None
33
- _STORAGECONFIG_BUCKETSENTRY._serialized_options = b'8\001'
34
- _PLATFORMCONFIG._serialized_start=110
35
- _PLATFORMCONFIG._serialized_end=1000
36
- _PLATFORMCONFIG_CONFIGENTRY._serialized_start=780
37
- _PLATFORMCONFIG_CONFIGENTRY._serialized_end=825
38
- _PLATFORMCONFIG_REPOSITORIESENTRY._serialized_start=827
39
- _PLATFORMCONFIG_REPOSITORIESENTRY._serialized_end=908
40
- _PLATFORMCONFIG_TENANTSENTRY._serialized_start=910
41
- _PLATFORMCONFIG_TENANTSENTRY._serialized_end=986
42
- _METADATACONFIG._serialized_start=1002
43
- _METADATACONFIG._serialized_end=1116
44
- _STORAGECONFIG._serialized_start=1119
45
- _STORAGECONFIG._serialized_end=1319
46
- _STORAGECONFIG_BUCKETSENTRY._serialized_start=1243
47
- _STORAGECONFIG_BUCKETSENTRY._serialized_end=1319
48
- _TENANTCONFIG._serialized_start=1321
49
- _TENANTCONFIG._serialized_end=1427
50
- _WEBSERVERCONFIG._serialized_start=1430
51
- _WEBSERVERCONFIG._serialized_end=1643
52
- _WEBSERVERREWRITERULE._serialized_start=1645
53
- _WEBSERVERREWRITERULE._serialized_end=1699
54
- _WEBSERVERREDIRECT._serialized_start=1701
55
- _WEBSERVERREDIRECT._serialized_end=1768
56
- _INSTANTMAP._serialized_start=1771
57
- _INSTANTMAP._serialized_end=1921
58
- _INSTANCECONFIG._serialized_start=1923
59
- _INSTANCECONFIG._serialized_end=1983
60
- _SERVICEMAP._serialized_start=1986
61
- _SERVICEMAP._serialized_end=2133
62
- _SERVICECONFIG._serialized_start=2135
63
- _SERVICECONFIG._serialized_end=2164
25
+ _globals['DESCRIPTOR']._options = None
26
+ _globals['DESCRIPTOR']._serialized_options = b'\n\030org.finos.tracdap.configP\001'
27
+ _globals['_PLATFORMCONFIG_CONFIGENTRY']._options = None
28
+ _globals['_PLATFORMCONFIG_CONFIGENTRY']._serialized_options = b'8\001'
29
+ _globals['_PLATFORMCONFIG_REPOSITORIESENTRY']._options = None
30
+ _globals['_PLATFORMCONFIG_REPOSITORIESENTRY']._serialized_options = b'8\001'
31
+ _globals['_PLATFORMCONFIG_TENANTSENTRY']._options = None
32
+ _globals['_PLATFORMCONFIG_TENANTSENTRY']._serialized_options = b'8\001'
33
+ _globals['_PLATFORMCONFIG_SERVICESENTRY']._options = None
34
+ _globals['_PLATFORMCONFIG_SERVICESENTRY']._serialized_options = b'8\001'
35
+ _globals['_ROUTINGPROTOCOL']._serialized_start=2306
36
+ _globals['_ROUTINGPROTOCOL']._serialized_end=2389
37
+ _globals['_DEPLOYMENTLAYOUT']._serialized_start=2391
38
+ _globals['_DEPLOYMENTLAYOUT']._serialized_end=2466
39
+ _globals['_PLATFORMCONFIG']._serialized_start=110
40
+ _globals['_PLATFORMCONFIG']._serialized_end=1170
41
+ _globals['_PLATFORMCONFIG_CONFIGENTRY']._serialized_start=858
42
+ _globals['_PLATFORMCONFIG_CONFIGENTRY']._serialized_end=903
43
+ _globals['_PLATFORMCONFIG_REPOSITORIESENTRY']._serialized_start=905
44
+ _globals['_PLATFORMCONFIG_REPOSITORIESENTRY']._serialized_end=986
45
+ _globals['_PLATFORMCONFIG_TENANTSENTRY']._serialized_start=988
46
+ _globals['_PLATFORMCONFIG_TENANTSENTRY']._serialized_end=1064
47
+ _globals['_PLATFORMCONFIG_SERVICESENTRY']._serialized_start=1066
48
+ _globals['_PLATFORMCONFIG_SERVICESENTRY']._serialized_end=1144
49
+ _globals['_METADATACONFIG']._serialized_start=1172
50
+ _globals['_METADATACONFIG']._serialized_end=1286
51
+ _globals['_TENANTCONFIG']._serialized_start=1288
52
+ _globals['_TENANTCONFIG']._serialized_end=1394
53
+ _globals['_WEBSERVERCONFIG']._serialized_start=1397
54
+ _globals['_WEBSERVERCONFIG']._serialized_end=1596
55
+ _globals['_WEBSERVERREWRITERULE']._serialized_start=1598
56
+ _globals['_WEBSERVERREWRITERULE']._serialized_end=1652
57
+ _globals['_WEBSERVERREDIRECT']._serialized_start=1654
58
+ _globals['_WEBSERVERREDIRECT']._serialized_end=1721
59
+ _globals['_GATEWAYCONFIG']._serialized_start=1723
60
+ _globals['_GATEWAYCONFIG']._serialized_end=1804
61
+ _globals['_ROUTECONFIG']._serialized_start=1807
62
+ _globals['_ROUTECONFIG']._serialized_end=2035
63
+ _globals['_ROUTINGMATCH']._serialized_start=2037
64
+ _globals['_ROUTINGMATCH']._serialized_end=2079
65
+ _globals['_ROUTINGTARGET']._serialized_start=2081
66
+ _globals['_ROUTINGTARGET']._serialized_end=2154
67
+ _globals['_SERVICECONFIG']._serialized_start=2156
68
+ _globals['_SERVICECONFIG']._serialized_end=2234
69
+ _globals['_DEPLOYMENTCONFIG']._serialized_start=2236
70
+ _globals['_DEPLOYMENTCONFIG']._serialized_end=2304
64
71
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: tracdap/config/result.proto
4
+ # Protobuf Python Version: 4.25.3
4
5
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
8
8
  from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
9
10
  # @@protoc_insertion_point(imports)
10
11
 
11
12
  _sym_db = _symbol_database.Default()
@@ -19,18 +20,18 @@ from tracdap.metadata import tag_update_pb2 as tracdap_dot_metadata_dot_tag__upd
19
20
 
20
21
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btracdap/config/result.proto\x12\x0etracdap.config\x1a tracdap/metadata/object_id.proto\x1a\x1dtracdap/metadata/object.proto\x1a\x1atracdap/metadata/job.proto\x1a!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')
21
22
 
22
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
23
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.config.result_pb2', globals())
23
+ _globals = globals()
24
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
25
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.config.result_pb2', _globals)
24
26
  if _descriptor._USE_C_DESCRIPTORS == False:
25
-
26
- DESCRIPTOR._options = None
27
- DESCRIPTOR._serialized_options = b'\n\030org.finos.tracdap.configP\001'
28
- _JOBRESULT_RESULTSENTRY._options = None
29
- _JOBRESULT_RESULTSENTRY._serialized_options = b'8\001'
30
- _TAGUPDATELIST._serialized_start=175
31
- _TAGUPDATELIST._serialized_end=234
32
- _JOBRESULT._serialized_start=237
33
- _JOBRESULT._serialized_end=522
34
- _JOBRESULT_RESULTSENTRY._serialized_start=427
35
- _JOBRESULT_RESULTSENTRY._serialized_end=509
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=175
32
+ _globals['_TAGUPDATELIST']._serialized_end=234
33
+ _globals['_JOBRESULT']._serialized_start=237
34
+ _globals['_JOBRESULT']._serialized_end=522
35
+ _globals['_JOBRESULT_RESULTSENTRY']._serialized_start=427
36
+ _globals['_JOBRESULT_RESULTSENTRY']._serialized_end=509
36
37
  # @@protoc_insertion_point(module_scope)
@@ -6,7 +6,6 @@ import dataclasses as _dc # noqa
6
6
  import enum as _enum # noqa
7
7
 
8
8
  from .common import * # noqa
9
- from .platform import * # noqa
10
9
 
11
10
 
12
11
 
@@ -1,42 +1,42 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: tracdap/config/runtime.proto
4
+ # Protobuf Python Version: 4.25.3
4
5
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
8
8
  from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
9
10
  # @@protoc_insertion_point(imports)
10
11
 
11
12
  _sym_db = _symbol_database.Default()
12
13
 
13
14
 
14
15
  from tracdap.config import common_pb2 as tracdap_dot_config_dot_common__pb2
15
- from tracdap.config import platform_pb2 as tracdap_dot_config_dot_platform__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctracdap/config/runtime.proto\x12\x0etracdap.config\x1a\x1btracdap/config/common.proto\x1a\x1dtracdap/config/platform.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')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctracdap/config/runtime.proto\x12\x0etracdap.config\x1a\x1btracdap/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
19
 
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.config.runtime_pb2', globals())
20
+ _globals = globals()
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.config.runtime_pb2', _globals)
22
23
  if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\n\030org.finos.tracdap.configP\001'
26
- _RUNTIMECONFIG_CONFIGENTRY._options = None
27
- _RUNTIMECONFIG_CONFIGENTRY._serialized_options = b'8\001'
28
- _RUNTIMECONFIG_REPOSITORIESENTRY._options = None
29
- _RUNTIMECONFIG_REPOSITORIESENTRY._serialized_options = b'8\001'
30
- _SPARKSETTINGS_SPARKPROPSENTRY._options = None
31
- _SPARKSETTINGS_SPARKPROPSENTRY._serialized_options = b'8\001'
32
- _RUNTIMECONFIG._serialized_start=109
33
- _RUNTIMECONFIG._serialized_end=486
34
- _RUNTIMECONFIG_CONFIGENTRY._serialized_start=358
35
- _RUNTIMECONFIG_CONFIGENTRY._serialized_end=403
36
- _RUNTIMECONFIG_REPOSITORIESENTRY._serialized_start=405
37
- _RUNTIMECONFIG_REPOSITORIESENTRY._serialized_end=486
38
- _SPARKSETTINGS._serialized_start=489
39
- _SPARKSETTINGS._serialized_end=622
40
- _SPARKSETTINGS_SPARKPROPSENTRY._serialized_start=573
41
- _SPARKSETTINGS_SPARKPROPSENTRY._serialized_end=622
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=78
33
+ _globals['_RUNTIMECONFIG']._serialized_end=455
34
+ _globals['_RUNTIMECONFIG_CONFIGENTRY']._serialized_start=327
35
+ _globals['_RUNTIMECONFIG_CONFIGENTRY']._serialized_end=372
36
+ _globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._serialized_start=374
37
+ _globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._serialized_end=455
38
+ _globals['_SPARKSETTINGS']._serialized_start=458
39
+ _globals['_SPARKSETTINGS']._serialized_end=591
40
+ _globals['_SPARKSETTINGS_SPARKPROPSENTRY']._serialized_start=542
41
+ _globals['_SPARKSETTINGS_SPARKPROPSENTRY']._serialized_end=591
42
42
  # @@protoc_insertion_point(module_scope)
tracdap/rt/ext/storage.py CHANGED
@@ -84,12 +84,12 @@ class IFileStorage:
84
84
  pass
85
85
 
86
86
  @_abc.abstractmethod
87
- def read_byte_stream(self, storage_path: str) -> _tp.BinaryIO:
87
+ def read_byte_stream(self, storage_path: str) -> _tp.ContextManager[_tp.BinaryIO]:
88
88
  """The read_byte_stream method only works for existing files"""
89
89
  pass
90
90
 
91
91
  @_abc.abstractmethod
92
- def write_byte_stream(self, storage_path: str) -> _tp.BinaryIO:
92
+ def write_byte_stream(self, storage_path: str) -> _tp.ContextManager[_tp.BinaryIO]:
93
93
  """The write_byte_stream method will always overwrite an existing file if it exists"""
94
94
  pass
95
95
 
@@ -1,7 +1,5 @@
1
1
  # Code generated by TRAC
2
2
 
3
- from .custom import CustomDefinition
4
-
5
3
  from .common import MetadataFormat
6
4
  from .common import MetadataVersion
7
5
  from .common import TenantInfo
@@ -19,6 +17,13 @@ from .object_id import ObjectType
19
17
  from .object_id import TagHeader
20
18
  from .object_id import TagSelector
21
19
 
20
+ from .search import SearchOperator
21
+ from .search import LogicalOperator
22
+ from .search import SearchTerm
23
+ from .search import LogicalExpression
24
+ from .search import SearchExpression
25
+ from .search import SearchParameters
26
+
22
27
  from .data import SchemaType
23
28
  from .data import PartType
24
29
  from .data import FieldSchema
@@ -27,21 +32,23 @@ from .data import SchemaDefinition
27
32
  from .data import PartKey
28
33
  from .data import DataDefinition
29
34
 
30
- from .model import ModelParameter
31
- from .model import ModelInputSchema
32
- from .model import ModelOutputSchema
33
- from .model import ModelDefinition
35
+ from .file import FileDefinition
34
36
 
35
- from .search import SearchOperator
36
- from .search import LogicalOperator
37
- from .search import SearchTerm
38
- from .search import LogicalExpression
39
- from .search import SearchExpression
40
- from .search import SearchParameters
37
+ from .stoarge import CopyStatus
38
+ from .stoarge import IncarnationStatus
39
+ from .stoarge import StorageCopy
40
+ from .stoarge import StorageIncarnation
41
+ from .stoarge import StorageItem
42
+ from .stoarge import StorageDefinition
41
43
 
42
44
  from .tag_update import TagOperation
43
45
  from .tag_update import TagUpdate
44
46
 
47
+ from .model import ModelParameter
48
+ from .model import ModelInputSchema
49
+ from .model import ModelOutputSchema
50
+ from .model import ModelDefinition
51
+
45
52
  from .flow import FlowNodeType
46
53
  from .flow import FlowNode
47
54
  from .flow import FlowSocket
@@ -55,14 +62,7 @@ from .job import RunModelJob
55
62
  from .job import RunFlowJob
56
63
  from .job import ImportModelJob
57
64
 
58
- from .file import FileDefinition
59
-
60
- from .stoarge import CopyStatus
61
- from .stoarge import IncarnationStatus
62
- from .stoarge import StorageCopy
63
- from .stoarge import StorageIncarnation
64
- from .stoarge import StorageItem
65
- from .stoarge import StorageDefinition
65
+ from .custom import CustomDefinition
66
66
 
67
67
  from .object import ObjectDefinition
68
68
 
@@ -1,11 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: tracdap/metadata/common.proto
4
+ # Protobuf Python Version: 4.25.3
4
5
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
8
8
  from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
9
10
  # @@protoc_insertion_point(imports)
10
11
 
11
12
  _sym_db = _symbol_database.Default()
@@ -15,18 +16,18 @@ _sym_db = _symbol_database.Default()
15
16
 
16
17
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtracdap/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')
17
18
 
18
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.common_pb2', globals())
19
+ _globals = globals()
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.common_pb2', _globals)
20
22
  if _descriptor._USE_C_DESCRIPTORS == False:
21
-
22
- DESCRIPTOR._options = None
23
- DESCRIPTOR._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
24
- _METADATAVERSION._options = None
25
- _METADATAVERSION._serialized_options = b'\020\001'
26
- _METADATAFORMAT._serialized_start=106
27
- _METADATAFORMAT._serialized_end=182
28
- _METADATAVERSION._serialized_start=184
29
- _METADATAVERSION._serialized_end=256
30
- _TENANTINFO._serialized_start=51
31
- _TENANTINFO._serialized_end=104
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=106
28
+ _globals['_METADATAFORMAT']._serialized_end=182
29
+ _globals['_METADATAVERSION']._serialized_start=184
30
+ _globals['_METADATAVERSION']._serialized_end=256
31
+ _globals['_TENANTINFO']._serialized_start=51
32
+ _globals['_TENANTINFO']._serialized_end=104
32
33
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: tracdap/metadata/custom.proto
4
+ # Protobuf Python Version: 4.25.3
4
5
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
8
8
  from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
9
10
  # @@protoc_insertion_point(imports)
10
11
 
11
12
  _sym_db = _symbol_database.Default()
@@ -15,12 +16,12 @@ _sym_db = _symbol_database.Default()
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
18
 
18
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.custom_pb2', globals())
19
+ _globals = globals()
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.custom_pb2', _globals)
20
22
  if _descriptor._USE_C_DESCRIPTORS == False:
21
-
22
- DESCRIPTOR._options = None
23
- DESCRIPTOR._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
24
- _CUSTOMDEFINITION._serialized_start=51
25
- _CUSTOMDEFINITION._serialized_end=144
23
+ _globals['DESCRIPTOR']._options = None
24
+ _globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
25
+ _globals['_CUSTOMDEFINITION']._serialized_start=51
26
+ _globals['_CUSTOMDEFINITION']._serialized_end=144
26
27
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: tracdap/metadata/data.proto
4
+ # Protobuf Python Version: 4.25.3
4
5
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
8
8
  from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
9
10
  # @@protoc_insertion_point(imports)
10
11
 
11
12
  _sym_db = _symbol_database.Default()
@@ -17,34 +18,34 @@ from tracdap.metadata import object_id_pb2 as tracdap_dot_metadata_dot_object__i
17
18
 
18
19
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btracdap/metadata/data.proto\x12\x10tracdap.metadata\x1a\x1btracdap/metadata/type.proto\x1a 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')
19
20
 
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.data_pb2', globals())
21
+ _globals = globals()
22
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.data_pb2', _globals)
22
24
  if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
26
- _DATADEFINITION_PARTSENTRY._options = None
27
- _DATADEFINITION_PARTSENTRY._serialized_options = b'8\001'
28
- _SCHEMATYPE._serialized_start=1430
29
- _SCHEMATYPE._serialized_end=1478
30
- _PARTTYPE._serialized_start=1480
31
- _PARTTYPE._serialized_end=1543
32
- _FIELDSCHEMA._serialized_start=113
33
- _FIELDSCHEMA._serialized_end=344
34
- _TABLESCHEMA._serialized_start=346
35
- _TABLESCHEMA._serialized_end=406
36
- _SCHEMADEFINITION._serialized_start=409
37
- _SCHEMADEFINITION._serialized_end=595
38
- _PARTKEY._serialized_start=598
39
- _PARTKEY._serialized_end=855
40
- _DATADEFINITION._serialized_start=858
41
- _DATADEFINITION._serialized_end=1428
42
- _DATADEFINITION_DELTA._serialized_start=1091
43
- _DATADEFINITION_DELTA._serialized_end=1136
44
- _DATADEFINITION_SNAP._serialized_start=1138
45
- _DATADEFINITION_SNAP._serialized_end=1219
46
- _DATADEFINITION_PART._serialized_start=1221
47
- _DATADEFINITION_PART._serialized_end=1324
48
- _DATADEFINITION_PARTSENTRY._serialized_start=1326
49
- _DATADEFINITION_PARTSENTRY._serialized_end=1409
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=1430
30
+ _globals['_SCHEMATYPE']._serialized_end=1478
31
+ _globals['_PARTTYPE']._serialized_start=1480
32
+ _globals['_PARTTYPE']._serialized_end=1543
33
+ _globals['_FIELDSCHEMA']._serialized_start=113
34
+ _globals['_FIELDSCHEMA']._serialized_end=344
35
+ _globals['_TABLESCHEMA']._serialized_start=346
36
+ _globals['_TABLESCHEMA']._serialized_end=406
37
+ _globals['_SCHEMADEFINITION']._serialized_start=409
38
+ _globals['_SCHEMADEFINITION']._serialized_end=595
39
+ _globals['_PARTKEY']._serialized_start=598
40
+ _globals['_PARTKEY']._serialized_end=855
41
+ _globals['_DATADEFINITION']._serialized_start=858
42
+ _globals['_DATADEFINITION']._serialized_end=1428
43
+ _globals['_DATADEFINITION_DELTA']._serialized_start=1091
44
+ _globals['_DATADEFINITION_DELTA']._serialized_end=1136
45
+ _globals['_DATADEFINITION_SNAP']._serialized_start=1138
46
+ _globals['_DATADEFINITION_SNAP']._serialized_end=1219
47
+ _globals['_DATADEFINITION_PART']._serialized_start=1221
48
+ _globals['_DATADEFINITION_PART']._serialized_end=1324
49
+ _globals['_DATADEFINITION_PARTSENTRY']._serialized_start=1326
50
+ _globals['_DATADEFINITION_PARTSENTRY']._serialized_end=1409
50
51
  # @@protoc_insertion_point(module_scope)
@@ -1,11 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: tracdap/metadata/file.proto
4
+ # Protobuf Python Version: 4.25.3
4
5
  """Generated protocol buffer code."""
5
- from google.protobuf.internal import builder as _builder
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
8
8
  from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
9
10
  # @@protoc_insertion_point(imports)
10
11
 
11
12
  _sym_db = _symbol_database.Default()
@@ -16,12 +17,12 @@ from tracdap.metadata import object_id_pb2 as tracdap_dot_metadata_dot_object__i
16
17
 
17
18
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btracdap/metadata/file.proto\x12\x10tracdap.metadata\x1a 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')
18
19
 
19
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.file_pb2', globals())
20
+ _globals = globals()
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.file_pb2', _globals)
21
23
  if _descriptor._USE_C_DESCRIPTORS == False:
22
-
23
- DESCRIPTOR._options = None
24
- DESCRIPTOR._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
25
- _FILEDEFINITION._serialized_start=84
26
- _FILEDEFINITION._serialized_end=233
24
+ _globals['DESCRIPTOR']._options = None
25
+ _globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
26
+ _globals['_FILEDEFINITION']._serialized_start=84
27
+ _globals['_FILEDEFINITION']._serialized_end=233
27
28
  # @@protoc_insertion_point(module_scope)