sift-stack-py 0.3.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 (291) hide show
  1. google/__init__.py +1 -0
  2. google/api/__init__.py +0 -0
  3. google/api/annotations_pb2.py +27 -0
  4. google/api/annotations_pb2.pyi +29 -0
  5. google/api/annotations_pb2_grpc.py +4 -0
  6. google/api/annotations_pb2_grpc.pyi +30 -0
  7. google/api/field_behavior_pb2.py +30 -0
  8. google/api/field_behavior_pb2.pyi +175 -0
  9. google/api/field_behavior_pb2_grpc.py +4 -0
  10. google/api/field_behavior_pb2_grpc.pyi +30 -0
  11. google/api/http_pb2.py +31 -0
  12. google/api/http_pb2.pyi +433 -0
  13. google/api/http_pb2_grpc.py +4 -0
  14. google/api/http_pb2_grpc.pyi +30 -0
  15. protoc_gen_openapiv2/__init__.py +0 -0
  16. protoc_gen_openapiv2/options/__init__.py +0 -0
  17. protoc_gen_openapiv2/options/annotations_pb2.py +27 -0
  18. protoc_gen_openapiv2/options/annotations_pb2.pyi +48 -0
  19. protoc_gen_openapiv2/options/annotations_pb2_grpc.py +4 -0
  20. protoc_gen_openapiv2/options/annotations_pb2_grpc.pyi +17 -0
  21. protoc_gen_openapiv2/options/openapiv2_pb2.py +132 -0
  22. protoc_gen_openapiv2/options/openapiv2_pb2.pyi +1533 -0
  23. protoc_gen_openapiv2/options/openapiv2_pb2_grpc.py +4 -0
  24. protoc_gen_openapiv2/options/openapiv2_pb2_grpc.pyi +17 -0
  25. sift/__init__.py +0 -0
  26. sift/annotation_logs/__init__.py +0 -0
  27. sift/annotation_logs/v1/__init__.py +0 -0
  28. sift/annotation_logs/v1/annotation_logs_pb2.py +115 -0
  29. sift/annotation_logs/v1/annotation_logs_pb2.pyi +370 -0
  30. sift/annotation_logs/v1/annotation_logs_pb2_grpc.py +135 -0
  31. sift/annotation_logs/v1/annotation_logs_pb2_grpc.pyi +84 -0
  32. sift/annotations/__init__.py +0 -0
  33. sift/annotations/v1/__init__.py +0 -0
  34. sift/annotations/v1/annotations_pb2.py +180 -0
  35. sift/annotations/v1/annotations_pb2.pyi +539 -0
  36. sift/annotations/v1/annotations_pb2_grpc.py +237 -0
  37. sift/annotations/v1/annotations_pb2_grpc.pyi +144 -0
  38. sift/assets/__init__.py +0 -0
  39. sift/assets/v1/__init__.py +0 -0
  40. sift/assets/v1/assets_pb2.py +90 -0
  41. sift/assets/v1/assets_pb2.pyi +235 -0
  42. sift/assets/v1/assets_pb2_grpc.py +168 -0
  43. sift/assets/v1/assets_pb2_grpc.pyi +101 -0
  44. sift/calculated_channels/__init__.py +0 -0
  45. sift/calculated_channels/v1/__init__.py +0 -0
  46. sift/calculated_channels/v1/calculated_channels_pb2.py +99 -0
  47. sift/calculated_channels/v1/calculated_channels_pb2.pyi +280 -0
  48. sift/calculated_channels/v1/calculated_channels_pb2_grpc.py +101 -0
  49. sift/calculated_channels/v1/calculated_channels_pb2_grpc.pyi +64 -0
  50. sift/campaigns/__init__.py +0 -0
  51. sift/campaigns/v1/__init__.py +0 -0
  52. sift/campaigns/v1/campaigns_pb2.py +144 -0
  53. sift/campaigns/v1/campaigns_pb2.pyi +383 -0
  54. sift/campaigns/v1/campaigns_pb2_grpc.py +169 -0
  55. sift/campaigns/v1/campaigns_pb2_grpc.pyi +104 -0
  56. sift/channel_schemas/__init__.py +0 -0
  57. sift/channel_schemas/v1/__init__.py +0 -0
  58. sift/channel_schemas/v1/channel_schemas_pb2.py +69 -0
  59. sift/channel_schemas/v1/channel_schemas_pb2.pyi +117 -0
  60. sift/channel_schemas/v1/channel_schemas_pb2_grpc.py +101 -0
  61. sift/channel_schemas/v1/channel_schemas_pb2_grpc.pyi +64 -0
  62. sift/channels/__init__.py +0 -0
  63. sift/channels/v2/__init__.py +0 -0
  64. sift/channels/v2/channels_pb2.py +88 -0
  65. sift/channels/v2/channels_pb2.pyi +183 -0
  66. sift/channels/v2/channels_pb2_grpc.py +101 -0
  67. sift/channels/v2/channels_pb2_grpc.pyi +64 -0
  68. sift/common/__init__.py +0 -0
  69. sift/common/type/__init__.py +0 -0
  70. sift/common/type/v1/__init__.py +0 -0
  71. sift/common/type/v1/channel_bit_field_element_pb2.py +34 -0
  72. sift/common/type/v1/channel_bit_field_element_pb2.pyi +33 -0
  73. sift/common/type/v1/channel_bit_field_element_pb2_grpc.py +4 -0
  74. sift/common/type/v1/channel_bit_field_element_pb2_grpc.pyi +17 -0
  75. sift/common/type/v1/channel_data_type_pb2.py +29 -0
  76. sift/common/type/v1/channel_data_type_pb2.pyi +50 -0
  77. sift/common/type/v1/channel_data_type_pb2_grpc.py +4 -0
  78. sift/common/type/v1/channel_data_type_pb2_grpc.pyi +17 -0
  79. sift/common/type/v1/channel_enum_type_pb2.py +32 -0
  80. sift/common/type/v1/channel_enum_type_pb2.pyi +29 -0
  81. sift/common/type/v1/channel_enum_type_pb2_grpc.py +4 -0
  82. sift/common/type/v1/channel_enum_type_pb2_grpc.pyi +17 -0
  83. sift/common/type/v1/organization_pb2.py +27 -0
  84. sift/common/type/v1/organization_pb2.pyi +29 -0
  85. sift/common/type/v1/organization_pb2_grpc.py +4 -0
  86. sift/common/type/v1/organization_pb2_grpc.pyi +17 -0
  87. sift/common/type/v1/resource_identifier_pb2.py +46 -0
  88. sift/common/type/v1/resource_identifier_pb2.pyi +145 -0
  89. sift/common/type/v1/resource_identifier_pb2_grpc.py +4 -0
  90. sift/common/type/v1/resource_identifier_pb2_grpc.pyi +17 -0
  91. sift/common/type/v1/user_pb2.py +33 -0
  92. sift/common/type/v1/user_pb2.pyi +36 -0
  93. sift/common/type/v1/user_pb2_grpc.py +4 -0
  94. sift/common/type/v1/user_pb2_grpc.pyi +17 -0
  95. sift/data/__init__.py +0 -0
  96. sift/data/v1/__init__.py +0 -0
  97. sift/data/v1/data_pb2.py +212 -0
  98. sift/data/v1/data_pb2.pyi +745 -0
  99. sift/data/v1/data_pb2_grpc.py +67 -0
  100. sift/data/v1/data_pb2_grpc.pyi +44 -0
  101. sift/ingest/__init__.py +0 -0
  102. sift/ingest/v1/__init__.py +0 -0
  103. sift/ingest/v1/ingest_pb2.py +35 -0
  104. sift/ingest/v1/ingest_pb2.pyi +118 -0
  105. sift/ingest/v1/ingest_pb2_grpc.py +66 -0
  106. sift/ingest/v1/ingest_pb2_grpc.pyi +41 -0
  107. sift/ingestion_configs/__init__.py +0 -0
  108. sift/ingestion_configs/v1/__init__.py +0 -0
  109. sift/ingestion_configs/v1/ingestion_configs_pb2.py +115 -0
  110. sift/ingestion_configs/v1/ingestion_configs_pb2.pyi +332 -0
  111. sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.py +203 -0
  112. sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.pyi +124 -0
  113. sift/notifications/__init__.py +0 -0
  114. sift/notifications/v1/__init__.py +0 -0
  115. sift/notifications/v1/notifications_pb2.py +64 -0
  116. sift/notifications/v1/notifications_pb2.pyi +225 -0
  117. sift/notifications/v1/notifications_pb2_grpc.py +101 -0
  118. sift/notifications/v1/notifications_pb2_grpc.pyi +64 -0
  119. sift/ping/__init__.py +0 -0
  120. sift/ping/v1/__init__.py +0 -0
  121. sift/ping/v1/ping_pb2.py +38 -0
  122. sift/ping/v1/ping_pb2.pyi +36 -0
  123. sift/ping/v1/ping_pb2_grpc.py +66 -0
  124. sift/ping/v1/ping_pb2_grpc.pyi +41 -0
  125. sift/remote_files/__init__.py +0 -0
  126. sift/remote_files/v1/__init__.py +0 -0
  127. sift/remote_files/v1/remote_files_pb2.py +174 -0
  128. sift/remote_files/v1/remote_files_pb2.pyi +472 -0
  129. sift/remote_files/v1/remote_files_pb2_grpc.py +271 -0
  130. sift/remote_files/v1/remote_files_pb2_grpc.pyi +164 -0
  131. sift/report_templates/__init__.py +0 -0
  132. sift/report_templates/v1/__init__.py +0 -0
  133. sift/report_templates/v1/report_templates_pb2.py +146 -0
  134. sift/report_templates/v1/report_templates_pb2.pyi +381 -0
  135. sift/report_templates/v1/report_templates_pb2_grpc.py +169 -0
  136. sift/report_templates/v1/report_templates_pb2_grpc.pyi +104 -0
  137. sift/reports/__init__.py +0 -0
  138. sift/reports/v1/__init__.py +0 -0
  139. sift/reports/v1/reports_pb2.py +193 -0
  140. sift/reports/v1/reports_pb2.pyi +562 -0
  141. sift/reports/v1/reports_pb2_grpc.py +205 -0
  142. sift/reports/v1/reports_pb2_grpc.pyi +136 -0
  143. sift/rule_evaluation/__init__.py +0 -0
  144. sift/rule_evaluation/v1/__init__.py +0 -0
  145. sift/rule_evaluation/v1/rule_evaluation_pb2.py +89 -0
  146. sift/rule_evaluation/v1/rule_evaluation_pb2.pyi +263 -0
  147. sift/rule_evaluation/v1/rule_evaluation_pb2_grpc.py +101 -0
  148. sift/rule_evaluation/v1/rule_evaluation_pb2_grpc.pyi +64 -0
  149. sift/rules/__init__.py +0 -0
  150. sift/rules/v1/__init__.py +0 -0
  151. sift/rules/v1/rules_pb2.py +420 -0
  152. sift/rules/v1/rules_pb2.pyi +1355 -0
  153. sift/rules/v1/rules_pb2_grpc.py +577 -0
  154. sift/rules/v1/rules_pb2_grpc.pyi +351 -0
  155. sift/runs/__init__.py +0 -0
  156. sift/runs/v2/__init__.py +0 -0
  157. sift/runs/v2/runs_pb2.py +150 -0
  158. sift/runs/v2/runs_pb2.pyi +413 -0
  159. sift/runs/v2/runs_pb2_grpc.py +271 -0
  160. sift/runs/v2/runs_pb2_grpc.pyi +164 -0
  161. sift/saved_searches/__init__.py +0 -0
  162. sift/saved_searches/v1/__init__.py +0 -0
  163. sift/saved_searches/v1/saved_searches_pb2.py +144 -0
  164. sift/saved_searches/v1/saved_searches_pb2.pyi +385 -0
  165. sift/saved_searches/v1/saved_searches_pb2_grpc.py +237 -0
  166. sift/saved_searches/v1/saved_searches_pb2_grpc.pyi +144 -0
  167. sift/tags/__init__.py +0 -0
  168. sift/tags/v1/__init__.py +0 -0
  169. sift/tags/v1/tags_pb2.py +49 -0
  170. sift/tags/v1/tags_pb2.pyi +71 -0
  171. sift/tags/v1/tags_pb2_grpc.py +4 -0
  172. sift/tags/v1/tags_pb2_grpc.pyi +17 -0
  173. sift/users/__init__.py +0 -0
  174. sift/users/v2/__init__.py +0 -0
  175. sift/users/v2/users_pb2.py +61 -0
  176. sift/users/v2/users_pb2.pyi +142 -0
  177. sift/users/v2/users_pb2_grpc.py +135 -0
  178. sift/users/v2/users_pb2_grpc.pyi +84 -0
  179. sift/views/__init__.py +0 -0
  180. sift/views/v1/__init__.py +0 -0
  181. sift/views/v1/views_pb2.py +130 -0
  182. sift/views/v1/views_pb2.pyi +466 -0
  183. sift/views/v1/views_pb2_grpc.py +305 -0
  184. sift/views/v1/views_pb2_grpc.pyi +184 -0
  185. sift_grafana/py.typed +0 -0
  186. sift_grafana/sift_query_model.py +64 -0
  187. sift_py/__init__.py +923 -0
  188. sift_py/_internal/__init__.py +5 -0
  189. sift_py/_internal/cel.py +18 -0
  190. sift_py/_internal/channel.py +42 -0
  191. sift_py/_internal/convert/__init__.py +3 -0
  192. sift_py/_internal/convert/json.py +24 -0
  193. sift_py/_internal/convert/protobuf.py +34 -0
  194. sift_py/_internal/convert/timestamp.py +9 -0
  195. sift_py/_internal/test_util/__init__.py +0 -0
  196. sift_py/_internal/test_util/channel.py +136 -0
  197. sift_py/_internal/test_util/fn.py +14 -0
  198. sift_py/_internal/test_util/server_interceptor.py +62 -0
  199. sift_py/_internal/time.py +48 -0
  200. sift_py/_internal/user.py +39 -0
  201. sift_py/data/__init__.py +171 -0
  202. sift_py/data/_channel.py +38 -0
  203. sift_py/data/_deserialize.py +208 -0
  204. sift_py/data/_deserialize_test.py +134 -0
  205. sift_py/data/_service_test.py +276 -0
  206. sift_py/data/_validate.py +10 -0
  207. sift_py/data/error.py +5 -0
  208. sift_py/data/query.py +299 -0
  209. sift_py/data/service.py +497 -0
  210. sift_py/data_import/__init__.py +130 -0
  211. sift_py/data_import/_config.py +167 -0
  212. sift_py/data_import/_config_test.py +166 -0
  213. sift_py/data_import/_csv_test.py +395 -0
  214. sift_py/data_import/_status_test.py +176 -0
  215. sift_py/data_import/_tdms_test.py +238 -0
  216. sift_py/data_import/ch10.py +157 -0
  217. sift_py/data_import/config.py +19 -0
  218. sift_py/data_import/csv.py +259 -0
  219. sift_py/data_import/status.py +113 -0
  220. sift_py/data_import/tdms.py +206 -0
  221. sift_py/data_import/tempfile.py +30 -0
  222. sift_py/data_import/time_format.py +39 -0
  223. sift_py/error.py +11 -0
  224. sift_py/file_attachment/__init__.py +88 -0
  225. sift_py/file_attachment/_internal/__init__.py +0 -0
  226. sift_py/file_attachment/_internal/download.py +13 -0
  227. sift_py/file_attachment/_internal/upload.py +100 -0
  228. sift_py/file_attachment/_service_test.py +161 -0
  229. sift_py/file_attachment/entity.py +30 -0
  230. sift_py/file_attachment/metadata.py +107 -0
  231. sift_py/file_attachment/service.py +142 -0
  232. sift_py/grpc/__init__.py +15 -0
  233. sift_py/grpc/_async_interceptors/__init__.py +0 -0
  234. sift_py/grpc/_async_interceptors/base.py +72 -0
  235. sift_py/grpc/_async_interceptors/metadata.py +36 -0
  236. sift_py/grpc/_interceptors/__init__.py +0 -0
  237. sift_py/grpc/_interceptors/base.py +61 -0
  238. sift_py/grpc/_interceptors/context.py +25 -0
  239. sift_py/grpc/_interceptors/metadata.py +33 -0
  240. sift_py/grpc/_retry.py +70 -0
  241. sift_py/grpc/keepalive.py +34 -0
  242. sift_py/grpc/transport.py +250 -0
  243. sift_py/grpc/transport_test.py +170 -0
  244. sift_py/ingestion/__init__.py +6 -0
  245. sift_py/ingestion/_internal/__init__.py +6 -0
  246. sift_py/ingestion/_internal/channel.py +12 -0
  247. sift_py/ingestion/_internal/error.py +10 -0
  248. sift_py/ingestion/_internal/ingest.py +350 -0
  249. sift_py/ingestion/_internal/ingest_test.py +357 -0
  250. sift_py/ingestion/_internal/ingestion_config.py +130 -0
  251. sift_py/ingestion/_internal/run.py +46 -0
  252. sift_py/ingestion/_service_test.py +478 -0
  253. sift_py/ingestion/buffer.py +189 -0
  254. sift_py/ingestion/channel.py +422 -0
  255. sift_py/ingestion/config/__init__.py +3 -0
  256. sift_py/ingestion/config/telemetry.py +281 -0
  257. sift_py/ingestion/config/telemetry_test.py +405 -0
  258. sift_py/ingestion/config/yaml/__init__.py +0 -0
  259. sift_py/ingestion/config/yaml/error.py +44 -0
  260. sift_py/ingestion/config/yaml/load.py +126 -0
  261. sift_py/ingestion/config/yaml/spec.py +58 -0
  262. sift_py/ingestion/config/yaml/test_load.py +25 -0
  263. sift_py/ingestion/flow.py +73 -0
  264. sift_py/ingestion/manager.py +99 -0
  265. sift_py/ingestion/rule/__init__.py +4 -0
  266. sift_py/ingestion/rule/config.py +11 -0
  267. sift_py/ingestion/service.py +237 -0
  268. sift_py/py.typed +0 -0
  269. sift_py/report_templates/__init__.py +0 -0
  270. sift_py/report_templates/_config_test.py +34 -0
  271. sift_py/report_templates/_service_test.py +94 -0
  272. sift_py/report_templates/config.py +36 -0
  273. sift_py/report_templates/service.py +171 -0
  274. sift_py/rest.py +29 -0
  275. sift_py/rule/__init__.py +0 -0
  276. sift_py/rule/_config_test.py +109 -0
  277. sift_py/rule/_service_test.py +168 -0
  278. sift_py/rule/config.py +229 -0
  279. sift_py/rule/service.py +484 -0
  280. sift_py/yaml/__init__.py +0 -0
  281. sift_py/yaml/_channel_test.py +169 -0
  282. sift_py/yaml/_rule_test.py +207 -0
  283. sift_py/yaml/channel.py +224 -0
  284. sift_py/yaml/report_templates.py +73 -0
  285. sift_py/yaml/rule.py +321 -0
  286. sift_py/yaml/utils.py +15 -0
  287. sift_stack_py-0.3.2.dist-info/LICENSE +7 -0
  288. sift_stack_py-0.3.2.dist-info/METADATA +109 -0
  289. sift_stack_py-0.3.2.dist-info/RECORD +291 -0
  290. sift_stack_py-0.3.2.dist-info/WHEEL +5 -0
  291. sift_stack_py-0.3.2.dist-info/top_level.txt +5 -0
