raystack-proton 2025.11.5.35259__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 (181) hide show
  1. google/__init__.py +0 -0
  2. google/api/__init__.py +0 -0
  3. google/api/annotations_pb2.py +37 -0
  4. google/api/annotations_pb2.pyi +8 -0
  5. google/api/field_behavior_pb2.py +38 -0
  6. google/api/field_behavior_pb2.pyi +27 -0
  7. google/api/http_pb2.py +41 -0
  8. google/api/http_pb2.pyi +47 -0
  9. google/api/httpbody_pb2.py +38 -0
  10. google/api/httpbody_pb2.pyi +18 -0
  11. protoc_gen_openapiv2/__init__.py +0 -0
  12. protoc_gen_openapiv2/options/__init__.py +0 -0
  13. protoc_gen_openapiv2/options/annotations_pb2.py +37 -0
  14. protoc_gen_openapiv2/options/annotations_pb2.pyi +16 -0
  15. protoc_gen_openapiv2/options/openapiv2_pb2.py +142 -0
  16. protoc_gen_openapiv2/options/openapiv2_pb2.pyi +463 -0
  17. raystack/__init__.py +0 -0
  18. raystack/assets/__init__.py +0 -0
  19. raystack/assets/v1beta1/__init__.py +0 -0
  20. raystack/assets/v1beta1/bucket_pb2.py +45 -0
  21. raystack/assets/v1beta1/bucket_pb2.pyi +59 -0
  22. raystack/assets/v1beta1/dashboard_pb2.py +45 -0
  23. raystack/assets/v1beta1/dashboard_pb2.pyi +65 -0
  24. raystack/assets/v1beta1/event_pb2.py +38 -0
  25. raystack/assets/v1beta1/event_pb2.pyi +19 -0
  26. raystack/assets/v1beta1/group_pb2.py +43 -0
  27. raystack/assets/v1beta1/group_pb2.pyi +35 -0
  28. raystack/assets/v1beta1/job_pb2.py +43 -0
  29. raystack/assets/v1beta1/job_pb2.pyi +28 -0
  30. raystack/assets/v1beta1/lineage_pb2.py +38 -0
  31. raystack/assets/v1beta1/lineage_pb2.pyi +16 -0
  32. raystack/assets/v1beta1/ownership_pb2.py +39 -0
  33. raystack/assets/v1beta1/ownership_pb2.pyi +25 -0
  34. raystack/assets/v1beta1/preview_pb2.py +38 -0
  35. raystack/assets/v1beta1/preview_pb2.pyi +16 -0
  36. raystack/assets/v1beta1/properties_pb2.py +42 -0
  37. raystack/assets/v1beta1/properties_pb2.pyi +25 -0
  38. raystack/assets/v1beta1/resource_pb2.py +37 -0
  39. raystack/assets/v1beta1/resource_pb2.pyi +21 -0
  40. raystack/assets/v1beta1/schema_pb2.py +44 -0
  41. raystack/assets/v1beta1/schema_pb2.pyi +58 -0
  42. raystack/assets/v1beta1/table_pb2.py +49 -0
  43. raystack/assets/v1beta1/table_pb2.pyi +63 -0
  44. raystack/assets/v1beta1/timestamp_pb2.py +40 -0
  45. raystack/assets/v1beta1/timestamp_pb2.pyi +25 -0
  46. raystack/assets/v1beta1/topic_pb2.py +46 -0
  47. raystack/assets/v1beta1/topic_pb2.pyi +41 -0
  48. raystack/assets/v1beta1/user_pb2.py +45 -0
  49. raystack/assets/v1beta1/user_pb2.pyi +63 -0
  50. raystack/assets/v1beta2/__init__.py +0 -0
  51. raystack/assets/v1beta2/application_pb2.py +39 -0
  52. raystack/assets/v1beta2/application_pb2.pyi +24 -0
  53. raystack/assets/v1beta2/asset_pb2.py +44 -0
  54. raystack/assets/v1beta2/asset_pb2.pyi +49 -0
  55. raystack/assets/v1beta2/bucket_pb2.py +42 -0
  56. raystack/assets/v1beta2/bucket_pb2.pyi +54 -0
  57. raystack/assets/v1beta2/common_pb2.py +44 -0
  58. raystack/assets/v1beta2/common_pb2.pyi +52 -0
  59. raystack/assets/v1beta2/dashboard_pb2.py +42 -0
  60. raystack/assets/v1beta2/dashboard_pb2.pyi +60 -0
  61. raystack/assets/v1beta2/experiment_pb2.py +41 -0
  62. raystack/assets/v1beta2/experiment_pb2.pyi +40 -0
  63. raystack/assets/v1beta2/feature_table_pb2.py +47 -0
  64. raystack/assets/v1beta2/feature_table_pb2.pyi +59 -0
  65. raystack/assets/v1beta2/group_pb2.py +40 -0
  66. raystack/assets/v1beta2/group_pb2.pyi +26 -0
  67. raystack/assets/v1beta2/job_pb2.py +39 -0
  68. raystack/assets/v1beta2/job_pb2.pyi +20 -0
  69. raystack/assets/v1beta2/metric_pb2.py +39 -0
  70. raystack/assets/v1beta2/metric_pb2.pyi +28 -0
  71. raystack/assets/v1beta2/model_pb2.py +49 -0
  72. raystack/assets/v1beta2/model_pb2.pyi +73 -0
  73. raystack/assets/v1beta2/table_pb2.py +47 -0
  74. raystack/assets/v1beta2/table_pb2.pyi +93 -0
  75. raystack/assets/v1beta2/topic_pb2.py +43 -0
  76. raystack/assets/v1beta2/topic_pb2.pyi +40 -0
  77. raystack/assets/v1beta2/user_pb2.py +43 -0
  78. raystack/assets/v1beta2/user_pb2.pyi +61 -0
  79. raystack/common/__init__.py +0 -0
  80. raystack/common/v1/__init__.py +0 -0
  81. raystack/common/v1/service_connect.py +119 -0
  82. raystack/common/v1/service_pb2.py +48 -0
  83. raystack/common/v1/service_pb2.pyi +39 -0
  84. raystack/compass/__init__.py +0 -0
  85. raystack/compass/v1beta1/__init__.py +0 -0
  86. raystack/compass/v1beta1/service_connect.py +2784 -0
  87. raystack/compass/v1beta1/service_pb2.py +581 -0
  88. raystack/compass/v1beta1/service_pb2.pyi +1055 -0
  89. raystack/entropy/__init__.py +0 -0
  90. raystack/entropy/v1beta1/__init__.py +0 -0
  91. raystack/entropy/v1beta1/module_connect.py +379 -0
  92. raystack/entropy/v1beta1/module_pb2.py +72 -0
  93. raystack/entropy/v1beta1/module_pb2.pyi +88 -0
  94. raystack/entropy/v1beta1/resource_connect.py +574 -0
  95. raystack/entropy/v1beta1/resource_pb2.py +134 -0
  96. raystack/entropy/v1beta1/resource_pb2.pyi +268 -0
  97. raystack/frontier/__init__.py +0 -0
  98. raystack/frontier/v1beta1/__init__.py +0 -0
  99. raystack/frontier/v1beta1/admin_connect.py +4021 -0
  100. raystack/frontier/v1beta1/admin_pb2.py +617 -0
  101. raystack/frontier/v1beta1/admin_pb2.pyi +1151 -0
  102. raystack/frontier/v1beta1/frontier_connect.py +10974 -0
  103. raystack/frontier/v1beta1/frontier_pb2.py +1612 -0
  104. raystack/frontier/v1beta1/frontier_pb2.pyi +2666 -0
  105. raystack/frontier/v1beta1/models_pb2.py +400 -0
  106. raystack/frontier/v1beta1/models_pb2.pyi +1160 -0
  107. raystack/guardian/__init__.py +0 -0
  108. raystack/guardian/v1beta1/__init__.py +0 -0
  109. raystack/guardian/v1beta1/guardian_connect.py +2654 -0
  110. raystack/guardian/v1beta1/guardian_pb2.py +527 -0
  111. raystack/guardian/v1beta1/guardian_pb2.pyi +1257 -0
  112. raystack/optimus/__init__.py +0 -0
  113. raystack/optimus/core/__init__.py +0 -0
  114. raystack/optimus/core/v1beta1/__init__.py +0 -0
  115. raystack/optimus/core/v1beta1/backup_connect.py +249 -0
  116. raystack/optimus/core/v1beta1/backup_pb2.py +70 -0
  117. raystack/optimus/core/v1beta1/backup_pb2.pyi +108 -0
  118. raystack/optimus/core/v1beta1/job_run_connect.py +314 -0
  119. raystack/optimus/core/v1beta1/job_run_pb2.py +88 -0
  120. raystack/optimus/core/v1beta1/job_run_pb2.pyi +164 -0
  121. raystack/optimus/core/v1beta1/job_spec_connect.py +1289 -0
  122. raystack/optimus/core/v1beta1/job_spec_pb2.py +229 -0
  123. raystack/optimus/core/v1beta1/job_spec_pb2.pyi +700 -0
  124. raystack/optimus/core/v1beta1/namespace_connect.py +249 -0
  125. raystack/optimus/core/v1beta1/namespace_pb2.py +63 -0
  126. raystack/optimus/core/v1beta1/namespace_pb2.pyi +66 -0
  127. raystack/optimus/core/v1beta1/project_connect.py +249 -0
  128. raystack/optimus/core/v1beta1/project_pb2.py +63 -0
  129. raystack/optimus/core/v1beta1/project_pb2.pyi +60 -0
  130. raystack/optimus/core/v1beta1/replay_connect.py +314 -0
  131. raystack/optimus/core/v1beta1/replay_pb2.py +72 -0
  132. raystack/optimus/core/v1beta1/replay_pb2.pyi +127 -0
  133. raystack/optimus/core/v1beta1/resource_connect.py +509 -0
  134. raystack/optimus/core/v1beta1/resource_pb2.py +93 -0
  135. raystack/optimus/core/v1beta1/resource_pb2.pyi +182 -0
  136. raystack/optimus/core/v1beta1/runtime_connect.py +119 -0
  137. raystack/optimus/core/v1beta1/runtime_pb2.py +45 -0
  138. raystack/optimus/core/v1beta1/runtime_pb2.pyi +19 -0
  139. raystack/optimus/core/v1beta1/secret_connect.py +314 -0
  140. raystack/optimus/core/v1beta1/secret_pb2.py +66 -0
  141. raystack/optimus/core/v1beta1/secret_pb2.pyi +81 -0
  142. raystack/optimus/core/v1beta1/status_pb2.py +39 -0
  143. raystack/optimus/core/v1beta1/status_pb2.pyi +31 -0
  144. raystack/optimus/integration/__init__.py +0 -0
  145. raystack/optimus/integration/v1beta1/__init__.py +0 -0
  146. raystack/optimus/integration/v1beta1/event_pb2.py +50 -0
  147. raystack/optimus/integration/v1beta1/event_pb2.pyi +94 -0
  148. raystack/optimus/plugins/__init__.py +0 -0
  149. raystack/optimus/plugins/v1beta1/__init__.py +0 -0
  150. raystack/optimus/plugins/v1beta1/dependency_resolver_connect.py +314 -0
  151. raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.py +66 -0
  152. raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.pyi +118 -0
  153. raystack/predator/__init__.py +0 -0
  154. raystack/predator/v1beta1/__init__.py +0 -0
  155. raystack/predator/v1beta1/metrics_log_pb2.py +46 -0
  156. raystack/predator/v1beta1/metrics_log_pb2.pyi +68 -0
  157. raystack/predator/v1beta1/result_log_pb2.py +45 -0
  158. raystack/predator/v1beta1/result_log_pb2.pyi +61 -0
  159. raystack/raccoon/__init__.py +0 -0
  160. raystack/raccoon/v1beta1/__init__.py +0 -0
  161. raystack/raccoon/v1beta1/raccoon_connect.py +119 -0
  162. raystack/raccoon/v1beta1/raccoon_pb2.py +52 -0
  163. raystack/raccoon/v1beta1/raccoon_pb2.pyi +74 -0
  164. raystack/siren/__init__.py +0 -0
  165. raystack/siren/v1beta1/__init__.py +0 -0
  166. raystack/siren/v1beta1/siren_connect.py +2329 -0
  167. raystack/siren/v1beta1/siren_pb2.py +415 -0
  168. raystack/siren/v1beta1/siren_pb2.pyi +890 -0
  169. raystack/stencil/__init__.py +0 -0
  170. raystack/stencil/v1beta1/__init__.py +0 -0
  171. raystack/stencil/v1beta1/stencil_connect.py +1094 -0
  172. raystack/stencil/v1beta1/stencil_pb2.py +158 -0
  173. raystack/stencil/v1beta1/stencil_pb2.pyi +357 -0
  174. raystack_proton-2025.11.5.35259.dist-info/METADATA +103 -0
  175. raystack_proton-2025.11.5.35259.dist-info/RECORD +181 -0
  176. raystack_proton-2025.11.5.35259.dist-info/WHEEL +5 -0
  177. raystack_proton-2025.11.5.35259.dist-info/licenses/LICENSE +201 -0
  178. raystack_proton-2025.11.5.35259.dist-info/top_level.txt +4 -0
  179. validate/__init__.py +0 -0
  180. validate/validate_pb2.py +86 -0
  181. validate/validate_pb2.pyi +497 -0
