chalkpy 2.90.1__py3-none-any.whl → 2.95.3__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 (202) hide show
  1. chalk/__init__.py +2 -1
  2. chalk/_gen/chalk/arrow/v1/arrow_pb2.py +7 -5
  3. chalk/_gen/chalk/arrow/v1/arrow_pb2.pyi +6 -0
  4. chalk/_gen/chalk/artifacts/v1/chart_pb2.py +16 -16
  5. chalk/_gen/chalk/artifacts/v1/chart_pb2.pyi +4 -0
  6. chalk/_gen/chalk/artifacts/v1/cron_query_pb2.py +8 -7
  7. chalk/_gen/chalk/artifacts/v1/cron_query_pb2.pyi +5 -0
  8. chalk/_gen/chalk/common/v1/offline_query_pb2.py +17 -15
  9. chalk/_gen/chalk/common/v1/offline_query_pb2.pyi +25 -0
  10. chalk/_gen/chalk/common/v1/script_task_pb2.py +3 -3
  11. chalk/_gen/chalk/common/v1/script_task_pb2.pyi +2 -0
  12. chalk/_gen/chalk/dataframe/__init__.py +0 -0
  13. chalk/_gen/chalk/dataframe/v1/__init__.py +0 -0
  14. chalk/_gen/chalk/dataframe/v1/dataframe_pb2.py +48 -0
  15. chalk/_gen/chalk/dataframe/v1/dataframe_pb2.pyi +123 -0
  16. chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.py +4 -0
  17. chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.pyi +4 -0
  18. chalk/_gen/chalk/graph/v1/graph_pb2.py +150 -149
  19. chalk/_gen/chalk/graph/v1/graph_pb2.pyi +25 -0
  20. chalk/_gen/chalk/graph/v1/sources_pb2.py +94 -84
  21. chalk/_gen/chalk/graph/v1/sources_pb2.pyi +56 -0
  22. chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.py +79 -0
  23. chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.pyi +377 -0
  24. chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.py +4 -0
  25. chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.pyi +4 -0
  26. chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.py +43 -7
  27. chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.pyi +252 -2
  28. chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +54 -27
  29. chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +131 -3
  30. chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.py +45 -0
  31. chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.pyi +14 -0
  32. chalk/_gen/chalk/python/v1/types_pb2.py +14 -14
  33. chalk/_gen/chalk/python/v1/types_pb2.pyi +8 -0
  34. chalk/_gen/chalk/server/v1/benchmark_pb2.py +76 -0
  35. chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +156 -0
  36. chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +258 -0
  37. chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +84 -0
  38. chalk/_gen/chalk/server/v1/billing_pb2.py +40 -38
  39. chalk/_gen/chalk/server/v1/billing_pb2.pyi +17 -1
  40. chalk/_gen/chalk/server/v1/branches_pb2.py +45 -0
  41. chalk/_gen/chalk/server/v1/branches_pb2.pyi +80 -0
  42. chalk/_gen/chalk/server/v1/branches_pb2_grpc.pyi +36 -0
  43. chalk/_gen/chalk/server/v1/builder_pb2.py +358 -288
  44. chalk/_gen/chalk/server/v1/builder_pb2.pyi +360 -10
  45. chalk/_gen/chalk/server/v1/builder_pb2_grpc.py +225 -0
  46. chalk/_gen/chalk/server/v1/builder_pb2_grpc.pyi +60 -0
  47. chalk/_gen/chalk/server/v1/chart_pb2.py +10 -10
  48. chalk/_gen/chalk/server/v1/chart_pb2.pyi +18 -2
  49. chalk/_gen/chalk/server/v1/clickhouse_pb2.py +42 -0
  50. chalk/_gen/chalk/server/v1/clickhouse_pb2.pyi +17 -0
  51. chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.py +78 -0
  52. chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.pyi +38 -0
  53. chalk/_gen/chalk/server/v1/cloud_components_pb2.py +141 -119
  54. chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +106 -4
  55. chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.py +45 -0
  56. chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.pyi +12 -0
  57. chalk/_gen/chalk/server/v1/cloud_credentials_pb2.py +11 -3
  58. chalk/_gen/chalk/server/v1/cloud_credentials_pb2.pyi +20 -0
  59. chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.py +45 -0
  60. chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.pyi +12 -0
  61. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.py +52 -38
  62. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +62 -1
  63. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +90 -0
  64. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +24 -0
  65. chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +90 -0
  66. chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +264 -0
  67. chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.py +170 -0
  68. chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.pyi +62 -0
  69. chalk/_gen/chalk/server/v1/deploy_pb2.py +9 -3
  70. chalk/_gen/chalk/server/v1/deploy_pb2.pyi +12 -0
  71. chalk/_gen/chalk/server/v1/deploy_pb2_grpc.py +45 -0
  72. chalk/_gen/chalk/server/v1/deploy_pb2_grpc.pyi +12 -0
  73. chalk/_gen/chalk/server/v1/deployment_pb2.py +6 -6
  74. chalk/_gen/chalk/server/v1/deployment_pb2.pyi +20 -0
  75. chalk/_gen/chalk/server/v1/environment_pb2.py +14 -12
  76. chalk/_gen/chalk/server/v1/environment_pb2.pyi +19 -0
  77. chalk/_gen/chalk/server/v1/eventbus_pb2.py +4 -2
  78. chalk/_gen/chalk/server/v1/files_pb2.py +65 -0
  79. chalk/_gen/chalk/server/v1/files_pb2.pyi +167 -0
  80. chalk/_gen/chalk/server/v1/files_pb2_grpc.py +4 -0
  81. chalk/_gen/chalk/server/v1/files_pb2_grpc.pyi +4 -0
  82. chalk/_gen/chalk/server/v1/graph_pb2.py +38 -26
  83. chalk/_gen/chalk/server/v1/graph_pb2.pyi +58 -0
  84. chalk/_gen/chalk/server/v1/graph_pb2_grpc.py +47 -0
  85. chalk/_gen/chalk/server/v1/graph_pb2_grpc.pyi +18 -0
  86. chalk/_gen/chalk/server/v1/incident_pb2.py +23 -21
  87. chalk/_gen/chalk/server/v1/incident_pb2.pyi +15 -1
  88. chalk/_gen/chalk/server/v1/indexing_job_pb2.py +44 -0
  89. chalk/_gen/chalk/server/v1/indexing_job_pb2.pyi +38 -0
  90. chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.py +78 -0
  91. chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.pyi +38 -0
  92. chalk/_gen/chalk/server/v1/integrations_pb2.py +11 -9
  93. chalk/_gen/chalk/server/v1/integrations_pb2.pyi +34 -2
  94. chalk/_gen/chalk/server/v1/kube_pb2.py +29 -19
  95. chalk/_gen/chalk/server/v1/kube_pb2.pyi +28 -0
  96. chalk/_gen/chalk/server/v1/kube_pb2_grpc.py +45 -0
  97. chalk/_gen/chalk/server/v1/kube_pb2_grpc.pyi +12 -0
  98. chalk/_gen/chalk/server/v1/log_pb2.py +21 -3
  99. chalk/_gen/chalk/server/v1/log_pb2.pyi +68 -0
  100. chalk/_gen/chalk/server/v1/log_pb2_grpc.py +90 -0
  101. chalk/_gen/chalk/server/v1/log_pb2_grpc.pyi +24 -0
  102. chalk/_gen/chalk/server/v1/model_registry_pb2.py +10 -10
  103. chalk/_gen/chalk/server/v1/model_registry_pb2.pyi +4 -1
  104. chalk/_gen/chalk/server/v1/plandebug_pb2.py +53 -0
  105. chalk/_gen/chalk/server/v1/plandebug_pb2.pyi +86 -0
  106. chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.py +168 -0
  107. chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.pyi +60 -0
  108. chalk/_gen/chalk/server/v1/queries_pb2.py +66 -66
  109. chalk/_gen/chalk/server/v1/queries_pb2.pyi +32 -2
  110. chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +12 -12
  111. chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +16 -3
  112. chalk/_gen/chalk/server/v1/scheduler_pb2.py +24 -12
  113. chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +61 -1
  114. chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +90 -0
  115. chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +24 -0
  116. chalk/_gen/chalk/server/v1/script_tasks_pb2.py +15 -3
  117. chalk/_gen/chalk/server/v1/script_tasks_pb2.pyi +22 -0
  118. chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.py +90 -0
  119. chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.pyi +24 -0
  120. chalk/_gen/chalk/server/v1/sql_interface_pb2.py +75 -0
  121. chalk/_gen/chalk/server/v1/sql_interface_pb2.pyi +142 -0
  122. chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.py +349 -0
  123. chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.pyi +114 -0
  124. chalk/_gen/chalk/server/v1/sql_queries_pb2.py +48 -0
  125. chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +150 -0
  126. chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.py +123 -0
  127. chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.pyi +52 -0
  128. chalk/_gen/chalk/server/v1/team_pb2.py +154 -141
  129. chalk/_gen/chalk/server/v1/team_pb2.pyi +30 -2
  130. chalk/_gen/chalk/server/v1/team_pb2_grpc.py +45 -0
  131. chalk/_gen/chalk/server/v1/team_pb2_grpc.pyi +12 -0
  132. chalk/_gen/chalk/server/v1/topic_pb2.py +5 -3
  133. chalk/_gen/chalk/server/v1/topic_pb2.pyi +10 -1
  134. chalk/_gen/chalk/server/v1/trace_pb2.py +44 -40
  135. chalk/_gen/chalk/server/v1/trace_pb2.pyi +20 -0
  136. chalk/_gen/chalk/streaming/v1/debug_service_pb2.py +62 -0
  137. chalk/_gen/chalk/streaming/v1/debug_service_pb2.pyi +75 -0
  138. chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.py +221 -0
  139. chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.pyi +88 -0
  140. chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.py +16 -10
  141. chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.pyi +52 -1
  142. chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.py +48 -0
  143. chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.pyi +20 -0
  144. chalk/_gen/chalk/utils/v1/field_change_pb2.py +32 -0
  145. chalk/_gen/chalk/utils/v1/field_change_pb2.pyi +42 -0
  146. chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.py +4 -0
  147. chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.pyi +4 -0
  148. chalk/_lsp/error_builder.py +11 -0
  149. chalk/_version.py +1 -1
  150. chalk/client/client.py +128 -43
  151. chalk/client/client_async.py +149 -0
  152. chalk/client/client_async_impl.py +22 -0
  153. chalk/client/client_grpc.py +539 -104
  154. chalk/client/client_impl.py +449 -122
  155. chalk/client/dataset.py +7 -1
  156. chalk/client/models.py +98 -0
  157. chalk/client/serialization/model_serialization.py +92 -9
  158. chalk/df/LazyFramePlaceholder.py +1154 -0
  159. chalk/features/_class_property.py +7 -0
  160. chalk/features/_embedding/embedding.py +1 -0
  161. chalk/features/_encoding/converter.py +83 -2
  162. chalk/features/feature_field.py +40 -30
  163. chalk/features/feature_set_decorator.py +1 -0
  164. chalk/features/feature_wrapper.py +42 -3
  165. chalk/features/hooks.py +81 -10
  166. chalk/features/inference.py +33 -31
  167. chalk/features/resolver.py +224 -24
  168. chalk/functions/__init__.py +65 -3
  169. chalk/gitignore/gitignore_parser.py +5 -1
  170. chalk/importer.py +142 -68
  171. chalk/ml/__init__.py +2 -0
  172. chalk/ml/model_hooks.py +194 -26
  173. chalk/ml/model_reference.py +56 -8
  174. chalk/ml/model_version.py +24 -15
  175. chalk/ml/utils.py +20 -17
  176. chalk/operators/_utils.py +10 -3
  177. chalk/parsed/_proto/export.py +22 -0
  178. chalk/parsed/duplicate_input_gql.py +3 -0
  179. chalk/parsed/json_conversions.py +20 -14
  180. chalk/parsed/to_proto.py +16 -4
  181. chalk/parsed/user_types_to_json.py +31 -10
  182. chalk/parsed/validation_from_registries.py +182 -0
  183. chalk/queries/named_query.py +16 -6
  184. chalk/queries/scheduled_query.py +9 -1
  185. chalk/serialization/parsed_annotation.py +24 -11
  186. chalk/sql/__init__.py +18 -0
  187. chalk/sql/_internal/integrations/databricks.py +55 -17
  188. chalk/sql/_internal/integrations/mssql.py +127 -62
  189. chalk/sql/_internal/integrations/redshift.py +4 -0
  190. chalk/sql/_internal/sql_file_resolver.py +53 -9
  191. chalk/sql/_internal/sql_source.py +35 -2
  192. chalk/streams/_kafka_source.py +5 -1
  193. chalk/streams/_windows.py +15 -2
  194. chalk/utils/_otel_version.py +13 -0
  195. chalk/utils/async_helpers.py +2 -2
  196. chalk/utils/missing_dependency.py +5 -4
  197. chalk/utils/tracing.py +185 -95
  198. {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/METADATA +4 -6
  199. {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/RECORD +202 -146
  200. {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/WHEEL +0 -0
  201. {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/entry_points.txt +0 -0
  202. {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,258 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+
4
+ import grpc
5
+
6
+ from chalk._gen.chalk.server.v1 import benchmark_pb2 as chalk_dot_server_dot_v1_dot_benchmark__pb2
7
+
8
+
9
+ class BenchmarkServiceStub(object):
10
+ """Missing associated documentation comment in .proto file."""
11
+
12
+ def __init__(self, channel):
13
+ """Constructor.
14
+
15
+ Args:
16
+ channel: A grpc.Channel.
17
+ """
18
+ self.CreateBenchmark = channel.unary_unary(
19
+ "/chalk.server.v1.BenchmarkService/CreateBenchmark",
20
+ request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkRequest.SerializeToString,
21
+ response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkResponse.FromString,
22
+ )
23
+ self.GetAvailableInputFiles = channel.unary_unary(
24
+ "/chalk.server.v1.BenchmarkService/GetAvailableInputFiles",
25
+ request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesRequest.SerializeToString,
26
+ response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesResponse.FromString,
27
+ )
28
+ self.GetInputFileUploadUrls = channel.unary_unary(
29
+ "/chalk.server.v1.BenchmarkService/GetInputFileUploadUrls",
30
+ request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsRequest.SerializeToString,
31
+ response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsResponse.FromString,
32
+ )
33
+ self.GetAvailableResultFiles = channel.unary_unary(
34
+ "/chalk.server.v1.BenchmarkService/GetAvailableResultFiles",
35
+ request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesRequest.SerializeToString,
36
+ response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesResponse.FromString,
37
+ )
38
+ self.GetResultFileUrls = channel.unary_unary(
39
+ "/chalk.server.v1.BenchmarkService/GetResultFileUrls",
40
+ request_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsRequest.SerializeToString,
41
+ response_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsResponse.FromString,
42
+ )
43
+
44
+
45
+ class BenchmarkServiceServicer(object):
46
+ """Missing associated documentation comment in .proto file."""
47
+
48
+ def CreateBenchmark(self, request, context):
49
+ """Missing associated documentation comment in .proto file."""
50
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
51
+ context.set_details("Method not implemented!")
52
+ raise NotImplementedError("Method not implemented!")
53
+
54
+ def GetAvailableInputFiles(self, request, context):
55
+ """Missing associated documentation comment in .proto file."""
56
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
57
+ context.set_details("Method not implemented!")
58
+ raise NotImplementedError("Method not implemented!")
59
+
60
+ def GetInputFileUploadUrls(self, request, context):
61
+ """Missing associated documentation comment in .proto file."""
62
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
63
+ context.set_details("Method not implemented!")
64
+ raise NotImplementedError("Method not implemented!")
65
+
66
+ def GetAvailableResultFiles(self, request, context):
67
+ """Missing associated documentation comment in .proto file."""
68
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
69
+ context.set_details("Method not implemented!")
70
+ raise NotImplementedError("Method not implemented!")
71
+
72
+ def GetResultFileUrls(self, request, context):
73
+ """Missing associated documentation comment in .proto file."""
74
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
75
+ context.set_details("Method not implemented!")
76
+ raise NotImplementedError("Method not implemented!")
77
+
78
+
79
+ def add_BenchmarkServiceServicer_to_server(servicer, server):
80
+ rpc_method_handlers = {
81
+ "CreateBenchmark": grpc.unary_unary_rpc_method_handler(
82
+ servicer.CreateBenchmark,
83
+ request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkRequest.FromString,
84
+ response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkResponse.SerializeToString,
85
+ ),
86
+ "GetAvailableInputFiles": grpc.unary_unary_rpc_method_handler(
87
+ servicer.GetAvailableInputFiles,
88
+ request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesRequest.FromString,
89
+ response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesResponse.SerializeToString,
90
+ ),
91
+ "GetInputFileUploadUrls": grpc.unary_unary_rpc_method_handler(
92
+ servicer.GetInputFileUploadUrls,
93
+ request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsRequest.FromString,
94
+ response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsResponse.SerializeToString,
95
+ ),
96
+ "GetAvailableResultFiles": grpc.unary_unary_rpc_method_handler(
97
+ servicer.GetAvailableResultFiles,
98
+ request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesRequest.FromString,
99
+ response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesResponse.SerializeToString,
100
+ ),
101
+ "GetResultFileUrls": grpc.unary_unary_rpc_method_handler(
102
+ servicer.GetResultFileUrls,
103
+ request_deserializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsRequest.FromString,
104
+ response_serializer=chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsResponse.SerializeToString,
105
+ ),
106
+ }
107
+ generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.BenchmarkService", rpc_method_handlers)
108
+ server.add_generic_rpc_handlers((generic_handler,))
109
+
110
+
111
+ # This class is part of an EXPERIMENTAL API.
112
+ class BenchmarkService(object):
113
+ """Missing associated documentation comment in .proto file."""
114
+
115
+ @staticmethod
116
+ def CreateBenchmark(
117
+ request,
118
+ target,
119
+ options=(),
120
+ channel_credentials=None,
121
+ call_credentials=None,
122
+ insecure=False,
123
+ compression=None,
124
+ wait_for_ready=None,
125
+ timeout=None,
126
+ metadata=None,
127
+ ):
128
+ return grpc.experimental.unary_unary(
129
+ request,
130
+ target,
131
+ "/chalk.server.v1.BenchmarkService/CreateBenchmark",
132
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkRequest.SerializeToString,
133
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.CreateBenchmarkResponse.FromString,
134
+ options,
135
+ channel_credentials,
136
+ insecure,
137
+ call_credentials,
138
+ compression,
139
+ wait_for_ready,
140
+ timeout,
141
+ metadata,
142
+ )
143
+
144
+ @staticmethod
145
+ def GetAvailableInputFiles(
146
+ request,
147
+ target,
148
+ options=(),
149
+ channel_credentials=None,
150
+ call_credentials=None,
151
+ insecure=False,
152
+ compression=None,
153
+ wait_for_ready=None,
154
+ timeout=None,
155
+ metadata=None,
156
+ ):
157
+ return grpc.experimental.unary_unary(
158
+ request,
159
+ target,
160
+ "/chalk.server.v1.BenchmarkService/GetAvailableInputFiles",
161
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesRequest.SerializeToString,
162
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableInputFilesResponse.FromString,
163
+ options,
164
+ channel_credentials,
165
+ insecure,
166
+ call_credentials,
167
+ compression,
168
+ wait_for_ready,
169
+ timeout,
170
+ metadata,
171
+ )
172
+
173
+ @staticmethod
174
+ def GetInputFileUploadUrls(
175
+ request,
176
+ target,
177
+ options=(),
178
+ channel_credentials=None,
179
+ call_credentials=None,
180
+ insecure=False,
181
+ compression=None,
182
+ wait_for_ready=None,
183
+ timeout=None,
184
+ metadata=None,
185
+ ):
186
+ return grpc.experimental.unary_unary(
187
+ request,
188
+ target,
189
+ "/chalk.server.v1.BenchmarkService/GetInputFileUploadUrls",
190
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsRequest.SerializeToString,
191
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetInputFileUploadUrlsResponse.FromString,
192
+ options,
193
+ channel_credentials,
194
+ insecure,
195
+ call_credentials,
196
+ compression,
197
+ wait_for_ready,
198
+ timeout,
199
+ metadata,
200
+ )
201
+
202
+ @staticmethod
203
+ def GetAvailableResultFiles(
204
+ request,
205
+ target,
206
+ options=(),
207
+ channel_credentials=None,
208
+ call_credentials=None,
209
+ insecure=False,
210
+ compression=None,
211
+ wait_for_ready=None,
212
+ timeout=None,
213
+ metadata=None,
214
+ ):
215
+ return grpc.experimental.unary_unary(
216
+ request,
217
+ target,
218
+ "/chalk.server.v1.BenchmarkService/GetAvailableResultFiles",
219
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesRequest.SerializeToString,
220
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetAvailableResultFilesResponse.FromString,
221
+ options,
222
+ channel_credentials,
223
+ insecure,
224
+ call_credentials,
225
+ compression,
226
+ wait_for_ready,
227
+ timeout,
228
+ metadata,
229
+ )
230
+
231
+ @staticmethod
232
+ def GetResultFileUrls(
233
+ request,
234
+ target,
235
+ options=(),
236
+ channel_credentials=None,
237
+ call_credentials=None,
238
+ insecure=False,
239
+ compression=None,
240
+ wait_for_ready=None,
241
+ timeout=None,
242
+ metadata=None,
243
+ ):
244
+ return grpc.experimental.unary_unary(
245
+ request,
246
+ target,
247
+ "/chalk.server.v1.BenchmarkService/GetResultFileUrls",
248
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsRequest.SerializeToString,
249
+ chalk_dot_server_dot_v1_dot_benchmark__pb2.GetResultFileUrlsResponse.FromString,
250
+ options,
251
+ channel_credentials,
252
+ insecure,
253
+ call_credentials,
254
+ compression,
255
+ wait_for_ready,
256
+ timeout,
257
+ metadata,
258
+ )
@@ -0,0 +1,84 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ from abc import (
7
+ ABCMeta,
8
+ abstractmethod,
9
+ )
10
+ from chalk._gen.chalk.server.v1.benchmark_pb2 import (
11
+ CreateBenchmarkRequest,
12
+ CreateBenchmarkResponse,
13
+ GetAvailableInputFilesRequest,
14
+ GetAvailableInputFilesResponse,
15
+ GetAvailableResultFilesRequest,
16
+ GetAvailableResultFilesResponse,
17
+ GetInputFileUploadUrlsRequest,
18
+ GetInputFileUploadUrlsResponse,
19
+ GetResultFileUrlsRequest,
20
+ GetResultFileUrlsResponse,
21
+ )
22
+ from grpc import (
23
+ Channel,
24
+ Server,
25
+ ServicerContext,
26
+ UnaryUnaryMultiCallable,
27
+ )
28
+
29
+ class BenchmarkServiceStub:
30
+ def __init__(self, channel: Channel) -> None: ...
31
+ CreateBenchmark: UnaryUnaryMultiCallable[
32
+ CreateBenchmarkRequest,
33
+ CreateBenchmarkResponse,
34
+ ]
35
+ GetAvailableInputFiles: UnaryUnaryMultiCallable[
36
+ GetAvailableInputFilesRequest,
37
+ GetAvailableInputFilesResponse,
38
+ ]
39
+ GetInputFileUploadUrls: UnaryUnaryMultiCallable[
40
+ GetInputFileUploadUrlsRequest,
41
+ GetInputFileUploadUrlsResponse,
42
+ ]
43
+ GetAvailableResultFiles: UnaryUnaryMultiCallable[
44
+ GetAvailableResultFilesRequest,
45
+ GetAvailableResultFilesResponse,
46
+ ]
47
+ GetResultFileUrls: UnaryUnaryMultiCallable[
48
+ GetResultFileUrlsRequest,
49
+ GetResultFileUrlsResponse,
50
+ ]
51
+
52
+ class BenchmarkServiceServicer(metaclass=ABCMeta):
53
+ @abstractmethod
54
+ def CreateBenchmark(
55
+ self,
56
+ request: CreateBenchmarkRequest,
57
+ context: ServicerContext,
58
+ ) -> CreateBenchmarkResponse: ...
59
+ @abstractmethod
60
+ def GetAvailableInputFiles(
61
+ self,
62
+ request: GetAvailableInputFilesRequest,
63
+ context: ServicerContext,
64
+ ) -> GetAvailableInputFilesResponse: ...
65
+ @abstractmethod
66
+ def GetInputFileUploadUrls(
67
+ self,
68
+ request: GetInputFileUploadUrlsRequest,
69
+ context: ServicerContext,
70
+ ) -> GetInputFileUploadUrlsResponse: ...
71
+ @abstractmethod
72
+ def GetAvailableResultFiles(
73
+ self,
74
+ request: GetAvailableResultFilesRequest,
75
+ context: ServicerContext,
76
+ ) -> GetAvailableResultFilesResponse: ...
77
+ @abstractmethod
78
+ def GetResultFileUrls(
79
+ self,
80
+ request: GetResultFileUrlsRequest,
81
+ context: ServicerContext,
82
+ ) -> GetResultFileUrlsResponse: ...
83
+
84
+ def add_BenchmarkServiceServicer_to_server(servicer: BenchmarkServiceServicer, server: Server) -> None: ...
@@ -26,7 +26,7 @@ from google.type import date_pb2 as google_dot_type_dot_date__pb2
26
26
 
27
27
 
28
28
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
29
- b'\n\x1d\x63halk/server/v1/billing.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1f\x63halk/kubernetes/v1/nodes.proto\x1a\x1e\x63halk/kubernetes/v1/pods.proto\x1a!chalk/pubsub/v1/node_status.proto\x1a chalk/pubsub/v1/pod_status.proto\x1a\x1b\x63halk/server/v1/chart.proto\x1a!chalk/server/v1/pod_request.proto\x1a\x19\x63halk/usage/v1/rate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto"\x88\x02\n\x14GetUsageChartRequest\x12\x1e\n\x08start_ms\x18\x01 \x01(\x03H\x00R\x07startMs\x88\x01\x01\x12\x1a\n\x06\x65nd_ms\x18\x02 \x01(\x03H\x01R\x05\x65ndMs\x88\x01\x01\x12>\n\x06period\x18\x03 \x01(\x0e\x32!.chalk.server.v1.UsageChartPeriodH\x02R\x06period\x88\x01\x01\x12\x44\n\x08grouping\x18\x04 \x01(\x0e\x32#.chalk.server.v1.UsageChartGroupingH\x03R\x08grouping\x88\x01\x01\x42\x0b\n\t_start_msB\t\n\x07_end_msB\t\n\x07_periodB\x0b\n\t_grouping"E\n\x15GetUsageChartResponse\x12,\n\x05\x63hart\x18\x01 \x01(\x0b\x32\x16.chalk.server.v1.ChartR\x05\x63hart"\x1c\n\x1aGetUtilizationRatesRequest"P\n\x1bGetUtilizationRatesResponse\x12\x31\n\x05rates\x18\x01 \x03(\x0b\x32\x1b.chalk.usage.v1.MachineRateR\x05rates"\xd2\x01\n\x16GetNodesAndPodsRequest\x12!\n\tnamespace\x18\x01 \x01(\tH\x00R\tnamespace\x88\x01\x01\x12\x31\n\x12pod_label_selector\x18\x02 \x01(\tH\x01R\x10podLabelSelector\x88\x01\x01\x12*\n\x0e\x65nvironment_id\x18\x03 \x01(\tH\x02R\renvironmentId\x88\x01\x01\x42\x0c\n\n_namespaceB\x15\n\x13_pod_label_selectorB\x11\n\x0f_environment_id"\x88\x01\n\x17GetNodesAndPodsResponse\x12\x37\n\x05nodes\x18\x01 \x03(\x0b\x32!.chalk.pubsub.v1.NodeStatusPubSubR\x05nodes\x12\x34\n\x04pods\x18\x02 \x03(\x0b\x32 .chalk.pubsub.v1.PodStatusPubSubR\x04pods"\xd4\x01\n\x18GetNodesAndPodsUIRequest\x12!\n\tnamespace\x18\x01 \x01(\tH\x00R\tnamespace\x88\x01\x01\x12\x31\n\x12pod_label_selector\x18\x02 \x01(\tH\x01R\x10podLabelSelector\x88\x01\x01\x12*\n\x0e\x65nvironment_id\x18\x03 \x01(\tH\x02R\renvironmentId\x88\x01\x01\x42\x0c\n\n_namespaceB\x15\n\x13_pod_label_selectorB\x11\n\x0f_environment_id"\x96\x01\n\x19GetNodesAndPodsUIResponse\x12=\n\x05nodes\x18\x01 \x03(\x0b\x32\'.chalk.kubernetes.v1.KubernetesNodeDataR\x05nodes\x12:\n\x04pods\x18\x02 \x03(\x0b\x32&.chalk.kubernetes.v1.KubernetesPodDataR\x04pods"\x18\n\x16SyncUtilizationRequest"\x19\n\x17SyncUtilizationResponse"\x19\n\x17GetCreditBundlesRequest"S\n\x18GetCreditBundlesResponse\x12\x37\n\x07\x62undles\x18\x01 \x03(\x0b\x32\x1d.chalk.server.v1.CreditBundleR\x07\x62undles"\xa6\x02\n\x0c\x43reditBundle\x12\x1b\n\tbundle_id\x18\x01 \x01(\tR\x08\x62undleId\x12\x36\n\rpurchase_date\x18\x02 \x01(\x0b\x32\x11.google.type.DateR\x0cpurchaseDate\x12\'\n\x0f\x63redit_quantity\x18\x03 \x01(\x05R\x0e\x63reditQuantity\x12%\n\x0epurchase_price\x18\x04 \x01(\x05R\rpurchasePrice\x12\x35\n\nexpires_on\x18\x05 \x01(\x0b\x32\x11.google.type.DateH\x00R\texpiresOn\x88\x01\x01\x12+\n\x11remaining_credits\x18\x06 \x01(\x05R\x10remainingCreditsB\r\n\x0b_expires_on"\xac\x01\n\x17GetInstanceUsageRequest\x12\x1e\n\x08start_ms\x18\x01 \x01(\x03H\x00R\x07startMs\x88\x01\x01\x12\x1a\n\x06\x65nd_ms\x18\x02 \x01(\x03H\x01R\x05\x65ndMs\x88\x01\x01\x12*\n\x0e\x65nvironment_id\x18\x03 \x01(\tH\x02R\renvironmentId\x88\x01\x01\x42\x0b\n\t_start_msB\t\n\x07_end_msB\x11\n\x0f_environment_id"\xf8\x01\n\rInstanceUsage\x12!\n\x0c\x63luster_name\x18\x01 \x01(\tR\x0b\x63lusterName\x12#\n\rinstance_type\x18\x02 \x01(\tR\x0cinstanceType\x12\x0e\n\x02id\x18\x03 \x01(\tR\x02id\x12\x39\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12\x1d\n\nhours_used\x18\x06 \x01(\x01R\thoursUsed"X\n\x18GetInstanceUsageResponse\x12<\n\tinstances\x18\x01 \x03(\x0b\x32\x1e.chalk.server.v1.InstanceUsageR\tinstances*t\n\x10UsageChartPeriod\x12"\n\x1eUSAGE_CHART_PERIOD_UNSPECIFIED\x10\x00\x12\x1c\n\x18USAGE_CHART_PERIOD_DAILY\x10\x01\x12\x1e\n\x1aUSAGE_CHART_PERIOD_MONTHLY\x10\x02*\x84\x01\n\x12UsageChartGrouping\x12$\n USAGE_CHART_GROUPING_UNSPECIFIED\x10\x00\x12&\n"USAGE_CHART_GROUPING_INSTANCE_TYPE\x10\x01\x12 \n\x1cUSAGE_CHART_GROUPING_CLUSTER\x10\x02\x32\x9e\x07\n\x0e\x42illingService\x12r\n\x11GetNodesAndPodsUI\x12).chalk.server.v1.GetNodesAndPodsUIRequest\x1a*.chalk.server.v1.GetNodesAndPodsUIResponse"\x06\x90\x02\x01\x80}\x0b\x12l\n\x0fGetNodesAndPods\x12\'.chalk.server.v1.GetNodesAndPodsRequest\x1a(.chalk.server.v1.GetNodesAndPodsResponse"\x06\x90\x02\x01\x80}\x0b\x12\x66\n\rGetUsageChart\x12%.chalk.server.v1.GetUsageChartRequest\x1a&.chalk.server.v1.GetUsageChartResponse"\x06\x90\x02\x01\x80}\x1c\x12x\n\x13GetUtilizationRates\x12+.chalk.server.v1.GetUtilizationRatesRequest\x1a,.chalk.server.v1.GetUtilizationRatesResponse"\x06\x90\x02\x01\x80}\x01\x12x\n\x13GetPodRequestCharts\x12+.chalk.server.v1.GetPodRequestChartsRequest\x1a,.chalk.server.v1.GetPodRequestChartsResponse"\x06\x90\x02\x01\x80}\x06\x12l\n\x0fSyncUtilization\x12\'.chalk.server.v1.SyncUtilizationRequest\x1a(.chalk.server.v1.SyncUtilizationResponse"\x06\x90\x02\x01\x80}\x1b\x12o\n\x10GetCreditBundles\x12(.chalk.server.v1.GetCreditBundlesRequest\x1a).chalk.server.v1.GetCreditBundlesResponse"\x06\x90\x02\x01\x80}\x1c\x12o\n\x10GetInstanceUsage\x12(.chalk.server.v1.GetInstanceUsageRequest\x1a).chalk.server.v1.GetInstanceUsageResponse"\x06\x90\x02\x01\x80}\x1c\x42\x95\x01\n\x13\x63om.chalk.server.v1B\x0c\x42illingProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
29
+ b'\n\x1d\x63halk/server/v1/billing.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1f\x63halk/kubernetes/v1/nodes.proto\x1a\x1e\x63halk/kubernetes/v1/pods.proto\x1a!chalk/pubsub/v1/node_status.proto\x1a chalk/pubsub/v1/pod_status.proto\x1a\x1b\x63halk/server/v1/chart.proto\x1a!chalk/server/v1/pod_request.proto\x1a\x19\x63halk/usage/v1/rate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto"\xe1\x02\n\x14GetUsageChartRequest\x12\x1e\n\x08start_ms\x18\x01 \x01(\x03H\x00R\x07startMs\x88\x01\x01\x12\x1a\n\x06\x65nd_ms\x18\x02 \x01(\x03H\x01R\x05\x65ndMs\x88\x01\x01\x12>\n\x06period\x18\x03 \x01(\x0e\x32!.chalk.server.v1.UsageChartPeriodH\x02R\x06period\x88\x01\x01\x12\x44\n\x08grouping\x18\x04 \x01(\x0e\x32#.chalk.server.v1.UsageChartGroupingH\x03R\x08grouping\x88\x01\x01\x12H\n\ntime_range\x18\x05 \x01(\x0e\x32$.chalk.server.v1.UsageChartTimeRangeH\x04R\ttimeRange\x88\x01\x01\x42\x0b\n\t_start_msB\t\n\x07_end_msB\t\n\x07_periodB\x0b\n\t_groupingB\r\n\x0b_time_range"E\n\x15GetUsageChartResponse\x12,\n\x05\x63hart\x18\x01 \x01(\x0b\x32\x16.chalk.server.v1.ChartR\x05\x63hart"\x1c\n\x1aGetUtilizationRatesRequest"P\n\x1bGetUtilizationRatesResponse\x12\x31\n\x05rates\x18\x01 \x03(\x0b\x32\x1b.chalk.usage.v1.MachineRateR\x05rates"\xd2\x01\n\x16GetNodesAndPodsRequest\x12!\n\tnamespace\x18\x01 \x01(\tH\x00R\tnamespace\x88\x01\x01\x12\x31\n\x12pod_label_selector\x18\x02 \x01(\tH\x01R\x10podLabelSelector\x88\x01\x01\x12*\n\x0e\x65nvironment_id\x18\x03 \x01(\tH\x02R\renvironmentId\x88\x01\x01\x42\x0c\n\n_namespaceB\x15\n\x13_pod_label_selectorB\x11\n\x0f_environment_id"\x88\x01\n\x17GetNodesAndPodsResponse\x12\x37\n\x05nodes\x18\x01 \x03(\x0b\x32!.chalk.pubsub.v1.NodeStatusPubSubR\x05nodes\x12\x34\n\x04pods\x18\x02 \x03(\x0b\x32 .chalk.pubsub.v1.PodStatusPubSubR\x04pods"\xd4\x01\n\x18GetNodesAndPodsUIRequest\x12!\n\tnamespace\x18\x01 \x01(\tH\x00R\tnamespace\x88\x01\x01\x12\x31\n\x12pod_label_selector\x18\x02 \x01(\tH\x01R\x10podLabelSelector\x88\x01\x01\x12*\n\x0e\x65nvironment_id\x18\x03 \x01(\tH\x02R\renvironmentId\x88\x01\x01\x42\x0c\n\n_namespaceB\x15\n\x13_pod_label_selectorB\x11\n\x0f_environment_id"\x96\x01\n\x19GetNodesAndPodsUIResponse\x12=\n\x05nodes\x18\x01 \x03(\x0b\x32\'.chalk.kubernetes.v1.KubernetesNodeDataR\x05nodes\x12:\n\x04pods\x18\x02 \x03(\x0b\x32&.chalk.kubernetes.v1.KubernetesPodDataR\x04pods"\x18\n\x16SyncUtilizationRequest"\x19\n\x17SyncUtilizationResponse"\x19\n\x17GetCreditBundlesRequest"S\n\x18GetCreditBundlesResponse\x12\x37\n\x07\x62undles\x18\x01 \x03(\x0b\x32\x1d.chalk.server.v1.CreditBundleR\x07\x62undles"\xa6\x02\n\x0c\x43reditBundle\x12\x1b\n\tbundle_id\x18\x01 \x01(\tR\x08\x62undleId\x12\x36\n\rpurchase_date\x18\x02 \x01(\x0b\x32\x11.google.type.DateR\x0cpurchaseDate\x12\'\n\x0f\x63redit_quantity\x18\x03 \x01(\x05R\x0e\x63reditQuantity\x12%\n\x0epurchase_price\x18\x04 \x01(\x05R\rpurchasePrice\x12\x35\n\nexpires_on\x18\x05 \x01(\x0b\x32\x11.google.type.DateH\x00R\texpiresOn\x88\x01\x01\x12+\n\x11remaining_credits\x18\x06 \x01(\x05R\x10remainingCreditsB\r\n\x0b_expires_on"\xac\x01\n\x17GetInstanceUsageRequest\x12\x1e\n\x08start_ms\x18\x01 \x01(\x03H\x00R\x07startMs\x88\x01\x01\x12\x1a\n\x06\x65nd_ms\x18\x02 \x01(\x03H\x01R\x05\x65ndMs\x88\x01\x01\x12*\n\x0e\x65nvironment_id\x18\x03 \x01(\tH\x02R\renvironmentId\x88\x01\x01\x42\x0b\n\t_start_msB\t\n\x07_end_msB\x11\n\x0f_environment_id"\xf8\x01\n\rInstanceUsage\x12!\n\x0c\x63luster_name\x18\x01 \x01(\tR\x0b\x63lusterName\x12#\n\rinstance_type\x18\x02 \x01(\tR\x0cinstanceType\x12\x0e\n\x02id\x18\x03 \x01(\tR\x02id\x12\x39\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12\x1d\n\nhours_used\x18\x06 \x01(\x01R\thoursUsed"X\n\x18GetInstanceUsageResponse\x12<\n\tinstances\x18\x01 \x03(\x0b\x32\x1e.chalk.server.v1.InstanceUsageR\tinstances*\x93\x01\n\x10UsageChartPeriod\x12"\n\x1eUSAGE_CHART_PERIOD_UNSPECIFIED\x10\x00\x12\x1c\n\x18USAGE_CHART_PERIOD_DAILY\x10\x01\x12\x1e\n\x1aUSAGE_CHART_PERIOD_MONTHLY\x10\x02\x12\x1d\n\x19USAGE_CHART_PERIOD_HOURLY\x10\x03*\xa7\x01\n\x12UsageChartGrouping\x12$\n USAGE_CHART_GROUPING_UNSPECIFIED\x10\x00\x12&\n"USAGE_CHART_GROUPING_INSTANCE_TYPE\x10\x01\x12 \n\x1cUSAGE_CHART_GROUPING_CLUSTER\x10\x02\x12!\n\x1dUSAGE_CHART_GROUPING_NODEPOOL\x10\x03*{\n\x13UsageChartTimeRange\x12&\n"USAGE_CHART_TIME_RANGE_UNSPECIFIED\x10\x00\x12\x1d\n\x19USAGE_CHART_TIME_RANGE_1D\x10\x01\x12\x1d\n\x19USAGE_CHART_TIME_RANGE_7D\x10\x02\x32\x9e\x07\n\x0e\x42illingService\x12r\n\x11GetNodesAndPodsUI\x12).chalk.server.v1.GetNodesAndPodsUIRequest\x1a*.chalk.server.v1.GetNodesAndPodsUIResponse"\x06\x90\x02\x01\x80}\x0b\x12l\n\x0fGetNodesAndPods\x12\'.chalk.server.v1.GetNodesAndPodsRequest\x1a(.chalk.server.v1.GetNodesAndPodsResponse"\x06\x90\x02\x01\x80}\x0b\x12\x66\n\rGetUsageChart\x12%.chalk.server.v1.GetUsageChartRequest\x1a&.chalk.server.v1.GetUsageChartResponse"\x06\x90\x02\x01\x80}\x1c\x12x\n\x13GetUtilizationRates\x12+.chalk.server.v1.GetUtilizationRatesRequest\x1a,.chalk.server.v1.GetUtilizationRatesResponse"\x06\x90\x02\x01\x80}\x01\x12x\n\x13GetPodRequestCharts\x12+.chalk.server.v1.GetPodRequestChartsRequest\x1a,.chalk.server.v1.GetPodRequestChartsResponse"\x06\x90\x02\x01\x80}\x06\x12l\n\x0fSyncUtilization\x12\'.chalk.server.v1.SyncUtilizationRequest\x1a(.chalk.server.v1.SyncUtilizationResponse"\x06\x90\x02\x01\x80}\x1b\x12o\n\x10GetCreditBundles\x12(.chalk.server.v1.GetCreditBundlesRequest\x1a).chalk.server.v1.GetCreditBundlesResponse"\x06\x90\x02\x01\x80}\x1c\x12o\n\x10GetInstanceUsage\x12(.chalk.server.v1.GetInstanceUsageRequest\x1a).chalk.server.v1.GetInstanceUsageResponse"\x06\x90\x02\x01\x80}\x1c\x42\x95\x01\n\x13\x63om.chalk.server.v1B\x0c\x42illingProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
30
30
  )
31
31
 
32
32
  _globals = globals()
@@ -53,42 +53,44 @@ if _descriptor._USE_C_DESCRIPTORS == False:
53
53
  _globals["_BILLINGSERVICE"].methods_by_name["GetCreditBundles"]._serialized_options = b"\220\002\001\200}\034"
54
54
  _globals["_BILLINGSERVICE"].methods_by_name["GetInstanceUsage"]._options = None
55
55
  _globals["_BILLINGSERVICE"].methods_by_name["GetInstanceUsage"]._serialized_options = b"\220\002\001\200}\034"
56
- _globals["_USAGECHARTPERIOD"]._serialized_start = 2513
57
- _globals["_USAGECHARTPERIOD"]._serialized_end = 2629
58
- _globals["_USAGECHARTGROUPING"]._serialized_start = 2632
59
- _globals["_USAGECHARTGROUPING"]._serialized_end = 2764
56
+ _globals["_USAGECHARTPERIOD"]._serialized_start = 2603
57
+ _globals["_USAGECHARTPERIOD"]._serialized_end = 2750
58
+ _globals["_USAGECHARTGROUPING"]._serialized_start = 2753
59
+ _globals["_USAGECHARTGROUPING"]._serialized_end = 2920
60
+ _globals["_USAGECHARTTIMERANGE"]._serialized_start = 2922
61
+ _globals["_USAGECHARTTIMERANGE"]._serialized_end = 3045
60
62
  _globals["_GETUSAGECHARTREQUEST"]._serialized_start = 366
61
- _globals["_GETUSAGECHARTREQUEST"]._serialized_end = 630
62
- _globals["_GETUSAGECHARTRESPONSE"]._serialized_start = 632
63
- _globals["_GETUSAGECHARTRESPONSE"]._serialized_end = 701
64
- _globals["_GETUTILIZATIONRATESREQUEST"]._serialized_start = 703
65
- _globals["_GETUTILIZATIONRATESREQUEST"]._serialized_end = 731
66
- _globals["_GETUTILIZATIONRATESRESPONSE"]._serialized_start = 733
67
- _globals["_GETUTILIZATIONRATESRESPONSE"]._serialized_end = 813
68
- _globals["_GETNODESANDPODSREQUEST"]._serialized_start = 816
69
- _globals["_GETNODESANDPODSREQUEST"]._serialized_end = 1026
70
- _globals["_GETNODESANDPODSRESPONSE"]._serialized_start = 1029
71
- _globals["_GETNODESANDPODSRESPONSE"]._serialized_end = 1165
72
- _globals["_GETNODESANDPODSUIREQUEST"]._serialized_start = 1168
73
- _globals["_GETNODESANDPODSUIREQUEST"]._serialized_end = 1380
74
- _globals["_GETNODESANDPODSUIRESPONSE"]._serialized_start = 1383
75
- _globals["_GETNODESANDPODSUIRESPONSE"]._serialized_end = 1533
76
- _globals["_SYNCUTILIZATIONREQUEST"]._serialized_start = 1535
77
- _globals["_SYNCUTILIZATIONREQUEST"]._serialized_end = 1559
78
- _globals["_SYNCUTILIZATIONRESPONSE"]._serialized_start = 1561
79
- _globals["_SYNCUTILIZATIONRESPONSE"]._serialized_end = 1586
80
- _globals["_GETCREDITBUNDLESREQUEST"]._serialized_start = 1588
81
- _globals["_GETCREDITBUNDLESREQUEST"]._serialized_end = 1613
82
- _globals["_GETCREDITBUNDLESRESPONSE"]._serialized_start = 1615
83
- _globals["_GETCREDITBUNDLESRESPONSE"]._serialized_end = 1698
84
- _globals["_CREDITBUNDLE"]._serialized_start = 1701
85
- _globals["_CREDITBUNDLE"]._serialized_end = 1995
86
- _globals["_GETINSTANCEUSAGEREQUEST"]._serialized_start = 1998
87
- _globals["_GETINSTANCEUSAGEREQUEST"]._serialized_end = 2170
88
- _globals["_INSTANCEUSAGE"]._serialized_start = 2173
89
- _globals["_INSTANCEUSAGE"]._serialized_end = 2421
90
- _globals["_GETINSTANCEUSAGERESPONSE"]._serialized_start = 2423
91
- _globals["_GETINSTANCEUSAGERESPONSE"]._serialized_end = 2511
92
- _globals["_BILLINGSERVICE"]._serialized_start = 2767
93
- _globals["_BILLINGSERVICE"]._serialized_end = 3693
63
+ _globals["_GETUSAGECHARTREQUEST"]._serialized_end = 719
64
+ _globals["_GETUSAGECHARTRESPONSE"]._serialized_start = 721
65
+ _globals["_GETUSAGECHARTRESPONSE"]._serialized_end = 790
66
+ _globals["_GETUTILIZATIONRATESREQUEST"]._serialized_start = 792
67
+ _globals["_GETUTILIZATIONRATESREQUEST"]._serialized_end = 820
68
+ _globals["_GETUTILIZATIONRATESRESPONSE"]._serialized_start = 822
69
+ _globals["_GETUTILIZATIONRATESRESPONSE"]._serialized_end = 902
70
+ _globals["_GETNODESANDPODSREQUEST"]._serialized_start = 905
71
+ _globals["_GETNODESANDPODSREQUEST"]._serialized_end = 1115
72
+ _globals["_GETNODESANDPODSRESPONSE"]._serialized_start = 1118
73
+ _globals["_GETNODESANDPODSRESPONSE"]._serialized_end = 1254
74
+ _globals["_GETNODESANDPODSUIREQUEST"]._serialized_start = 1257
75
+ _globals["_GETNODESANDPODSUIREQUEST"]._serialized_end = 1469
76
+ _globals["_GETNODESANDPODSUIRESPONSE"]._serialized_start = 1472
77
+ _globals["_GETNODESANDPODSUIRESPONSE"]._serialized_end = 1622
78
+ _globals["_SYNCUTILIZATIONREQUEST"]._serialized_start = 1624
79
+ _globals["_SYNCUTILIZATIONREQUEST"]._serialized_end = 1648
80
+ _globals["_SYNCUTILIZATIONRESPONSE"]._serialized_start = 1650
81
+ _globals["_SYNCUTILIZATIONRESPONSE"]._serialized_end = 1675
82
+ _globals["_GETCREDITBUNDLESREQUEST"]._serialized_start = 1677
83
+ _globals["_GETCREDITBUNDLESREQUEST"]._serialized_end = 1702
84
+ _globals["_GETCREDITBUNDLESRESPONSE"]._serialized_start = 1704
85
+ _globals["_GETCREDITBUNDLESRESPONSE"]._serialized_end = 1787
86
+ _globals["_CREDITBUNDLE"]._serialized_start = 1790
87
+ _globals["_CREDITBUNDLE"]._serialized_end = 2084
88
+ _globals["_GETINSTANCEUSAGEREQUEST"]._serialized_start = 2087
89
+ _globals["_GETINSTANCEUSAGEREQUEST"]._serialized_end = 2259
90
+ _globals["_INSTANCEUSAGE"]._serialized_start = 2262
91
+ _globals["_INSTANCEUSAGE"]._serialized_end = 2510
92
+ _globals["_GETINSTANCEUSAGERESPONSE"]._serialized_start = 2512
93
+ _globals["_GETINSTANCEUSAGERESPONSE"]._serialized_end = 2600
94
+ _globals["_BILLINGSERVICE"]._serialized_start = 3048
95
+ _globals["_BILLINGSERVICE"]._serialized_end = 3974
94
96
  # @@protoc_insertion_point(module_scope)
@@ -27,36 +27,52 @@ class UsageChartPeriod(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
27
27
  USAGE_CHART_PERIOD_UNSPECIFIED: _ClassVar[UsageChartPeriod]
28
28
  USAGE_CHART_PERIOD_DAILY: _ClassVar[UsageChartPeriod]
29
29
  USAGE_CHART_PERIOD_MONTHLY: _ClassVar[UsageChartPeriod]
30
+ USAGE_CHART_PERIOD_HOURLY: _ClassVar[UsageChartPeriod]
30
31
 
31
32
  class UsageChartGrouping(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
32
33
  __slots__ = ()
33
34
  USAGE_CHART_GROUPING_UNSPECIFIED: _ClassVar[UsageChartGrouping]
34
35
  USAGE_CHART_GROUPING_INSTANCE_TYPE: _ClassVar[UsageChartGrouping]
35
36
  USAGE_CHART_GROUPING_CLUSTER: _ClassVar[UsageChartGrouping]
37
+ USAGE_CHART_GROUPING_NODEPOOL: _ClassVar[UsageChartGrouping]
38
+
39
+ class UsageChartTimeRange(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
40
+ __slots__ = ()
41
+ USAGE_CHART_TIME_RANGE_UNSPECIFIED: _ClassVar[UsageChartTimeRange]
42
+ USAGE_CHART_TIME_RANGE_1D: _ClassVar[UsageChartTimeRange]
43
+ USAGE_CHART_TIME_RANGE_7D: _ClassVar[UsageChartTimeRange]
36
44
 
37
45
  USAGE_CHART_PERIOD_UNSPECIFIED: UsageChartPeriod
38
46
  USAGE_CHART_PERIOD_DAILY: UsageChartPeriod
39
47
  USAGE_CHART_PERIOD_MONTHLY: UsageChartPeriod
48
+ USAGE_CHART_PERIOD_HOURLY: UsageChartPeriod
40
49
  USAGE_CHART_GROUPING_UNSPECIFIED: UsageChartGrouping
41
50
  USAGE_CHART_GROUPING_INSTANCE_TYPE: UsageChartGrouping
42
51
  USAGE_CHART_GROUPING_CLUSTER: UsageChartGrouping
52
+ USAGE_CHART_GROUPING_NODEPOOL: UsageChartGrouping
53
+ USAGE_CHART_TIME_RANGE_UNSPECIFIED: UsageChartTimeRange
54
+ USAGE_CHART_TIME_RANGE_1D: UsageChartTimeRange
55
+ USAGE_CHART_TIME_RANGE_7D: UsageChartTimeRange
43
56
 
44
57
  class GetUsageChartRequest(_message.Message):
45
- __slots__ = ("start_ms", "end_ms", "period", "grouping")
58
+ __slots__ = ("start_ms", "end_ms", "period", "grouping", "time_range")
46
59
  START_MS_FIELD_NUMBER: _ClassVar[int]
47
60
  END_MS_FIELD_NUMBER: _ClassVar[int]
48
61
  PERIOD_FIELD_NUMBER: _ClassVar[int]
49
62
  GROUPING_FIELD_NUMBER: _ClassVar[int]
63
+ TIME_RANGE_FIELD_NUMBER: _ClassVar[int]
50
64
  start_ms: int
51
65
  end_ms: int
52
66
  period: UsageChartPeriod
53
67
  grouping: UsageChartGrouping
68
+ time_range: UsageChartTimeRange
54
69
  def __init__(
55
70
  self,
56
71
  start_ms: _Optional[int] = ...,
57
72
  end_ms: _Optional[int] = ...,
58
73
  period: _Optional[_Union[UsageChartPeriod, str]] = ...,
59
74
  grouping: _Optional[_Union[UsageChartGrouping, str]] = ...,
75
+ time_range: _Optional[_Union[UsageChartTimeRange, str]] = ...,
60
76
  ) -> None: ...
61
77
 
62
78
  class GetUsageChartResponse(_message.Message):
@@ -0,0 +1,45 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: chalk/server/v1/branches.proto
4
+ # Protobuf Python Version: 4.25.3
5
+ """Generated protocol buffer code."""
6
+
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ from google.protobuf.internal import builder as _builder
11
+ # @@protoc_insertion_point(imports)
12
+
13
+ _sym_db = _symbol_database.Default()
14
+
15
+
16
+ from chalk._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
17
+ from chalk._gen.chalk.server.v1 import deployment_pb2 as chalk_dot_server_dot_v1_dot_deployment__pb2
18
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
19
+
20
+
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
22
+ b'\n\x1e\x63halk/server/v1/branches.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a chalk/server/v1/deployment.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x92\x01\n\x06\x42ranch\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x39\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12)\n\x10\x64\x65ployment_count\x18\x04 \x01(\x05R\x0f\x64\x65ploymentCount"\xaa\x03\n\x1a\x42ranchWithLatestDeployment\x12/\n\x06\x62ranch\x18\x01 \x01(\x0b\x32\x17.chalk.server.v1.BranchR\x06\x62ranch\x12[\n\x18latest_deployment_status\x18\x02 \x01(\x0e\x32!.chalk.server.v1.DeploymentStatusR\x16latestDeploymentStatus\x12V\n\x19latest_deployment_created\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x17latestDeploymentCreated\x12V\n\x19latest_deployment_updated\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x17latestDeploymentUpdated\x12\x35\n\x14latest_deployment_id\x18\x05 \x01(\tH\x00R\x12latestDeploymentId\x88\x01\x01\x42\x17\n\x15_latest_deployment_id"u\n&ListBranchWithLatestDeploymentsRequest\x12\x1b\n\x06\x63ursor\x18\x01 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x12\x19\n\x05limit\x18\x02 \x01(\x05H\x01R\x05limit\x88\x01\x01\x42\t\n\x07_cursorB\x08\n\x06_limit"\xc3\x01\n\'ListBranchWithLatestDeploymentsResponse\x12p\n\x1e\x62ranch_with_latest_deployments\x18\x01 \x03(\x0b\x32+.chalk.server.v1.BranchWithLatestDeploymentR\x1b\x62ranchWithLatestDeployments\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x42\t\n\x07_cursor2\xab\x01\n\rBranchService\x12\x99\x01\n\x1fListBranchWithLatestDeployments\x12\x37.chalk.server.v1.ListBranchWithLatestDeploymentsRequest\x1a\x38.chalk.server.v1.ListBranchWithLatestDeploymentsResponse"\x03\x80}\x0b\x42\x96\x01\n\x13\x63om.chalk.server.v1B\rBranchesProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
23
+ )
24
+
25
+ _globals = globals()
26
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
27
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "chalk.server.v1.branches_pb2", _globals)
28
+ if _descriptor._USE_C_DESCRIPTORS == False:
29
+ _globals["DESCRIPTOR"]._options = None
30
+ _globals[
31
+ "DESCRIPTOR"
32
+ ]._serialized_options = b"\n\023com.chalk.server.v1B\rBranchesProtoP\001Z\022server/v1;serverv1\242\002\003CSX\252\002\017Chalk.Server.V1\312\002\017Chalk\\Server\\V1\342\002\033Chalk\\Server\\V1\\GPBMetadata\352\002\021Chalk::Server::V1"
33
+ _globals["_BRANCHSERVICE"].methods_by_name["ListBranchWithLatestDeployments"]._options = None
34
+ _globals["_BRANCHSERVICE"].methods_by_name["ListBranchWithLatestDeployments"]._serialized_options = b"\200}\013"
35
+ _globals["_BRANCH"]._serialized_start = 152
36
+ _globals["_BRANCH"]._serialized_end = 298
37
+ _globals["_BRANCHWITHLATESTDEPLOYMENT"]._serialized_start = 301
38
+ _globals["_BRANCHWITHLATESTDEPLOYMENT"]._serialized_end = 727
39
+ _globals["_LISTBRANCHWITHLATESTDEPLOYMENTSREQUEST"]._serialized_start = 729
40
+ _globals["_LISTBRANCHWITHLATESTDEPLOYMENTSREQUEST"]._serialized_end = 846
41
+ _globals["_LISTBRANCHWITHLATESTDEPLOYMENTSRESPONSE"]._serialized_start = 849
42
+ _globals["_LISTBRANCHWITHLATESTDEPLOYMENTSRESPONSE"]._serialized_end = 1044
43
+ _globals["_BRANCHSERVICE"]._serialized_start = 1047
44
+ _globals["_BRANCHSERVICE"]._serialized_end = 1218
45
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,80 @@
1
+ from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
2
+ from chalk._gen.chalk.server.v1 import deployment_pb2 as _deployment_pb2
3
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
4
+ from google.protobuf.internal import containers as _containers
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import message as _message
7
+ from typing import (
8
+ ClassVar as _ClassVar,
9
+ Iterable as _Iterable,
10
+ Mapping as _Mapping,
11
+ Optional as _Optional,
12
+ Union as _Union,
13
+ )
14
+
15
+ DESCRIPTOR: _descriptor.FileDescriptor
16
+
17
+ class Branch(_message.Message):
18
+ __slots__ = ("id", "name", "created_at", "deployment_count")
19
+ ID_FIELD_NUMBER: _ClassVar[int]
20
+ NAME_FIELD_NUMBER: _ClassVar[int]
21
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
22
+ DEPLOYMENT_COUNT_FIELD_NUMBER: _ClassVar[int]
23
+ id: str
24
+ name: str
25
+ created_at: _timestamp_pb2.Timestamp
26
+ deployment_count: int
27
+ def __init__(
28
+ self,
29
+ id: _Optional[str] = ...,
30
+ name: _Optional[str] = ...,
31
+ created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
32
+ deployment_count: _Optional[int] = ...,
33
+ ) -> None: ...
34
+
35
+ class BranchWithLatestDeployment(_message.Message):
36
+ __slots__ = (
37
+ "branch",
38
+ "latest_deployment_status",
39
+ "latest_deployment_created",
40
+ "latest_deployment_updated",
41
+ "latest_deployment_id",
42
+ )
43
+ BRANCH_FIELD_NUMBER: _ClassVar[int]
44
+ LATEST_DEPLOYMENT_STATUS_FIELD_NUMBER: _ClassVar[int]
45
+ LATEST_DEPLOYMENT_CREATED_FIELD_NUMBER: _ClassVar[int]
46
+ LATEST_DEPLOYMENT_UPDATED_FIELD_NUMBER: _ClassVar[int]
47
+ LATEST_DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
48
+ branch: Branch
49
+ latest_deployment_status: _deployment_pb2.DeploymentStatus
50
+ latest_deployment_created: _timestamp_pb2.Timestamp
51
+ latest_deployment_updated: _timestamp_pb2.Timestamp
52
+ latest_deployment_id: str
53
+ def __init__(
54
+ self,
55
+ branch: _Optional[_Union[Branch, _Mapping]] = ...,
56
+ latest_deployment_status: _Optional[_Union[_deployment_pb2.DeploymentStatus, str]] = ...,
57
+ latest_deployment_created: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
58
+ latest_deployment_updated: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
59
+ latest_deployment_id: _Optional[str] = ...,
60
+ ) -> None: ...
61
+
62
+ class ListBranchWithLatestDeploymentsRequest(_message.Message):
63
+ __slots__ = ("cursor", "limit")
64
+ CURSOR_FIELD_NUMBER: _ClassVar[int]
65
+ LIMIT_FIELD_NUMBER: _ClassVar[int]
66
+ cursor: str
67
+ limit: int
68
+ def __init__(self, cursor: _Optional[str] = ..., limit: _Optional[int] = ...) -> None: ...
69
+
70
+ class ListBranchWithLatestDeploymentsResponse(_message.Message):
71
+ __slots__ = ("branch_with_latest_deployments", "cursor")
72
+ BRANCH_WITH_LATEST_DEPLOYMENTS_FIELD_NUMBER: _ClassVar[int]
73
+ CURSOR_FIELD_NUMBER: _ClassVar[int]
74
+ branch_with_latest_deployments: _containers.RepeatedCompositeFieldContainer[BranchWithLatestDeployment]
75
+ cursor: str
76
+ def __init__(
77
+ self,
78
+ branch_with_latest_deployments: _Optional[_Iterable[_Union[BranchWithLatestDeployment, _Mapping]]] = ...,
79
+ cursor: _Optional[str] = ...,
80
+ ) -> None: ...