@@ -0,0 +1,101 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from sift.channels.v2 import channels_pb2 as sift_dot_channels_dot_v2_dot_channels__pb2
6
+
7
+
8
+ class ChannelServiceStub(object):
9
+ """Missing associated documentation comment in .proto file."""
10
+
11
+ def __init__(self, channel):
12
+ """Constructor.
13
+
14
+ Args:
15
+ channel: A grpc.Channel.
16
+ """
17
+ self.GetChannel = channel.unary_unary(
18
+ '/sift.channels.v2.ChannelService/GetChannel',
19
+ request_serializer=sift_dot_channels_dot_v2_dot_channels__pb2.GetChannelRequest.SerializeToString,
20
+ response_deserializer=sift_dot_channels_dot_v2_dot_channels__pb2.GetChannelResponse.FromString,
21
+ )
22
+ self.ListChannels = channel.unary_unary(
23
+ '/sift.channels.v2.ChannelService/ListChannels',
24
+ request_serializer=sift_dot_channels_dot_v2_dot_channels__pb2.ListChannelsRequest.SerializeToString,
25
+ response_deserializer=sift_dot_channels_dot_v2_dot_channels__pb2.ListChannelsResponse.FromString,
26
+ )
27
+
28
+
29
+ class ChannelServiceServicer(object):
30
+ """Missing associated documentation comment in .proto file."""
31
+
32
+ def GetChannel(self, request, context):
33
+ """Retrieve a channel
34
+ """
35
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
36
+ context.set_details('Method not implemented!')
37
+ raise NotImplementedError('Method not implemented!')
38
+
39
+ def ListChannels(self, request, context):
40
+ """Retrieve channels using an optional filter.
41
+ """
42
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
43
+ context.set_details('Method not implemented!')
44
+ raise NotImplementedError('Method not implemented!')
45
+
46
+
47
+ def add_ChannelServiceServicer_to_server(servicer, server):
48
+ rpc_method_handlers = {
49
+ 'GetChannel': grpc.unary_unary_rpc_method_handler(
50
+ servicer.GetChannel,
51
+ request_deserializer=sift_dot_channels_dot_v2_dot_channels__pb2.GetChannelRequest.FromString,
52
+ response_serializer=sift_dot_channels_dot_v2_dot_channels__pb2.GetChannelResponse.SerializeToString,
53
+ ),
54
+ 'ListChannels': grpc.unary_unary_rpc_method_handler(
55
+ servicer.ListChannels,
56
+ request_deserializer=sift_dot_channels_dot_v2_dot_channels__pb2.ListChannelsRequest.FromString,
57
+ response_serializer=sift_dot_channels_dot_v2_dot_channels__pb2.ListChannelsResponse.SerializeToString,
58
+ ),
59
+ }
60
+ generic_handler = grpc.method_handlers_generic_handler(
61
+ 'sift.channels.v2.ChannelService', rpc_method_handlers)
62
+ server.add_generic_rpc_handlers((generic_handler,))
63
+
64
+
65
+ # This class is part of an EXPERIMENTAL API.
66
+ class ChannelService(object):
67
+ """Missing associated documentation comment in .proto file."""
68
+
69
+ @staticmethod
70
+ def GetChannel(request,
71
+ target,
72
+ options=(),
73
+ channel_credentials=None,
74
+ call_credentials=None,
75
+ insecure=False,
76
+ compression=None,
77
+ wait_for_ready=None,
78
+ timeout=None,
79
+ metadata=None):
80
+ return grpc.experimental.unary_unary(request, target, '/sift.channels.v2.ChannelService/GetChannel',
81
+ sift_dot_channels_dot_v2_dot_channels__pb2.GetChannelRequest.SerializeToString,
82
+ sift_dot_channels_dot_v2_dot_channels__pb2.GetChannelResponse.FromString,
83
+ options, channel_credentials,
84
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
85
+
86
+ @staticmethod
87
+ def ListChannels(request,
88
+ target,
89
+ options=(),
90
+ channel_credentials=None,
91
+ call_credentials=None,
92
+ insecure=False,
93
+ compression=None,
94
+ wait_for_ready=None,
95
+ timeout=None,
96
+ metadata=None):
97
+ return grpc.experimental.unary_unary(request, target, '/sift.channels.v2.ChannelService/ListChannels',
98
+ sift_dot_channels_dot_v2_dot_channels__pb2.ListChannelsRequest.SerializeToString,
99
+ sift_dot_channels_dot_v2_dot_channels__pb2.ListChannelsResponse.FromString,
100
+ options, channel_credentials,
101
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,64 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import sift.channels.v2.channels_pb2
11
+ import typing
12
+
13
+ _T = typing.TypeVar("_T")
14
+
15
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
16
+
17
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
18
+ ...
19
+
20
+ class ChannelServiceStub:
21
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
22
+ GetChannel: grpc.UnaryUnaryMultiCallable[
23
+ sift.channels.v2.channels_pb2.GetChannelRequest,
24
+ sift.channels.v2.channels_pb2.GetChannelResponse,
25
+ ]
26
+ """Retrieve a channel"""
27
+
28
+ ListChannels: grpc.UnaryUnaryMultiCallable[
29
+ sift.channels.v2.channels_pb2.ListChannelsRequest,
30
+ sift.channels.v2.channels_pb2.ListChannelsResponse,
31
+ ]
32
+ """Retrieve channels using an optional filter."""
33
+
34
+ class ChannelServiceAsyncStub:
35
+ GetChannel: grpc.aio.UnaryUnaryMultiCallable[
36
+ sift.channels.v2.channels_pb2.GetChannelRequest,
37
+ sift.channels.v2.channels_pb2.GetChannelResponse,
38
+ ]
39
+ """Retrieve a channel"""
40
+
41
+ ListChannels: grpc.aio.UnaryUnaryMultiCallable[
42
+ sift.channels.v2.channels_pb2.ListChannelsRequest,
43
+ sift.channels.v2.channels_pb2.ListChannelsResponse,
44
+ ]
45
+ """Retrieve channels using an optional filter."""
46
+
47
+ class ChannelServiceServicer(metaclass=abc.ABCMeta):
48
+ @abc.abstractmethod
49
+ def GetChannel(
50
+ self,
51
+ request: sift.channels.v2.channels_pb2.GetChannelRequest,
52
+ context: _ServicerContext,
53
+ ) -> typing.Union[sift.channels.v2.channels_pb2.GetChannelResponse, collections.abc.Awaitable[sift.channels.v2.channels_pb2.GetChannelResponse]]:
54
+ """Retrieve a channel"""
55
+
56
+ @abc.abstractmethod
57
+ def ListChannels(
58
+ self,
59
+ request: sift.channels.v2.channels_pb2.ListChannelsRequest,
60
+ context: _ServicerContext,
61
+ ) -> typing.Union[sift.channels.v2.channels_pb2.ListChannelsResponse, collections.abc.Awaitable[sift.channels.v2.channels_pb2.ListChannelsResponse]]:
62
+ """Retrieve channels using an optional filter."""
63
+
64
+ def add_ChannelServiceServicer_to_server(servicer: ChannelServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
File without changes
File without changes
File without changes
@@ -0,0 +1,34 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sift/common/type/v1/channel_bit_field_element.proto
4
+ # Protobuf Python Version: 5.26.1
5
+ """Generated protocol buffer code."""
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3sift/common/type/v1/channel_bit_field_element.proto\x12\x13sift.common.type.v1\x1a\x1fgoogle/api/field_behavior.proto\"n\n\x16\x43hannelBitFieldElement\x12\x17\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x04name\x12\x19\n\x05index\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02R\x05index\x12 \n\tbit_count\x18\x03 \x01(\rB\x03\xe0\x41\x02R\x08\x62itCountB\xa5\x01\n\x17\x63om.sift.common.type.v1B\x1b\x43hannelBitFieldElementProtoP\x01\xa2\x02\x03SCT\xaa\x02\x13Sift.Common.Type.V1\xca\x02\x13Sift\\Common\\Type\\V1\xe2\x02\x1fSift\\Common\\Type\\V1\\GPBMetadata\xea\x02\x16Sift::Common::Type::V1b\x06proto3')
19
+
20
+ _globals = globals()
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.common.type.v1.channel_bit_field_element_pb2', _globals)
23
+ if not _descriptor._USE_C_DESCRIPTORS:
24
+ _globals['DESCRIPTOR']._loaded_options = None
25
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027com.sift.common.type.v1B\033ChannelBitFieldElementProtoP\001\242\002\003SCT\252\002\023Sift.Common.Type.V1\312\002\023Sift\\Common\\Type\\V1\342\002\037Sift\\Common\\Type\\V1\\GPBMetadata\352\002\026Sift::Common::Type::V1'
26
+ _globals['_CHANNELBITFIELDELEMENT'].fields_by_name['name']._loaded_options = None
27
+ _globals['_CHANNELBITFIELDELEMENT'].fields_by_name['name']._serialized_options = b'\340A\002'
28
+ _globals['_CHANNELBITFIELDELEMENT'].fields_by_name['index']._loaded_options = None
29
+ _globals['_CHANNELBITFIELDELEMENT'].fields_by_name['index']._serialized_options = b'\340A\002'
30
+ _globals['_CHANNELBITFIELDELEMENT'].fields_by_name['bit_count']._loaded_options = None
31
+ _globals['_CHANNELBITFIELDELEMENT'].fields_by_name['bit_count']._serialized_options = b'\340A\002'
32
+ _globals['_CHANNELBITFIELDELEMENT']._serialized_start=109
33
+ _globals['_CHANNELBITFIELDELEMENT']._serialized_end=219
34
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,33 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.message
9
+ import typing
10
+
11
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
12
+
13
+ @typing.final
14
+ class ChannelBitFieldElement(google.protobuf.message.Message):
15
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
16
+
17
+ NAME_FIELD_NUMBER: builtins.int
18
+ INDEX_FIELD_NUMBER: builtins.int
19
+ BIT_COUNT_FIELD_NUMBER: builtins.int
20
+ name: builtins.str
21
+ index: builtins.int
22
+ """The index of this element's first bit in the logical bit field array."""
23
+ bit_count: builtins.int
24
+ def __init__(
25
+ self,
26
+ *,
27
+ name: builtins.str = ...,
28
+ index: builtins.int = ...,
29
+ bit_count: builtins.int = ...,
30
+ ) -> None: ...
31
+ def ClearField(self, field_name: typing.Literal["bit_count", b"bit_count", "index", b"index", "name", b"name"]) -> None: ...
32
+
33
+ global___ChannelBitFieldElement = ChannelBitFieldElement
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,29 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sift/common/type/v1/channel_data_type.proto
4
+ # Protobuf Python Version: 5.26.1
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'\n+sift/common/type/v1/channel_data_type.proto\x12\x13sift.common.type.v1*\xe4\x02\n\x0f\x43hannelDataType\x12%\n\x1d\x43HANNEL_DATA_TYPE_UNSPECIFIED\x10\x00\x1a\x02\x08\x01\x12\x1c\n\x18\x43HANNEL_DATA_TYPE_DOUBLE\x10\x01\x12\x1c\n\x18\x43HANNEL_DATA_TYPE_STRING\x10\x02\x12\x1a\n\x16\x43HANNEL_DATA_TYPE_ENUM\x10\x03\x12\x1f\n\x1b\x43HANNEL_DATA_TYPE_BIT_FIELD\x10\x04\x12\x1a\n\x16\x43HANNEL_DATA_TYPE_BOOL\x10\x05\x12\x1b\n\x17\x43HANNEL_DATA_TYPE_FLOAT\x10\x06\x12\x1c\n\x18\x43HANNEL_DATA_TYPE_INT_32\x10\x07\x12\x1d\n\x19\x43HANNEL_DATA_TYPE_UINT_32\x10\x08\x12\x1c\n\x18\x43HANNEL_DATA_TYPE_INT_64\x10\t\x12\x1d\n\x19\x43HANNEL_DATA_TYPE_UINT_64\x10\nB\x9e\x01\n\x17\x63om.sift.common.type.v1B\x14\x43hannelDataTypeProtoP\x01\xa2\x02\x03SCT\xaa\x02\x13Sift.Common.Type.V1\xca\x02\x13Sift\\Common\\Type\\V1\xe2\x02\x1fSift\\Common\\Type\\V1\\GPBMetadata\xea\x02\x16Sift::Common::Type::V1b\x06proto3')
18
+
19
+ _globals = globals()
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.common.type.v1.channel_data_type_pb2', _globals)
22
+ if not _descriptor._USE_C_DESCRIPTORS:
23
+ _globals['DESCRIPTOR']._loaded_options = None
24
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027com.sift.common.type.v1B\024ChannelDataTypeProtoP\001\242\002\003SCT\252\002\023Sift.Common.Type.V1\312\002\023Sift\\Common\\Type\\V1\342\002\037Sift\\Common\\Type\\V1\\GPBMetadata\352\002\026Sift::Common::Type::V1'
25
+ _globals['_CHANNELDATATYPE'].values_by_name["CHANNEL_DATA_TYPE_UNSPECIFIED"]._loaded_options = None
26
+ _globals['_CHANNELDATATYPE'].values_by_name["CHANNEL_DATA_TYPE_UNSPECIFIED"]._serialized_options = b'\010\001'
27
+ _globals['_CHANNELDATATYPE']._serialized_start=69
28
+ _globals['_CHANNELDATATYPE']._serialized_end=425
29
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,50 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.enum_type_wrapper
9
+ import sys
10
+ import typing
11
+
12
+ if sys.version_info >= (3, 10):
13
+ import typing as typing_extensions
14
+ else:
15
+ import typing_extensions
16
+
17
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
18
+
19
+ class _ChannelDataType:
20
+ ValueType = typing.NewType("ValueType", builtins.int)
21
+ V: typing_extensions.TypeAlias = ValueType
22
+
23
+ class _ChannelDataTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ChannelDataType.ValueType], builtins.type):
24
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
25
+ CHANNEL_DATA_TYPE_UNSPECIFIED: _ChannelDataType.ValueType # 0
26
+ CHANNEL_DATA_TYPE_DOUBLE: _ChannelDataType.ValueType # 1
27
+ CHANNEL_DATA_TYPE_STRING: _ChannelDataType.ValueType # 2
28
+ CHANNEL_DATA_TYPE_ENUM: _ChannelDataType.ValueType # 3
29
+ CHANNEL_DATA_TYPE_BIT_FIELD: _ChannelDataType.ValueType # 4
30
+ CHANNEL_DATA_TYPE_BOOL: _ChannelDataType.ValueType # 5
31
+ CHANNEL_DATA_TYPE_FLOAT: _ChannelDataType.ValueType # 6
32
+ CHANNEL_DATA_TYPE_INT_32: _ChannelDataType.ValueType # 7
33
+ CHANNEL_DATA_TYPE_UINT_32: _ChannelDataType.ValueType # 8
34
+ CHANNEL_DATA_TYPE_INT_64: _ChannelDataType.ValueType # 9
35
+ CHANNEL_DATA_TYPE_UINT_64: _ChannelDataType.ValueType # 10
36
+
37
+ class ChannelDataType(_ChannelDataType, metaclass=_ChannelDataTypeEnumTypeWrapper): ...
38
+
39
+ CHANNEL_DATA_TYPE_UNSPECIFIED: ChannelDataType.ValueType # 0
40
+ CHANNEL_DATA_TYPE_DOUBLE: ChannelDataType.ValueType # 1
41
+ CHANNEL_DATA_TYPE_STRING: ChannelDataType.ValueType # 2
42
+ CHANNEL_DATA_TYPE_ENUM: ChannelDataType.ValueType # 3
43
+ CHANNEL_DATA_TYPE_BIT_FIELD: ChannelDataType.ValueType # 4
44
+ CHANNEL_DATA_TYPE_BOOL: ChannelDataType.ValueType # 5
45
+ CHANNEL_DATA_TYPE_FLOAT: ChannelDataType.ValueType # 6
46
+ CHANNEL_DATA_TYPE_INT_32: ChannelDataType.ValueType # 7
47
+ CHANNEL_DATA_TYPE_UINT_32: ChannelDataType.ValueType # 8
48
+ CHANNEL_DATA_TYPE_INT_64: ChannelDataType.ValueType # 9
49
+ CHANNEL_DATA_TYPE_UINT_64: ChannelDataType.ValueType # 10
50
+ global___ChannelDataType = ChannelDataType
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,32 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sift/common/type/v1/channel_enum_type.proto
4
+ # Protobuf Python Version: 5.26.1
5
+ """Generated protocol buffer code."""
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+sift/common/type/v1/channel_enum_type.proto\x12\x13sift.common.type.v1\x1a\x1fgoogle/api/field_behavior.proto\"A\n\x0f\x43hannelEnumType\x12\x17\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02R\x04name\x12\x15\n\x03key\x18\x02 \x01(\rB\x03\xe0\x41\x02R\x03keyB\x9e\x01\n\x17\x63om.sift.common.type.v1B\x14\x43hannelEnumTypeProtoP\x01\xa2\x02\x03SCT\xaa\x02\x13Sift.Common.Type.V1\xca\x02\x13Sift\\Common\\Type\\V1\xe2\x02\x1fSift\\Common\\Type\\V1\\GPBMetadata\xea\x02\x16Sift::Common::Type::V1b\x06proto3')
19
+
20
+ _globals = globals()
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.common.type.v1.channel_enum_type_pb2', _globals)
23
+ if not _descriptor._USE_C_DESCRIPTORS:
24
+ _globals['DESCRIPTOR']._loaded_options = None
25
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027com.sift.common.type.v1B\024ChannelEnumTypeProtoP\001\242\002\003SCT\252\002\023Sift.Common.Type.V1\312\002\023Sift\\Common\\Type\\V1\342\002\037Sift\\Common\\Type\\V1\\GPBMetadata\352\002\026Sift::Common::Type::V1'
26
+ _globals['_CHANNELENUMTYPE'].fields_by_name['name']._loaded_options = None
27
+ _globals['_CHANNELENUMTYPE'].fields_by_name['name']._serialized_options = b'\340A\002'
28
+ _globals['_CHANNELENUMTYPE'].fields_by_name['key']._loaded_options = None
29
+ _globals['_CHANNELENUMTYPE'].fields_by_name['key']._serialized_options = b'\340A\002'
30
+ _globals['_CHANNELENUMTYPE']._serialized_start=101
31
+ _globals['_CHANNELENUMTYPE']._serialized_end=166
32
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,29 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.message
9
+ import typing
10
+
11
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
12
+
13
+ @typing.final
14
+ class ChannelEnumType(google.protobuf.message.Message):
15
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
16
+
17
+ NAME_FIELD_NUMBER: builtins.int
18
+ KEY_FIELD_NUMBER: builtins.int
19
+ name: builtins.str
20
+ key: builtins.int
21
+ def __init__(
22
+ self,
23
+ *,
24
+ name: builtins.str = ...,
25
+ key: builtins.int = ...,
26
+ ) -> None: ...
27
+ def ClearField(self, field_name: typing.Literal["key", b"key", "name", b"name"]) -> None: ...
28
+
29
+ global___ChannelEnumType = ChannelEnumType
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,27 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sift/common/type/v1/organization.proto
4
+ # Protobuf Python Version: 5.26.1
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'\n&sift/common/type/v1/organization.proto\x12\x13sift.common.type.v1\"d\n\x0cOrganization\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12+\n\x11organization_name\x18\x02 \x01(\tR\x10organizationNameB\x9b\x01\n\x17\x63om.sift.common.type.v1B\x11OrganizationProtoP\x01\xa2\x02\x03SCT\xaa\x02\x13Sift.Common.Type.V1\xca\x02\x13Sift\\Common\\Type\\V1\xe2\x02\x1fSift\\Common\\Type\\V1\\GPBMetadata\xea\x02\x16Sift::Common::Type::V1b\x06proto3')
18
+
19
+ _globals = globals()
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.common.type.v1.organization_pb2', _globals)
22
+ if not _descriptor._USE_C_DESCRIPTORS:
23
+ _globals['DESCRIPTOR']._loaded_options = None
24
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027com.sift.common.type.v1B\021OrganizationProtoP\001\242\002\003SCT\252\002\023Sift.Common.Type.V1\312\002\023Sift\\Common\\Type\\V1\342\002\037Sift\\Common\\Type\\V1\\GPBMetadata\352\002\026Sift::Common::Type::V1'
25
+ _globals['_ORGANIZATION']._serialized_start=63
26
+ _globals['_ORGANIZATION']._serialized_end=163
27
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,29 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.message
9
+ import typing
10
+
11
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
12
+
13
+ @typing.final
14
+ class Organization(google.protobuf.message.Message):
15
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
16
+
17
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
18
+ ORGANIZATION_NAME_FIELD_NUMBER: builtins.int
19
+ organization_id: builtins.str
20
+ organization_name: builtins.str
21
+ def __init__(
22
+ self,
23
+ *,
24
+ organization_id: builtins.str = ...,
25
+ organization_name: builtins.str = ...,
26
+ ) -> None: ...
27
+ def ClearField(self, field_name: typing.Literal["organization_id", b"organization_id", "organization_name", b"organization_name"]) -> None: ...
28
+
29
+ global___Organization = Organization
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,46 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: sift/common/type/v1/resource_identifier.proto
4
+ # Protobuf Python Version: 5.26.1
5
+ """Generated protocol buffer code."""
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ from google.protobuf.internal import builder as _builder
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-sift/common/type/v1/resource_identifier.proto\x12\x13sift.common.type.v1\x1a\x1fgoogle/api/field_behavior.proto\"U\n\x12ResourceIdentifier\x12\x10\n\x02id\x18\x01 \x01(\tH\x00R\x02id\x12\x1f\n\nclient_key\x18\x02 \x01(\tH\x00R\tclientKeyB\x0c\n\nidentifier\"C\n\rNamedResource\x12\x10\n\x02id\x18\x01 \x01(\tH\x00R\x02id\x12\x14\n\x04name\x18\x02 \x01(\tH\x00R\x04nameB\n\n\x08resource\"\x96\x01\n\x13ResourceIdentifiers\x12,\n\x03ids\x18\x01 \x01(\x0b\x32\x18.sift.common.type.v1.IdsH\x00R\x03ids\x12\x42\n\x0b\x63lient_keys\x18\x02 \x01(\x0b\x32\x1f.sift.common.type.v1.ClientKeysH\x00R\nclientKeysB\r\n\x0bidentifiers\"\x7f\n\x0eNamedResources\x12,\n\x03ids\x18\x01 \x01(\x0b\x32\x18.sift.common.type.v1.IdsH\x00R\x03ids\x12\x32\n\x05names\x18\x02 \x01(\x0b\x32\x1a.sift.common.type.v1.NamesH\x00R\x05namesB\x0b\n\tresources\"\x1c\n\x03Ids\x12\x15\n\x03ids\x18\x01 \x03(\tB\x03\xe0\x41\x02R\x03ids\"2\n\nClientKeys\x12$\n\x0b\x63lient_keys\x18\x01 \x03(\tB\x03\xe0\x41\x02R\nclientKeys\"\"\n\x05Names\x12\x19\n\x05names\x18\x01 \x03(\tB\x03\xe0\x41\x02R\x05namesB\xa1\x01\n\x17\x63om.sift.common.type.v1B\x17ResourceIdentifierProtoP\x01\xa2\x02\x03SCT\xaa\x02\x13Sift.Common.Type.V1\xca\x02\x13Sift\\Common\\Type\\V1\xe2\x02\x1fSift\\Common\\Type\\V1\\GPBMetadata\xea\x02\x16Sift::Common::Type::V1b\x06proto3')
19
+
20
+ _globals = globals()
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.common.type.v1.resource_identifier_pb2', _globals)
23
+ if not _descriptor._USE_C_DESCRIPTORS:
24
+ _globals['DESCRIPTOR']._loaded_options = None
25
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027com.sift.common.type.v1B\027ResourceIdentifierProtoP\001\242\002\003SCT\252\002\023Sift.Common.Type.V1\312\002\023Sift\\Common\\Type\\V1\342\002\037Sift\\Common\\Type\\V1\\GPBMetadata\352\002\026Sift::Common::Type::V1'
26
+ _globals['_IDS'].fields_by_name['ids']._loaded_options = None
27
+ _globals['_IDS'].fields_by_name['ids']._serialized_options = b'\340A\002'
28
+ _globals['_CLIENTKEYS'].fields_by_name['client_keys']._loaded_options = None
29
+ _globals['_CLIENTKEYS'].fields_by_name['client_keys']._serialized_options = b'\340A\002'
30
+ _globals['_NAMES'].fields_by_name['names']._loaded_options = None
31
+ _globals['_NAMES'].fields_by_name['names']._serialized_options = b'\340A\002'
32
+ _globals['_RESOURCEIDENTIFIER']._serialized_start=103
33
+ _globals['_RESOURCEIDENTIFIER']._serialized_end=188
34
+ _globals['_NAMEDRESOURCE']._serialized_start=190
35
+ _globals['_NAMEDRESOURCE']._serialized_end=257
36
+ _globals['_RESOURCEIDENTIFIERS']._serialized_start=260
37
+ _globals['_RESOURCEIDENTIFIERS']._serialized_end=410
38
+ _globals['_NAMEDRESOURCES']._serialized_start=412
39
+ _globals['_NAMEDRESOURCES']._serialized_end=539
40
+ _globals['_IDS']._serialized_start=541
41
+ _globals['_IDS']._serialized_end=569
42
+ _globals['_CLIENTKEYS']._serialized_start=571
43
+ _globals['_CLIENTKEYS']._serialized_end=621
44
+ _globals['_NAMES']._serialized_start=623
45
+ _globals['_NAMES']._serialized_end=657
46
+ # @@protoc_insertion_point(module_scope)