raystack-proton 2025.10.8.102837__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.

Potentially problematic release.


This version of raystack-proton might be problematic. Click here for more details.

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 +11169 -0
  103. raystack/frontier/v1beta1/frontier_pb2.py +1648 -0
  104. raystack/frontier/v1beta1/frontier_pb2.pyi +2730 -0
  105. raystack/frontier/v1beta1/models_pb2.py +398 -0
  106. raystack/frontier/v1beta1/models_pb2.pyi +1150 -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.10.8.102837.dist-info/METADATA +101 -0
  175. raystack_proton-2025.10.8.102837.dist-info/RECORD +181 -0
  176. raystack_proton-2025.10.8.102837.dist-info/WHEEL +5 -0
  177. raystack_proton-2025.10.8.102837.dist-info/licenses/LICENSE +201 -0
  178. raystack_proton-2025.10.8.102837.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,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
+ )
@@ -0,0 +1,48 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: raystack/common/v1/service.proto
5
+ # Protobuf Python Version: 6.32.1
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
+ 32,
16
+ 1,
17
+ '',
18
+ 'raystack/common/v1/service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+ from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n raystack/common/v1/service.proto\x12\x12raystack.common.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"H\n\x11GetVersionRequest\x12\x33\n\x06\x63lient\x18\x01 \x01(\x0b\x32\x1b.raystack.common.v1.VersionR\x06\x63lient\"I\n\x12GetVersionResponse\x12\x33\n\x06server\x18\x01 \x01(\x0b\x32\x1b.raystack.common.v1.VersionR\x06server\"\xcd\x01\n\x07Version\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12\x16\n\x06\x63ommit\x18\x02 \x01(\tR\x06\x63ommit\x12\x39\n\nbuild_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tbuildTime\x12!\n\x0clang_version\x18\x04 \x01(\tR\x0blangVersion\x12\x0e\n\x02os\x18\x05 \x01(\tR\x02os\x12\"\n\x0c\x61rchitecture\x18\x06 \x01(\tR\x0c\x61rchitecture2\x84\x01\n\rCommonService\x12s\n\nGetVersion\x12%.raystack.common.v1.GetVersionRequest\x1a&.raystack.common.v1.GetVersionResponse\"\x16\x82\xd3\xe4\x93\x02\x10\"\x0b/v1/version:\x01*B\x8b\x01\n\x19io.raystack.proton.commonB\x12\x43ommonServiceProtoP\x01Z$github.com/raystack/proton/common/v1\x92\x41\x31\x12\x07\x32\x05\x30.1.0*\x01\x01r#\n!Common endpoints for all servicesb\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'raystack.common.v1.service_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'\n\031io.raystack.proton.commonB\022CommonServiceProtoP\001Z$github.com/raystack/proton/common/v1\222A1\022\0072\0050.1.0*\001\001r#\n!Common endpoints for all services'
38
+ _globals['_COMMONSERVICE'].methods_by_name['GetVersion']._loaded_options = None
39
+ _globals['_COMMONSERVICE'].methods_by_name['GetVersion']._serialized_options = b'\202\323\344\223\002\020\"\013/v1/version:\001*'
40
+ _globals['_GETVERSIONREQUEST']._serialized_start=167
41
+ _globals['_GETVERSIONREQUEST']._serialized_end=239
42
+ _globals['_GETVERSIONRESPONSE']._serialized_start=241
43
+ _globals['_GETVERSIONRESPONSE']._serialized_end=314
44
+ _globals['_VERSION']._serialized_start=317
45
+ _globals['_VERSION']._serialized_end=522
46
+ _globals['_COMMONSERVICE']._serialized_start=525
47
+ _globals['_COMMONSERVICE']._serialized_end=657
48
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,39 @@
1
+ import datetime
2
+
3
+ from google.api import annotations_pb2 as _annotations_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
5
+ from protoc_gen_openapiv2.options import annotations_pb2 as _annotations_pb2_1
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import message as _message
8
+ from collections.abc import Mapping as _Mapping
9
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class GetVersionRequest(_message.Message):
14
+ __slots__ = ("client",)
15
+ CLIENT_FIELD_NUMBER: _ClassVar[int]
16
+ client: Version
17
+ def __init__(self, client: _Optional[_Union[Version, _Mapping]] = ...) -> None: ...
18
+
19
+ class GetVersionResponse(_message.Message):
20
+ __slots__ = ("server",)
21
+ SERVER_FIELD_NUMBER: _ClassVar[int]
22
+ server: Version
23
+ def __init__(self, server: _Optional[_Union[Version, _Mapping]] = ...) -> None: ...
24
+
25
+ class Version(_message.Message):
26
+ __slots__ = ("version", "commit", "build_time", "lang_version", "os", "architecture")
27
+ VERSION_FIELD_NUMBER: _ClassVar[int]
28
+ COMMIT_FIELD_NUMBER: _ClassVar[int]
29
+ BUILD_TIME_FIELD_NUMBER: _ClassVar[int]
30
+ LANG_VERSION_FIELD_NUMBER: _ClassVar[int]
31
+ OS_FIELD_NUMBER: _ClassVar[int]
32
+ ARCHITECTURE_FIELD_NUMBER: _ClassVar[int]
33
+ version: str
34
+ commit: str
35
+ build_time: _timestamp_pb2.Timestamp
36
+ lang_version: str
37
+ os: str
38
+ architecture: str
39
+ def __init__(self, version: _Optional[str] = ..., commit: _Optional[str] = ..., build_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., lang_version: _Optional[str] = ..., os: _Optional[str] = ..., architecture: _Optional[str] = ...) -> None: ...
File without changes
File without changes