@@ -0,0 +1,39 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: raystack/assets/v1beta2/metric.proto
5
+ # Protobuf Python Version: 6.33.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 0,
17
+ '',
18
+ 'raystack/assets/v1beta2/metric.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$raystack/assets/v1beta2/metric.proto\x12\x17raystack.assets.v1beta2\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb1\x02\n\x06Metric\x12\x1c\n\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x1d\n\nfield_name\x18\x02 \x01(\tR\tfieldName\x12!\n\x0cmeasure_type\x18\x03 \x01(\tR\x0bmeasureType\x12\x14\n\x05query\x18\x04 \x01(\tR\x05query\x12\x37\n\nattributes\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructR\nattributes\x12;\n\x0b\x63reate_time\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x66 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTimeBZ\n\x12io.raystack.assetsB\x0bMetricProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2b\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta2.metric_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\013MetricProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2'
37
+ _globals['_METRIC']._serialized_start=129
38
+ _globals['_METRIC']._serialized_end=434
39
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,28 @@
1
+ import datetime
2
+
3
+ from google.protobuf import struct_pb2 as _struct_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import message as _message
7
+ from collections.abc import Mapping as _Mapping
8
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
9
+
10
+ DESCRIPTOR: _descriptor.FileDescriptor
11
+
12
+ class Metric(_message.Message):
13
+ __slots__ = ()
14
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
15
+ FIELD_NAME_FIELD_NUMBER: _ClassVar[int]
16
+ MEASURE_TYPE_FIELD_NUMBER: _ClassVar[int]
17
+ QUERY_FIELD_NUMBER: _ClassVar[int]
18
+ ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
19
+ CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
20
+ UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
21
+ namespace: str
22
+ field_name: str
23
+ measure_type: str
24
+ query: str
25
+ attributes: _struct_pb2.Struct
26
+ create_time: _timestamp_pb2.Timestamp
27
+ update_time: _timestamp_pb2.Timestamp
28
+ def __init__(self, namespace: _Optional[str] = ..., field_name: _Optional[str] = ..., measure_type: _Optional[str] = ..., query: _Optional[str] = ..., attributes: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: raystack/assets/v1beta2/model.proto
5
+ # Protobuf Python Version: 6.33.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 0,
17
+ '',
18
+ 'raystack/assets/v1beta2/model.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#raystack/assets/v1beta2/model.proto\x12\x17raystack.assets.v1beta2\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfc\x01\n\x0eModelSignature\x12I\n\x06inputs\x18\x01 \x03(\x0b\x32\x31.raystack.assets.v1beta2.ModelSignature.ParameterR\x06inputs\x12K\n\x07outputs\x18\x02 \x03(\x0b\x32\x31.raystack.assets.v1beta2.ModelSignature.ParameterR\x07outputs\x1aR\n\tParameter\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tdata_type\x18\x02 \x01(\tR\x08\x64\x61taType\x12\x14\n\x05shape\x18\x03 \x03(\x03R\x05shape\"\xc0\x03\n\x0cModelVersion\x12\x45\n\tsignature\x18\x01 \x01(\x0b\x32\'.raystack.assets.v1beta2.ModelSignatureR\tsignature\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x37\n\nattributes\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\nattributes\x12I\n\x06labels\x18\x05 \x03(\x0b\x32\x31.raystack.assets.v1beta2.ModelVersion.LabelsEntryR\x06labels\x12;\n\x0b\x63reate_time\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x66 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xe9\x02\n\x05Model\x12\x1c\n\tnamespace\x18\x01 \x01(\tR\tnamespace\x12\x16\n\x06\x66lavor\x18\x02 \x01(\tR\x06\x66lavor\x12\x1c\n\talgorithm\x18\x03 \x01(\tR\talgorithm\x12\x16\n\x06status\x18\x04 \x01(\tR\x06status\x12\x41\n\x08versions\x18\x05 \x03(\x0b\x32%.raystack.assets.v1beta2.ModelVersionR\x08versions\x12\x37\n\nattributes\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructR\nattributes\x12;\n\x0b\x63reate_time\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x66 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTimeBY\n\x12io.raystack.assetsB\nModelProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2b\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta2.model_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\nModelProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2'
37
+ _globals['_MODELVERSION_LABELSENTRY']._loaded_options = None
38
+ _globals['_MODELVERSION_LABELSENTRY']._serialized_options = b'8\001'
39
+ _globals['_MODELSIGNATURE']._serialized_start=128
40
+ _globals['_MODELSIGNATURE']._serialized_end=380
41
+ _globals['_MODELSIGNATURE_PARAMETER']._serialized_start=298
42
+ _globals['_MODELSIGNATURE_PARAMETER']._serialized_end=380
43
+ _globals['_MODELVERSION']._serialized_start=383
44
+ _globals['_MODELVERSION']._serialized_end=831
45
+ _globals['_MODELVERSION_LABELSENTRY']._serialized_start=774
46
+ _globals['_MODELVERSION_LABELSENTRY']._serialized_end=831
47
+ _globals['_MODEL']._serialized_start=834
48
+ _globals['_MODEL']._serialized_end=1195
49
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,73 @@
1
+ import datetime
2
+
3
+ from google.protobuf import struct_pb2 as _struct_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_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 collections.abc import Iterable as _Iterable, Mapping as _Mapping
9
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class ModelSignature(_message.Message):
14
+ __slots__ = ()
15
+ class Parameter(_message.Message):
16
+ __slots__ = ()
17
+ NAME_FIELD_NUMBER: _ClassVar[int]
18
+ DATA_TYPE_FIELD_NUMBER: _ClassVar[int]
19
+ SHAPE_FIELD_NUMBER: _ClassVar[int]
20
+ name: str
21
+ data_type: str
22
+ shape: _containers.RepeatedScalarFieldContainer[int]
23
+ def __init__(self, name: _Optional[str] = ..., data_type: _Optional[str] = ..., shape: _Optional[_Iterable[int]] = ...) -> None: ...
24
+ INPUTS_FIELD_NUMBER: _ClassVar[int]
25
+ OUTPUTS_FIELD_NUMBER: _ClassVar[int]
26
+ inputs: _containers.RepeatedCompositeFieldContainer[ModelSignature.Parameter]
27
+ outputs: _containers.RepeatedCompositeFieldContainer[ModelSignature.Parameter]
28
+ def __init__(self, inputs: _Optional[_Iterable[_Union[ModelSignature.Parameter, _Mapping]]] = ..., outputs: _Optional[_Iterable[_Union[ModelSignature.Parameter, _Mapping]]] = ...) -> None: ...
29
+
30
+ class ModelVersion(_message.Message):
31
+ __slots__ = ()
32
+ class LabelsEntry(_message.Message):
33
+ __slots__ = ()
34
+ KEY_FIELD_NUMBER: _ClassVar[int]
35
+ VALUE_FIELD_NUMBER: _ClassVar[int]
36
+ key: str
37
+ value: str
38
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
39
+ SIGNATURE_FIELD_NUMBER: _ClassVar[int]
40
+ STATUS_FIELD_NUMBER: _ClassVar[int]
41
+ VERSION_FIELD_NUMBER: _ClassVar[int]
42
+ ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
43
+ LABELS_FIELD_NUMBER: _ClassVar[int]
44
+ CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
45
+ UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
46
+ signature: ModelSignature
47
+ status: str
48
+ version: str
49
+ attributes: _struct_pb2.Struct
50
+ labels: _containers.ScalarMap[str, str]
51
+ create_time: _timestamp_pb2.Timestamp
52
+ update_time: _timestamp_pb2.Timestamp
53
+ def __init__(self, signature: _Optional[_Union[ModelSignature, _Mapping]] = ..., status: _Optional[str] = ..., version: _Optional[str] = ..., attributes: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., labels: _Optional[_Mapping[str, str]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
54
+
55
+ class Model(_message.Message):
56
+ __slots__ = ()
57
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
58
+ FLAVOR_FIELD_NUMBER: _ClassVar[int]
59
+ ALGORITHM_FIELD_NUMBER: _ClassVar[int]
60
+ STATUS_FIELD_NUMBER: _ClassVar[int]
61
+ VERSIONS_FIELD_NUMBER: _ClassVar[int]
62
+ ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
63
+ CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
64
+ UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
65
+ namespace: str
66
+ flavor: str
67
+ algorithm: str
68
+ status: str
69
+ versions: _containers.RepeatedCompositeFieldContainer[ModelVersion]
70
+ attributes: _struct_pb2.Struct
71
+ create_time: _timestamp_pb2.Timestamp
72
+ update_time: _timestamp_pb2.Timestamp
73
+ def __init__(self, namespace: _Optional[str] = ..., flavor: _Optional[str] = ..., algorithm: _Optional[str] = ..., status: _Optional[str] = ..., versions: _Optional[_Iterable[_Union[ModelVersion, _Mapping]]] = ..., attributes: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,47 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: raystack/assets/v1beta2/table.proto
5
+ # Protobuf Python Version: 6.33.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 0,
17
+ '',
18
+ 'raystack/assets/v1beta2/table.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#raystack/assets/v1beta2/table.proto\x12\x17raystack.assets.v1beta2\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9c\x03\n\x05Table\x12?\n\x07profile\x18\x01 \x01(\x0b\x32%.raystack.assets.v1beta2.TableProfileR\x07profile\x12\x39\n\x07\x63olumns\x18\x02 \x03(\x0b\x32\x1f.raystack.assets.v1beta2.ColumnR\x07\x63olumns\x12%\n\x0epreview_fields\x18\x03 \x03(\tR\rpreviewFields\x12=\n\x0cpreview_rows\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.ListValueR\x0bpreviewRows\x12\x37\n\nattributes\x18\n \x01(\x0b\x32\x17.google.protobuf.StructR\nattributes\x12;\n\x0b\x63reate_time\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x66 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"\x83\x02\n\x0cTableProfile\x12\x1d\n\ntotal_rows\x18\x01 \x01(\x03R\ttotalRows\x12#\n\rpartition_key\x18\x02 \x01(\tR\x0cpartitionKey\x12\'\n\x0fpartition_value\x18\x03 \x01(\tR\x0epartitionValue\x12\x1f\n\x0busage_count\x18\x04 \x01(\x03R\nusageCount\x12K\n\x0c\x63ommon_joins\x18\x05 \x03(\x0b\x32(.raystack.assets.v1beta2.TableCommonJoinR\x0b\x63ommonJoins\x12\x18\n\x07\x66ilters\x18\x06 \x03(\tR\x07\x66ilters\"Y\n\x0fTableCommonJoin\x12\x10\n\x03urn\x18\x01 \x01(\tR\x03urn\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount\x12\x1e\n\nconditions\x18\x03 \x03(\tR\nconditions\"\xca\x02\n\x06\x43olumn\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x1b\n\tdata_type\x18\x03 \x01(\tR\x08\x64\x61taType\x12\x1f\n\x0bis_nullable\x18\x04 \x01(\x08R\nisNullable\x12\x16\n\x06length\x18\x05 \x01(\x03R\x06length\x12@\n\x07profile\x18\x06 \x01(\x0b\x32&.raystack.assets.v1beta2.ColumnProfileR\x07profile\x12\x39\n\x07\x63olumns\x18\x07 \x03(\x0b\x32\x1f.raystack.assets.v1beta2.ColumnR\x07\x63olumns\x12\x37\n\nattributes\x18\x1f \x01(\x0b\x32\x17.google.protobuf.StructR\nattributes\"\x97\x01\n\rColumnProfile\x12\x10\n\x03min\x18\x01 \x01(\tR\x03min\x12\x10\n\x03max\x18\x02 \x01(\tR\x03max\x12\x10\n\x03\x61vg\x18\x03 \x01(\x01R\x03\x61vg\x12\x10\n\x03med\x18\x04 \x01(\x01R\x03med\x12\x16\n\x06unique\x18\x05 \x01(\x03R\x06unique\x12\x14\n\x05\x63ount\x18\x06 \x01(\x03R\x05\x63ount\x12\x10\n\x03top\x18\x07 \x01(\tR\x03topBY\n\x12io.raystack.assetsB\nTableProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2b\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta2.table_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\nTableProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2'
37
+ _globals['_TABLE']._serialized_start=128
38
+ _globals['_TABLE']._serialized_end=540
39
+ _globals['_TABLEPROFILE']._serialized_start=543
40
+ _globals['_TABLEPROFILE']._serialized_end=802
41
+ _globals['_TABLECOMMONJOIN']._serialized_start=804
42
+ _globals['_TABLECOMMONJOIN']._serialized_end=893
43
+ _globals['_COLUMN']._serialized_start=896
44
+ _globals['_COLUMN']._serialized_end=1226
45
+ _globals['_COLUMNPROFILE']._serialized_start=1229
46
+ _globals['_COLUMNPROFILE']._serialized_end=1380
47
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,93 @@
1
+ import datetime
2
+
3
+ from google.protobuf import struct_pb2 as _struct_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_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 collections.abc import Iterable as _Iterable, Mapping as _Mapping
9
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class Table(_message.Message):
14
+ __slots__ = ()
15
+ PROFILE_FIELD_NUMBER: _ClassVar[int]
16
+ COLUMNS_FIELD_NUMBER: _ClassVar[int]
17
+ PREVIEW_FIELDS_FIELD_NUMBER: _ClassVar[int]
18
+ PREVIEW_ROWS_FIELD_NUMBER: _ClassVar[int]
19
+ ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
20
+ CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
21
+ UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
22
+ profile: TableProfile
23
+ columns: _containers.RepeatedCompositeFieldContainer[Column]
24
+ preview_fields: _containers.RepeatedScalarFieldContainer[str]
25
+ preview_rows: _struct_pb2.ListValue
26
+ attributes: _struct_pb2.Struct
27
+ create_time: _timestamp_pb2.Timestamp
28
+ update_time: _timestamp_pb2.Timestamp
29
+ def __init__(self, profile: _Optional[_Union[TableProfile, _Mapping]] = ..., columns: _Optional[_Iterable[_Union[Column, _Mapping]]] = ..., preview_fields: _Optional[_Iterable[str]] = ..., preview_rows: _Optional[_Union[_struct_pb2.ListValue, _Mapping]] = ..., attributes: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
30
+
31
+ class TableProfile(_message.Message):
32
+ __slots__ = ()
33
+ TOTAL_ROWS_FIELD_NUMBER: _ClassVar[int]
34
+ PARTITION_KEY_FIELD_NUMBER: _ClassVar[int]
35
+ PARTITION_VALUE_FIELD_NUMBER: _ClassVar[int]
36
+ USAGE_COUNT_FIELD_NUMBER: _ClassVar[int]
37
+ COMMON_JOINS_FIELD_NUMBER: _ClassVar[int]
38
+ FILTERS_FIELD_NUMBER: _ClassVar[int]
39
+ total_rows: int
40
+ partition_key: str
41
+ partition_value: str
42
+ usage_count: int
43
+ common_joins: _containers.RepeatedCompositeFieldContainer[TableCommonJoin]
44
+ filters: _containers.RepeatedScalarFieldContainer[str]
45
+ def __init__(self, total_rows: _Optional[int] = ..., partition_key: _Optional[str] = ..., partition_value: _Optional[str] = ..., usage_count: _Optional[int] = ..., common_joins: _Optional[_Iterable[_Union[TableCommonJoin, _Mapping]]] = ..., filters: _Optional[_Iterable[str]] = ...) -> None: ...
46
+
47
+ class TableCommonJoin(_message.Message):
48
+ __slots__ = ()
49
+ URN_FIELD_NUMBER: _ClassVar[int]
50
+ COUNT_FIELD_NUMBER: _ClassVar[int]
51
+ CONDITIONS_FIELD_NUMBER: _ClassVar[int]
52
+ urn: str
53
+ count: int
54
+ conditions: _containers.RepeatedScalarFieldContainer[str]
55
+ def __init__(self, urn: _Optional[str] = ..., count: _Optional[int] = ..., conditions: _Optional[_Iterable[str]] = ...) -> None: ...
56
+
57
+ class Column(_message.Message):
58
+ __slots__ = ()
59
+ NAME_FIELD_NUMBER: _ClassVar[int]
60
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
61
+ DATA_TYPE_FIELD_NUMBER: _ClassVar[int]
62
+ IS_NULLABLE_FIELD_NUMBER: _ClassVar[int]
63
+ LENGTH_FIELD_NUMBER: _ClassVar[int]
64
+ PROFILE_FIELD_NUMBER: _ClassVar[int]
65
+ COLUMNS_FIELD_NUMBER: _ClassVar[int]
66
+ ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
67
+ name: str
68
+ description: str
69
+ data_type: str
70
+ is_nullable: bool
71
+ length: int
72
+ profile: ColumnProfile
73
+ columns: _containers.RepeatedCompositeFieldContainer[Column]
74
+ attributes: _struct_pb2.Struct
75
+ def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., data_type: _Optional[str] = ..., is_nullable: _Optional[bool] = ..., length: _Optional[int] = ..., profile: _Optional[_Union[ColumnProfile, _Mapping]] = ..., columns: _Optional[_Iterable[_Union[Column, _Mapping]]] = ..., attributes: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
76
+
77
+ class ColumnProfile(_message.Message):
78
+ __slots__ = ()
79
+ MIN_FIELD_NUMBER: _ClassVar[int]
80
+ MAX_FIELD_NUMBER: _ClassVar[int]
81
+ AVG_FIELD_NUMBER: _ClassVar[int]
82
+ MED_FIELD_NUMBER: _ClassVar[int]
83
+ UNIQUE_FIELD_NUMBER: _ClassVar[int]
84
+ COUNT_FIELD_NUMBER: _ClassVar[int]
85
+ TOP_FIELD_NUMBER: _ClassVar[int]
86
+ min: str
87
+ max: str
88
+ avg: float
89
+ med: float
90
+ unique: int
91
+ count: int
92
+ top: str
93
+ def __init__(self, min: _Optional[str] = ..., max: _Optional[str] = ..., avg: _Optional[float] = ..., med: _Optional[float] = ..., unique: _Optional[int] = ..., count: _Optional[int] = ..., top: _Optional[str] = ...) -> None: ...
@@ -0,0 +1,43 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: raystack/assets/v1beta2/topic.proto
5
+ # Protobuf Python Version: 6.33.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 0,
17
+ '',
18
+ 'raystack/assets/v1beta2/topic.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#raystack/assets/v1beta2/topic.proto\x12\x17raystack.assets.v1beta2\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb9\x02\n\x05Topic\x12?\n\x07profile\x18\x01 \x01(\x0b\x32%.raystack.assets.v1beta2.TopicProfileR\x07profile\x12<\n\x06schema\x18\x02 \x01(\x0b\x32$.raystack.assets.v1beta2.TopicSchemaR\x06schema\x12\x37\n\nattributes\x18\n \x01(\x0b\x32\x17.google.protobuf.StructR\nattributes\x12;\n\x0b\x63reate_time\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x66 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"`\n\x0cTopicProfile\x12\x1e\n\nthroughput\x18\x01 \x01(\tR\nthroughput\x12\x30\n\x14number_of_partitions\x18\x02 \x01(\x03R\x12numberOfPartitions\"D\n\x0bTopicSchema\x12\x1d\n\nschema_url\x18\x01 \x01(\tR\tschemaUrl\x12\x16\n\x06\x66ormat\x18\x02 \x01(\tR\x06\x66ormatBY\n\x12io.raystack.assetsB\nTopicProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2b\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta2.topic_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\nTopicProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2'
37
+ _globals['_TOPIC']._serialized_start=128
38
+ _globals['_TOPIC']._serialized_end=441
39
+ _globals['_TOPICPROFILE']._serialized_start=443
40
+ _globals['_TOPICPROFILE']._serialized_end=539
41
+ _globals['_TOPICSCHEMA']._serialized_start=541
42
+ _globals['_TOPICSCHEMA']._serialized_end=609
43
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,40 @@
1
+ import datetime
2
+
3
+ from google.protobuf import struct_pb2 as _struct_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import message as _message
7
+ from collections.abc import Mapping as _Mapping
8
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
9
+
10
+ DESCRIPTOR: _descriptor.FileDescriptor
11
+
12
+ class Topic(_message.Message):
13
+ __slots__ = ()
14
+ PROFILE_FIELD_NUMBER: _ClassVar[int]
15
+ SCHEMA_FIELD_NUMBER: _ClassVar[int]
16
+ ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
17
+ CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
18
+ UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
19
+ profile: TopicProfile
20
+ schema: TopicSchema
21
+ attributes: _struct_pb2.Struct
22
+ create_time: _timestamp_pb2.Timestamp
23
+ update_time: _timestamp_pb2.Timestamp
24
+ def __init__(self, profile: _Optional[_Union[TopicProfile, _Mapping]] = ..., schema: _Optional[_Union[TopicSchema, _Mapping]] = ..., attributes: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
25
+
26
+ class TopicProfile(_message.Message):
27
+ __slots__ = ()
28
+ THROUGHPUT_FIELD_NUMBER: _ClassVar[int]
29
+ NUMBER_OF_PARTITIONS_FIELD_NUMBER: _ClassVar[int]
30
+ throughput: str
31
+ number_of_partitions: int
32
+ def __init__(self, throughput: _Optional[str] = ..., number_of_partitions: _Optional[int] = ...) -> None: ...
33
+
34
+ class TopicSchema(_message.Message):
35
+ __slots__ = ()
36
+ SCHEMA_URL_FIELD_NUMBER: _ClassVar[int]
37
+ FORMAT_FIELD_NUMBER: _ClassVar[int]
38
+ schema_url: str
39
+ format: str
40
+ def __init__(self, schema_url: _Optional[str] = ..., format: _Optional[str] = ...) -> None: ...
@@ -0,0 +1,43 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: raystack/assets/v1beta2/user.proto
5
+ # Protobuf Python Version: 6.33.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 33,
16
+ 0,
17
+ '',
18
+ 'raystack/assets/v1beta2/user.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"raystack/assets/v1beta2/user.proto\x12\x17raystack.assets.v1beta2\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbf\x04\n\x04User\x12\x14\n\x05\x65mail\x18\x03 \x01(\tR\x05\x65mail\x12\x1a\n\x08username\x18\x04 \x01(\tR\x08username\x12\x1d\n\nfirst_name\x18\x05 \x01(\tR\tfirstName\x12\x1b\n\tlast_name\x18\x06 \x01(\tR\x08lastName\x12\x1b\n\tfull_name\x18\x07 \x01(\tR\x08\x66ullName\x12!\n\x0c\x64isplay_name\x18\x08 \x01(\tR\x0b\x64isplayName\x12\x14\n\x05title\x18\t \x01(\tR\x05title\x12\x16\n\x06status\x18\n \x01(\tR\x06status\x12#\n\rmanager_email\x18\x0b \x01(\tR\x0cmanagerEmail\x12<\n\x08profiles\x18\x15 \x03(\x0b\x32 .raystack.assets.v1beta2.ProfileR\x08profiles\x12\x45\n\x0bmemberships\x18\x16 \x03(\x0b\x32#.raystack.assets.v1beta2.MembershipR\x0bmemberships\x12\x37\n\nattributes\x18\x1e \x01(\x0b\x32\x17.google.protobuf.StructR\nattributes\x12;\n\x0b\x63reate_time\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x66 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"=\n\nMembership\x12\x1b\n\tgroup_urn\x18\x01 \x01(\tR\x08groupUrn\x12\x12\n\x04role\x18\x02 \x03(\tR\x04role\"G\n\x07Profile\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n\x08platform\x18\x02 \x01(\tR\x08platform\x12\x10\n\x03url\x18\x03 \x01(\tR\x03urlBX\n\x12io.raystack.assetsB\tUserProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2b\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.assets.v1beta2.user_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\022io.raystack.assetsB\tUserProtoZ7github.com/raystack/proton/assets/v1beta2;assetsv1beta2'
37
+ _globals['_USER']._serialized_start=127
38
+ _globals['_USER']._serialized_end=702
39
+ _globals['_MEMBERSHIP']._serialized_start=704
40
+ _globals['_MEMBERSHIP']._serialized_end=765
41
+ _globals['_PROFILE']._serialized_start=767
42
+ _globals['_PROFILE']._serialized_end=838
43
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,61 @@
1
+ import datetime
2
+
3
+ from google.protobuf import struct_pb2 as _struct_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_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 collections.abc import Iterable as _Iterable, Mapping as _Mapping
9
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class User(_message.Message):
14
+ __slots__ = ()
15
+ EMAIL_FIELD_NUMBER: _ClassVar[int]
16
+ USERNAME_FIELD_NUMBER: _ClassVar[int]
17
+ FIRST_NAME_FIELD_NUMBER: _ClassVar[int]
18
+ LAST_NAME_FIELD_NUMBER: _ClassVar[int]
19
+ FULL_NAME_FIELD_NUMBER: _ClassVar[int]
20
+ DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
21
+ TITLE_FIELD_NUMBER: _ClassVar[int]
22
+ STATUS_FIELD_NUMBER: _ClassVar[int]
23
+ MANAGER_EMAIL_FIELD_NUMBER: _ClassVar[int]
24
+ PROFILES_FIELD_NUMBER: _ClassVar[int]
25
+ MEMBERSHIPS_FIELD_NUMBER: _ClassVar[int]
26
+ ATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
27
+ CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
28
+ UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
29
+ email: str
30
+ username: str
31
+ first_name: str
32
+ last_name: str
33
+ full_name: str
34
+ display_name: str
35
+ title: str
36
+ status: str
37
+ manager_email: str
38
+ profiles: _containers.RepeatedCompositeFieldContainer[Profile]
39
+ memberships: _containers.RepeatedCompositeFieldContainer[Membership]
40
+ attributes: _struct_pb2.Struct
41
+ create_time: _timestamp_pb2.Timestamp
42
+ update_time: _timestamp_pb2.Timestamp
43
+ def __init__(self, email: _Optional[str] = ..., username: _Optional[str] = ..., first_name: _Optional[str] = ..., last_name: _Optional[str] = ..., full_name: _Optional[str] = ..., display_name: _Optional[str] = ..., title: _Optional[str] = ..., status: _Optional[str] = ..., manager_email: _Optional[str] = ..., profiles: _Optional[_Iterable[_Union[Profile, _Mapping]]] = ..., memberships: _Optional[_Iterable[_Union[Membership, _Mapping]]] = ..., attributes: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., create_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
44
+
45
+ class Membership(_message.Message):
46
+ __slots__ = ()
47
+ GROUP_URN_FIELD_NUMBER: _ClassVar[int]
48
+ ROLE_FIELD_NUMBER: _ClassVar[int]
49
+ group_urn: str
50
+ role: _containers.RepeatedScalarFieldContainer[str]
51
+ def __init__(self, group_urn: _Optional[str] = ..., role: _Optional[_Iterable[str]] = ...) -> None: ...
52
+
53
+ class Profile(_message.Message):
54
+ __slots__ = ()
55
+ ID_FIELD_NUMBER: _ClassVar[int]
56
+ PLATFORM_FIELD_NUMBER: _ClassVar[int]
57
+ URL_FIELD_NUMBER: _ClassVar[int]
58
+ id: str
59
+ platform: str
60
+ url: str
61
+ def __init__(self, id: _Optional[str] = ..., platform: _Optional[str] = ..., url: _Optional[str] = ...) -> None: ...
File without changes
File without changes
@@ -0,0 +1,119 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
3
+ # source: raystack/common/v1/service.proto
4
+
5
+ from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
6
+ from typing import Protocol
7
+
8
+ from connectrpc.client import ConnectClient, ConnectClientSync
9
+ from connectrpc.code import Code
10
+ from connectrpc.errors import ConnectError
11
+ from connectrpc.interceptor import Interceptor, InterceptorSync
12
+ from connectrpc.method import IdempotencyLevel, MethodInfo
13
+ from connectrpc.request import Headers, RequestContext
14
+ from connectrpc.server import ConnectASGIApplication, ConnectWSGIApplication, Endpoint, EndpointSync
15
+ import raystack.common.v1.service_pb2 as raystack_dot_common_dot_v1_dot_service__pb2
16
+
17
+
18
+ class CommonService(Protocol):
19
+ async def get_version(self, request: raystack_dot_common_dot_v1_dot_service__pb2.GetVersionRequest, ctx: RequestContext) -> raystack_dot_common_dot_v1_dot_service__pb2.GetVersionResponse:
20
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
21
+
22
+
23
+ class CommonServiceASGIApplication(ConnectASGIApplication):
24
+ def __init__(self, service: CommonService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
25
+ super().__init__(
26
+ endpoints={
27
+ "/raystack.common.v1.CommonService/GetVersion": Endpoint.unary(
28
+ method=MethodInfo(
29
+ name="GetVersion",
30
+ service_name="raystack.common.v1.CommonService",
31
+ input=raystack_dot_common_dot_v1_dot_service__pb2.GetVersionRequest,
32
+ output=raystack_dot_common_dot_v1_dot_service__pb2.GetVersionResponse,
33
+ idempotency_level=IdempotencyLevel.UNKNOWN,
34
+ ),
35
+ function=service.get_version,
36
+ ),
37
+ },
38
+ interceptors=interceptors,
39
+ read_max_bytes=read_max_bytes,
40
+ )
41
+
42
+ @property
43
+ def path(self) -> str:
44
+ """Returns the URL path to mount the application to when serving multiple applications."""
45
+ return "/raystack.common.v1.CommonService"
46
+
47
+
48
+ class CommonServiceClient(ConnectClient):
49
+ async def get_version(
50
+ self,
51
+ request: raystack_dot_common_dot_v1_dot_service__pb2.GetVersionRequest,
52
+ *,
53
+ headers: Headers | Mapping[str, str] | None = None,
54
+ timeout_ms: int | None = None,
55
+ ) -> raystack_dot_common_dot_v1_dot_service__pb2.GetVersionResponse:
56
+ return await self.execute_unary(
57
+ request=request,
58
+ method=MethodInfo(
59
+ name="GetVersion",
60
+ service_name="raystack.common.v1.CommonService",
61
+ input=raystack_dot_common_dot_v1_dot_service__pb2.GetVersionRequest,
62
+ output=raystack_dot_common_dot_v1_dot_service__pb2.GetVersionResponse,
63
+ idempotency_level=IdempotencyLevel.UNKNOWN,
64
+ ),
65
+ headers=headers,
66
+ timeout_ms=timeout_ms,
67
+ )
68
+
69
+
70
+ class CommonServiceSync(Protocol):
71
+ def get_version(self, request: raystack_dot_common_dot_v1_dot_service__pb2.GetVersionRequest, ctx: RequestContext) -> raystack_dot_common_dot_v1_dot_service__pb2.GetVersionResponse:
72
+ raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
73
+
74
+
75
+ class CommonServiceWSGIApplication(ConnectWSGIApplication):
76
+ def __init__(self, service: CommonServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
77
+ super().__init__(
78
+ endpoints={
79
+ "/raystack.common.v1.CommonService/GetVersion": EndpointSync.unary(
80
+ method=MethodInfo(
81
+ name="GetVersion",
82
+ service_name="raystack.common.v1.CommonService",
83
+ input=raystack_dot_common_dot_v1_dot_service__pb2.GetVersionRequest,
84
+ output=raystack_dot_common_dot_v1_dot_service__pb2.GetVersionResponse,
85
+ idempotency_level=IdempotencyLevel.UNKNOWN,
86
+ ),
87
+ function=service.get_version,
88
+ ),
89
+ },
90
+ interceptors=interceptors,
91
+ read_max_bytes=read_max_bytes,
92
+ )
93
+
94
+ @property
95
+ def path(self) -> str:
96
+ """Returns the URL path to mount the application to when serving multiple applications."""
97
+ return "/raystack.common.v1.CommonService"
98
+
99
+
100
+ class CommonServiceClientSync(ConnectClientSync):
101
+ def get_version(
102
+ self,
103
+ request: raystack_dot_common_dot_v1_dot_service__pb2.GetVersionRequest,
104
+ *,
105
+ headers: Headers | Mapping[str, str] | None = None,
106
+ timeout_ms: int | None = None,
107
+ ) -> raystack_dot_common_dot_v1_dot_service__pb2.GetVersionResponse:
108
+ return self.execute_unary(
109
+ request=request,
110
+ method=MethodInfo(
111
+ name="GetVersion",
112
+ service_name="raystack.common.v1.CommonService",
113
+ input=raystack_dot_common_dot_v1_dot_service__pb2.GetVersionRequest,
114
+ output=raystack_dot_common_dot_v1_dot_service__pb2.GetVersionResponse,
115
+ idempotency_level=IdempotencyLevel.UNKNOWN,
116
+ ),
117
+ headers=headers,
118
+ timeout_ms=timeout_ms,
119
+ )