chalkpy 2.94.4__py3-none-any.whl → 2.94.6__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.
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +37 -33
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +24 -3
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +42 -11
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +86 -4
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +48 -0
- chalk/_gen/chalk/server/v1/billing_pb2.py +40 -38
- chalk/_gen/chalk/server/v1/billing_pb2.pyi +17 -1
- chalk/_gen/chalk/server/v1/builder_pb2.py +357 -296
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +273 -6
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.py +225 -0
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.pyi +60 -0
- chalk/_gen/chalk/server/v1/chart_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/chart_pb2.pyi +18 -2
- chalk/_gen/chalk/server/v1/cloud_components_pb2.py +137 -123
- chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +86 -4
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.py +50 -44
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +33 -1
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +38 -18
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +55 -10
- chalk/_gen/chalk/server/v1/deployment_pb2.py +6 -6
- chalk/_gen/chalk/server/v1/deployment_pb2.pyi +20 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2.py +4 -2
- chalk/_gen/chalk/server/v1/graph_pb2.py +38 -26
- chalk/_gen/chalk/server/v1/graph_pb2.pyi +58 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.py +47 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.pyi +18 -0
- chalk/_gen/chalk/server/v1/log_pb2.py +21 -3
- chalk/_gen/chalk/server/v1/log_pb2.pyi +68 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.py +53 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.pyi +86 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.py +168 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.pyi +60 -0
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +4 -1
- chalk/_gen/chalk/server/v1/scheduler_pb2.py +17 -5
- chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +42 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2.py +15 -3
- chalk/_gen/chalk/server/v1/script_tasks_pb2.pyi +22 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.py +48 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +150 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.py +123 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.pyi +52 -0
- chalk/_gen/chalk/server/v1/team_pb2.py +142 -141
- chalk/_gen/chalk/server/v1/team_pb2.pyi +9 -2
- chalk/_gen/chalk/server/v1/topic_pb2.py +5 -3
- chalk/_gen/chalk/server/v1/topic_pb2.pyi +10 -1
- chalk/_gen/chalk/server/v1/trace_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/trace_pb2.pyi +8 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.py +32 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.pyi +42 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.py +4 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.pyi +4 -0
- chalk/_version.py +1 -1
- chalk/serialization/parsed_annotation.py +1 -0
- {chalkpy-2.94.4.dist-info → chalkpy-2.94.6.dist-info}/METADATA +1 -1
- {chalkpy-2.94.4.dist-info → chalkpy-2.94.6.dist-info}/RECORD +68 -60
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2.py +0 -38
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2.pyi +0 -25
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.py +0 -80
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.pyi +0 -36
- {chalkpy-2.94.4.dist-info → chalkpy-2.94.6.dist-info}/WHEEL +0 -0
- {chalkpy-2.94.4.dist-info → chalkpy-2.94.6.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.94.4.dist-info → chalkpy-2.94.6.dist-info}/top_level.txt +0 -0
|
@@ -25,6 +25,16 @@ class LogSearchServiceStub(object):
|
|
|
25
25
|
request_serializer=chalk_dot_server_dot_v1_dot_log__pb2.SearchLogEntriesAggregatedRequest.SerializeToString,
|
|
26
26
|
response_deserializer=chalk_dot_server_dot_v1_dot_log__pb2.SearchLogEntriesAggregatedResponse.FromString,
|
|
27
27
|
)
|
|
28
|
+
self.GetLogFacets = channel.unary_unary(
|
|
29
|
+
"/chalk.server.v1.LogSearchService/GetLogFacets",
|
|
30
|
+
request_serializer=chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetsRequest.SerializeToString,
|
|
31
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetsResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.GetLogFacetValues = channel.unary_unary(
|
|
34
|
+
"/chalk.server.v1.LogSearchService/GetLogFacetValues",
|
|
35
|
+
request_serializer=chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetValuesRequest.SerializeToString,
|
|
36
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetValuesResponse.FromString,
|
|
37
|
+
)
|
|
28
38
|
|
|
29
39
|
|
|
30
40
|
class LogSearchServiceServicer(object):
|
|
@@ -42,6 +52,18 @@ class LogSearchServiceServicer(object):
|
|
|
42
52
|
context.set_details("Method not implemented!")
|
|
43
53
|
raise NotImplementedError("Method not implemented!")
|
|
44
54
|
|
|
55
|
+
def GetLogFacets(self, request, context):
|
|
56
|
+
"""Missing associated documentation comment in .proto file."""
|
|
57
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
|
+
context.set_details("Method not implemented!")
|
|
59
|
+
raise NotImplementedError("Method not implemented!")
|
|
60
|
+
|
|
61
|
+
def GetLogFacetValues(self, request, context):
|
|
62
|
+
"""Missing associated documentation comment in .proto file."""
|
|
63
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
64
|
+
context.set_details("Method not implemented!")
|
|
65
|
+
raise NotImplementedError("Method not implemented!")
|
|
66
|
+
|
|
45
67
|
|
|
46
68
|
def add_LogSearchServiceServicer_to_server(servicer, server):
|
|
47
69
|
rpc_method_handlers = {
|
|
@@ -55,6 +77,16 @@ def add_LogSearchServiceServicer_to_server(servicer, server):
|
|
|
55
77
|
request_deserializer=chalk_dot_server_dot_v1_dot_log__pb2.SearchLogEntriesAggregatedRequest.FromString,
|
|
56
78
|
response_serializer=chalk_dot_server_dot_v1_dot_log__pb2.SearchLogEntriesAggregatedResponse.SerializeToString,
|
|
57
79
|
),
|
|
80
|
+
"GetLogFacets": grpc.unary_unary_rpc_method_handler(
|
|
81
|
+
servicer.GetLogFacets,
|
|
82
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetsRequest.FromString,
|
|
83
|
+
response_serializer=chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetsResponse.SerializeToString,
|
|
84
|
+
),
|
|
85
|
+
"GetLogFacetValues": grpc.unary_unary_rpc_method_handler(
|
|
86
|
+
servicer.GetLogFacetValues,
|
|
87
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetValuesRequest.FromString,
|
|
88
|
+
response_serializer=chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetValuesResponse.SerializeToString,
|
|
89
|
+
),
|
|
58
90
|
}
|
|
59
91
|
generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.LogSearchService", rpc_method_handlers)
|
|
60
92
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
@@ -121,3 +153,61 @@ class LogSearchService(object):
|
|
|
121
153
|
timeout,
|
|
122
154
|
metadata,
|
|
123
155
|
)
|
|
156
|
+
|
|
157
|
+
@staticmethod
|
|
158
|
+
def GetLogFacets(
|
|
159
|
+
request,
|
|
160
|
+
target,
|
|
161
|
+
options=(),
|
|
162
|
+
channel_credentials=None,
|
|
163
|
+
call_credentials=None,
|
|
164
|
+
insecure=False,
|
|
165
|
+
compression=None,
|
|
166
|
+
wait_for_ready=None,
|
|
167
|
+
timeout=None,
|
|
168
|
+
metadata=None,
|
|
169
|
+
):
|
|
170
|
+
return grpc.experimental.unary_unary(
|
|
171
|
+
request,
|
|
172
|
+
target,
|
|
173
|
+
"/chalk.server.v1.LogSearchService/GetLogFacets",
|
|
174
|
+
chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetsRequest.SerializeToString,
|
|
175
|
+
chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetsResponse.FromString,
|
|
176
|
+
options,
|
|
177
|
+
channel_credentials,
|
|
178
|
+
insecure,
|
|
179
|
+
call_credentials,
|
|
180
|
+
compression,
|
|
181
|
+
wait_for_ready,
|
|
182
|
+
timeout,
|
|
183
|
+
metadata,
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
@staticmethod
|
|
187
|
+
def GetLogFacetValues(
|
|
188
|
+
request,
|
|
189
|
+
target,
|
|
190
|
+
options=(),
|
|
191
|
+
channel_credentials=None,
|
|
192
|
+
call_credentials=None,
|
|
193
|
+
insecure=False,
|
|
194
|
+
compression=None,
|
|
195
|
+
wait_for_ready=None,
|
|
196
|
+
timeout=None,
|
|
197
|
+
metadata=None,
|
|
198
|
+
):
|
|
199
|
+
return grpc.experimental.unary_unary(
|
|
200
|
+
request,
|
|
201
|
+
target,
|
|
202
|
+
"/chalk.server.v1.LogSearchService/GetLogFacetValues",
|
|
203
|
+
chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetValuesRequest.SerializeToString,
|
|
204
|
+
chalk_dot_server_dot_v1_dot_log__pb2.GetLogFacetValuesResponse.FromString,
|
|
205
|
+
options,
|
|
206
|
+
channel_credentials,
|
|
207
|
+
insecure,
|
|
208
|
+
call_credentials,
|
|
209
|
+
compression,
|
|
210
|
+
wait_for_ready,
|
|
211
|
+
timeout,
|
|
212
|
+
metadata,
|
|
213
|
+
)
|
|
@@ -8,6 +8,10 @@ from abc import (
|
|
|
8
8
|
abstractmethod,
|
|
9
9
|
)
|
|
10
10
|
from chalk._gen.chalk.server.v1.log_pb2 import (
|
|
11
|
+
GetLogFacetValuesRequest,
|
|
12
|
+
GetLogFacetValuesResponse,
|
|
13
|
+
GetLogFacetsRequest,
|
|
14
|
+
GetLogFacetsResponse,
|
|
11
15
|
SearchLogEntriesAggregatedRequest,
|
|
12
16
|
SearchLogEntriesAggregatedResponse,
|
|
13
17
|
SearchLogEntriesRequest,
|
|
@@ -30,6 +34,14 @@ class LogSearchServiceStub:
|
|
|
30
34
|
SearchLogEntriesAggregatedRequest,
|
|
31
35
|
SearchLogEntriesAggregatedResponse,
|
|
32
36
|
]
|
|
37
|
+
GetLogFacets: UnaryUnaryMultiCallable[
|
|
38
|
+
GetLogFacetsRequest,
|
|
39
|
+
GetLogFacetsResponse,
|
|
40
|
+
]
|
|
41
|
+
GetLogFacetValues: UnaryUnaryMultiCallable[
|
|
42
|
+
GetLogFacetValuesRequest,
|
|
43
|
+
GetLogFacetValuesResponse,
|
|
44
|
+
]
|
|
33
45
|
|
|
34
46
|
class LogSearchServiceServicer(metaclass=ABCMeta):
|
|
35
47
|
@abstractmethod
|
|
@@ -44,5 +56,17 @@ class LogSearchServiceServicer(metaclass=ABCMeta):
|
|
|
44
56
|
request: SearchLogEntriesAggregatedRequest,
|
|
45
57
|
context: ServicerContext,
|
|
46
58
|
) -> SearchLogEntriesAggregatedResponse: ...
|
|
59
|
+
@abstractmethod
|
|
60
|
+
def GetLogFacets(
|
|
61
|
+
self,
|
|
62
|
+
request: GetLogFacetsRequest,
|
|
63
|
+
context: ServicerContext,
|
|
64
|
+
) -> GetLogFacetsResponse: ...
|
|
65
|
+
@abstractmethod
|
|
66
|
+
def GetLogFacetValues(
|
|
67
|
+
self,
|
|
68
|
+
request: GetLogFacetValuesRequest,
|
|
69
|
+
context: ServicerContext,
|
|
70
|
+
) -> GetLogFacetValuesResponse: ...
|
|
47
71
|
|
|
48
72
|
def add_LogSearchServiceServicer_to_server(servicer: LogSearchServiceServicer, server: Server) -> None: ...
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/server/v1/plandebug.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 google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__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\x1f\x63halk/server/v1/plandebug.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"^\n\x18GetQueryPlanStageRequest\x12\x1f\n\x0boperator_id\x18\x01 \x01(\tR\noperatorId\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId"\xd8\x02\n\x19GetQueryPlanStageResponse\x12\x1f\n\x0boperator_id\x18\x01 \x01(\tR\noperatorId\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId\x12?\n\x0c\x64\x61ta_preview\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x00R\x0b\x64\x61taPreview\x88\x01\x01\x12?\n\x0c\x64\x61ta_summary\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructH\x01R\x0b\x64\x61taSummary\x88\x01\x01\x12\x41\n\rgroup_preview\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructH\x02R\x0cgroupPreview\x88\x01\x01\x42\x0f\n\r_data_previewB\x0f\n\r_data_summaryB\x10\n\x0e_group_preview"l\n&GetQueryPlanStageResolverInputsRequest\x12\x1f\n\x0boperator_id\x18\x01 \x01(\tR\noperatorId\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId"\xf8\x01\n\'GetQueryPlanStageResolverInputsResponse\x12:\n\tresolvers\x18\x01 \x01(\x0b\x32\x17.google.protobuf.StructH\x00R\tresolvers\x88\x01\x01\x12\x36\n\x07scalars\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x01R\x07scalars\x88\x01\x01\x12\x34\n\x06tables\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x02R\x06tables\x88\x01\x01\x42\x0c\n\n_resolversB\n\n\x08_scalarsB\t\n\x07_tables"j\n$GetQueryPlanStageDownloadLinkRequest\x12\x1f\n\x0boperator_id\x18\x01 \x01(\tR\noperatorId\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId"\x9b\x02\n%GetQueryPlanStageDownloadLinkResponse\x12"\n\nsigned_url\x18\x01 \x01(\tH\x00R\tsignedUrl\x88\x01\x01\x12;\n\ngroup_urls\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x01R\tgroupUrls\x88\x01\x01\x12\x19\n\x05\x65rror\x18\x03 \x01(\tH\x02R\x05\x65rror\x88\x01\x01\x12?\n\nexpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03R\nexpiration\x88\x01\x01\x42\r\n\x0b_signed_urlB\r\n\x0b_group_urlsB\x08\n\x06_errorB\r\n\x0b_expiration2\xb5\x03\n\x10PlanDebugService\x12o\n\x11GetQueryPlanStage\x12).chalk.server.v1.GetQueryPlanStageRequest\x1a*.chalk.server.v1.GetQueryPlanStageResponse"\x03\x80}\x04\x12\x99\x01\n\x1fGetQueryPlanStageResolverInputs\x12\x37.chalk.server.v1.GetQueryPlanStageResolverInputsRequest\x1a\x38.chalk.server.v1.GetQueryPlanStageResolverInputsResponse"\x03\x80}\x04\x12\x93\x01\n\x1dGetQueryPlanStageDownloadLink\x12\x35.chalk.server.v1.GetQueryPlanStageDownloadLinkRequest\x1a\x36.chalk.server.v1.GetQueryPlanStageDownloadLinkResponse"\x03\x80}\x04\x42\x97\x01\n\x13\x63om.chalk.server.v1B\x0ePlandebugProtoP\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.plandebug_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\016PlandebugProtoP\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["_PLANDEBUGSERVICE"].methods_by_name["GetQueryPlanStage"]._options = None
|
|
34
|
+
_globals["_PLANDEBUGSERVICE"].methods_by_name["GetQueryPlanStage"]._serialized_options = b"\200}\004"
|
|
35
|
+
_globals["_PLANDEBUGSERVICE"].methods_by_name["GetQueryPlanStageResolverInputs"]._options = None
|
|
36
|
+
_globals["_PLANDEBUGSERVICE"].methods_by_name["GetQueryPlanStageResolverInputs"]._serialized_options = b"\200}\004"
|
|
37
|
+
_globals["_PLANDEBUGSERVICE"].methods_by_name["GetQueryPlanStageDownloadLink"]._options = None
|
|
38
|
+
_globals["_PLANDEBUGSERVICE"].methods_by_name["GetQueryPlanStageDownloadLink"]._serialized_options = b"\200}\004"
|
|
39
|
+
_globals["_GETQUERYPLANSTAGEREQUEST"]._serialized_start = 148
|
|
40
|
+
_globals["_GETQUERYPLANSTAGEREQUEST"]._serialized_end = 242
|
|
41
|
+
_globals["_GETQUERYPLANSTAGERESPONSE"]._serialized_start = 245
|
|
42
|
+
_globals["_GETQUERYPLANSTAGERESPONSE"]._serialized_end = 589
|
|
43
|
+
_globals["_GETQUERYPLANSTAGERESOLVERINPUTSREQUEST"]._serialized_start = 591
|
|
44
|
+
_globals["_GETQUERYPLANSTAGERESOLVERINPUTSREQUEST"]._serialized_end = 699
|
|
45
|
+
_globals["_GETQUERYPLANSTAGERESOLVERINPUTSRESPONSE"]._serialized_start = 702
|
|
46
|
+
_globals["_GETQUERYPLANSTAGERESOLVERINPUTSRESPONSE"]._serialized_end = 950
|
|
47
|
+
_globals["_GETQUERYPLANSTAGEDOWNLOADLINKREQUEST"]._serialized_start = 952
|
|
48
|
+
_globals["_GETQUERYPLANSTAGEDOWNLOADLINKREQUEST"]._serialized_end = 1058
|
|
49
|
+
_globals["_GETQUERYPLANSTAGEDOWNLOADLINKRESPONSE"]._serialized_start = 1061
|
|
50
|
+
_globals["_GETQUERYPLANSTAGEDOWNLOADLINKRESPONSE"]._serialized_end = 1344
|
|
51
|
+
_globals["_PLANDEBUGSERVICE"]._serialized_start = 1347
|
|
52
|
+
_globals["_PLANDEBUGSERVICE"]._serialized_end = 1784
|
|
53
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
|
|
2
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class GetQueryPlanStageRequest(_message.Message):
|
|
11
|
+
__slots__ = ("operator_id", "operation_id")
|
|
12
|
+
OPERATOR_ID_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
operator_id: str
|
|
15
|
+
operation_id: str
|
|
16
|
+
def __init__(self, operator_id: _Optional[str] = ..., operation_id: _Optional[str] = ...) -> None: ...
|
|
17
|
+
|
|
18
|
+
class GetQueryPlanStageResponse(_message.Message):
|
|
19
|
+
__slots__ = ("operator_id", "operation_id", "data_preview", "data_summary", "group_preview")
|
|
20
|
+
OPERATOR_ID_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
DATA_PREVIEW_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
DATA_SUMMARY_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
GROUP_PREVIEW_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
operator_id: str
|
|
26
|
+
operation_id: str
|
|
27
|
+
data_preview: _struct_pb2.Struct
|
|
28
|
+
data_summary: _struct_pb2.Struct
|
|
29
|
+
group_preview: _struct_pb2.Struct
|
|
30
|
+
def __init__(
|
|
31
|
+
self,
|
|
32
|
+
operator_id: _Optional[str] = ...,
|
|
33
|
+
operation_id: _Optional[str] = ...,
|
|
34
|
+
data_preview: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,
|
|
35
|
+
data_summary: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,
|
|
36
|
+
group_preview: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,
|
|
37
|
+
) -> None: ...
|
|
38
|
+
|
|
39
|
+
class GetQueryPlanStageResolverInputsRequest(_message.Message):
|
|
40
|
+
__slots__ = ("operator_id", "operation_id")
|
|
41
|
+
OPERATOR_ID_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
operator_id: str
|
|
44
|
+
operation_id: str
|
|
45
|
+
def __init__(self, operator_id: _Optional[str] = ..., operation_id: _Optional[str] = ...) -> None: ...
|
|
46
|
+
|
|
47
|
+
class GetQueryPlanStageResolverInputsResponse(_message.Message):
|
|
48
|
+
__slots__ = ("resolvers", "scalars", "tables")
|
|
49
|
+
RESOLVERS_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
SCALARS_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
TABLES_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
resolvers: _struct_pb2.Struct
|
|
53
|
+
scalars: _struct_pb2.Struct
|
|
54
|
+
tables: _struct_pb2.Struct
|
|
55
|
+
def __init__(
|
|
56
|
+
self,
|
|
57
|
+
resolvers: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,
|
|
58
|
+
scalars: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,
|
|
59
|
+
tables: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,
|
|
60
|
+
) -> None: ...
|
|
61
|
+
|
|
62
|
+
class GetQueryPlanStageDownloadLinkRequest(_message.Message):
|
|
63
|
+
__slots__ = ("operator_id", "operation_id")
|
|
64
|
+
OPERATOR_ID_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
operator_id: str
|
|
67
|
+
operation_id: str
|
|
68
|
+
def __init__(self, operator_id: _Optional[str] = ..., operation_id: _Optional[str] = ...) -> None: ...
|
|
69
|
+
|
|
70
|
+
class GetQueryPlanStageDownloadLinkResponse(_message.Message):
|
|
71
|
+
__slots__ = ("signed_url", "group_urls", "error", "expiration")
|
|
72
|
+
SIGNED_URL_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
GROUP_URLS_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
ERROR_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
EXPIRATION_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
signed_url: str
|
|
77
|
+
group_urls: _struct_pb2.Struct
|
|
78
|
+
error: str
|
|
79
|
+
expiration: _timestamp_pb2.Timestamp
|
|
80
|
+
def __init__(
|
|
81
|
+
self,
|
|
82
|
+
signed_url: _Optional[str] = ...,
|
|
83
|
+
group_urls: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,
|
|
84
|
+
error: _Optional[str] = ...,
|
|
85
|
+
expiration: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
86
|
+
) -> None: ...
|
|
@@ -0,0 +1,168 @@
|
|
|
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 plandebug_pb2 as chalk_dot_server_dot_v1_dot_plandebug__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class PlanDebugServiceStub(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.GetQueryPlanStage = channel.unary_unary(
|
|
19
|
+
"/chalk.server.v1.PlanDebugService/GetQueryPlanStage",
|
|
20
|
+
request_serializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageRequest.SerializeToString,
|
|
21
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.GetQueryPlanStageResolverInputs = channel.unary_unary(
|
|
24
|
+
"/chalk.server.v1.PlanDebugService/GetQueryPlanStageResolverInputs",
|
|
25
|
+
request_serializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageResolverInputsRequest.SerializeToString,
|
|
26
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageResolverInputsResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.GetQueryPlanStageDownloadLink = channel.unary_unary(
|
|
29
|
+
"/chalk.server.v1.PlanDebugService/GetQueryPlanStageDownloadLink",
|
|
30
|
+
request_serializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageDownloadLinkRequest.SerializeToString,
|
|
31
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageDownloadLinkResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class PlanDebugServiceServicer(object):
|
|
36
|
+
"""Missing associated documentation comment in .proto file."""
|
|
37
|
+
|
|
38
|
+
def GetQueryPlanStage(self, request, context):
|
|
39
|
+
"""Missing associated documentation comment in .proto file."""
|
|
40
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
41
|
+
context.set_details("Method not implemented!")
|
|
42
|
+
raise NotImplementedError("Method not implemented!")
|
|
43
|
+
|
|
44
|
+
def GetQueryPlanStageResolverInputs(self, request, context):
|
|
45
|
+
"""Missing associated documentation comment in .proto file."""
|
|
46
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
47
|
+
context.set_details("Method not implemented!")
|
|
48
|
+
raise NotImplementedError("Method not implemented!")
|
|
49
|
+
|
|
50
|
+
def GetQueryPlanStageDownloadLink(self, request, context):
|
|
51
|
+
"""Missing associated documentation comment in .proto file."""
|
|
52
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
|
+
context.set_details("Method not implemented!")
|
|
54
|
+
raise NotImplementedError("Method not implemented!")
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def add_PlanDebugServiceServicer_to_server(servicer, server):
|
|
58
|
+
rpc_method_handlers = {
|
|
59
|
+
"GetQueryPlanStage": grpc.unary_unary_rpc_method_handler(
|
|
60
|
+
servicer.GetQueryPlanStage,
|
|
61
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageRequest.FromString,
|
|
62
|
+
response_serializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageResponse.SerializeToString,
|
|
63
|
+
),
|
|
64
|
+
"GetQueryPlanStageResolverInputs": grpc.unary_unary_rpc_method_handler(
|
|
65
|
+
servicer.GetQueryPlanStageResolverInputs,
|
|
66
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageResolverInputsRequest.FromString,
|
|
67
|
+
response_serializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageResolverInputsResponse.SerializeToString,
|
|
68
|
+
),
|
|
69
|
+
"GetQueryPlanStageDownloadLink": grpc.unary_unary_rpc_method_handler(
|
|
70
|
+
servicer.GetQueryPlanStageDownloadLink,
|
|
71
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageDownloadLinkRequest.FromString,
|
|
72
|
+
response_serializer=chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageDownloadLinkResponse.SerializeToString,
|
|
73
|
+
),
|
|
74
|
+
}
|
|
75
|
+
generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.PlanDebugService", rpc_method_handlers)
|
|
76
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
# This class is part of an EXPERIMENTAL API.
|
|
80
|
+
class PlanDebugService(object):
|
|
81
|
+
"""Missing associated documentation comment in .proto file."""
|
|
82
|
+
|
|
83
|
+
@staticmethod
|
|
84
|
+
def GetQueryPlanStage(
|
|
85
|
+
request,
|
|
86
|
+
target,
|
|
87
|
+
options=(),
|
|
88
|
+
channel_credentials=None,
|
|
89
|
+
call_credentials=None,
|
|
90
|
+
insecure=False,
|
|
91
|
+
compression=None,
|
|
92
|
+
wait_for_ready=None,
|
|
93
|
+
timeout=None,
|
|
94
|
+
metadata=None,
|
|
95
|
+
):
|
|
96
|
+
return grpc.experimental.unary_unary(
|
|
97
|
+
request,
|
|
98
|
+
target,
|
|
99
|
+
"/chalk.server.v1.PlanDebugService/GetQueryPlanStage",
|
|
100
|
+
chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageRequest.SerializeToString,
|
|
101
|
+
chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageResponse.FromString,
|
|
102
|
+
options,
|
|
103
|
+
channel_credentials,
|
|
104
|
+
insecure,
|
|
105
|
+
call_credentials,
|
|
106
|
+
compression,
|
|
107
|
+
wait_for_ready,
|
|
108
|
+
timeout,
|
|
109
|
+
metadata,
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
@staticmethod
|
|
113
|
+
def GetQueryPlanStageResolverInputs(
|
|
114
|
+
request,
|
|
115
|
+
target,
|
|
116
|
+
options=(),
|
|
117
|
+
channel_credentials=None,
|
|
118
|
+
call_credentials=None,
|
|
119
|
+
insecure=False,
|
|
120
|
+
compression=None,
|
|
121
|
+
wait_for_ready=None,
|
|
122
|
+
timeout=None,
|
|
123
|
+
metadata=None,
|
|
124
|
+
):
|
|
125
|
+
return grpc.experimental.unary_unary(
|
|
126
|
+
request,
|
|
127
|
+
target,
|
|
128
|
+
"/chalk.server.v1.PlanDebugService/GetQueryPlanStageResolverInputs",
|
|
129
|
+
chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageResolverInputsRequest.SerializeToString,
|
|
130
|
+
chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageResolverInputsResponse.FromString,
|
|
131
|
+
options,
|
|
132
|
+
channel_credentials,
|
|
133
|
+
insecure,
|
|
134
|
+
call_credentials,
|
|
135
|
+
compression,
|
|
136
|
+
wait_for_ready,
|
|
137
|
+
timeout,
|
|
138
|
+
metadata,
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
@staticmethod
|
|
142
|
+
def GetQueryPlanStageDownloadLink(
|
|
143
|
+
request,
|
|
144
|
+
target,
|
|
145
|
+
options=(),
|
|
146
|
+
channel_credentials=None,
|
|
147
|
+
call_credentials=None,
|
|
148
|
+
insecure=False,
|
|
149
|
+
compression=None,
|
|
150
|
+
wait_for_ready=None,
|
|
151
|
+
timeout=None,
|
|
152
|
+
metadata=None,
|
|
153
|
+
):
|
|
154
|
+
return grpc.experimental.unary_unary(
|
|
155
|
+
request,
|
|
156
|
+
target,
|
|
157
|
+
"/chalk.server.v1.PlanDebugService/GetQueryPlanStageDownloadLink",
|
|
158
|
+
chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageDownloadLinkRequest.SerializeToString,
|
|
159
|
+
chalk_dot_server_dot_v1_dot_plandebug__pb2.GetQueryPlanStageDownloadLinkResponse.FromString,
|
|
160
|
+
options,
|
|
161
|
+
channel_credentials,
|
|
162
|
+
insecure,
|
|
163
|
+
call_credentials,
|
|
164
|
+
compression,
|
|
165
|
+
wait_for_ready,
|
|
166
|
+
timeout,
|
|
167
|
+
metadata,
|
|
168
|
+
)
|
|
@@ -0,0 +1,60 @@
|
|
|
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.plandebug_pb2 import (
|
|
11
|
+
GetQueryPlanStageDownloadLinkRequest,
|
|
12
|
+
GetQueryPlanStageDownloadLinkResponse,
|
|
13
|
+
GetQueryPlanStageRequest,
|
|
14
|
+
GetQueryPlanStageResolverInputsRequest,
|
|
15
|
+
GetQueryPlanStageResolverInputsResponse,
|
|
16
|
+
GetQueryPlanStageResponse,
|
|
17
|
+
)
|
|
18
|
+
from grpc import (
|
|
19
|
+
Channel,
|
|
20
|
+
Server,
|
|
21
|
+
ServicerContext,
|
|
22
|
+
UnaryUnaryMultiCallable,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
class PlanDebugServiceStub:
|
|
26
|
+
def __init__(self, channel: Channel) -> None: ...
|
|
27
|
+
GetQueryPlanStage: UnaryUnaryMultiCallable[
|
|
28
|
+
GetQueryPlanStageRequest,
|
|
29
|
+
GetQueryPlanStageResponse,
|
|
30
|
+
]
|
|
31
|
+
GetQueryPlanStageResolverInputs: UnaryUnaryMultiCallable[
|
|
32
|
+
GetQueryPlanStageResolverInputsRequest,
|
|
33
|
+
GetQueryPlanStageResolverInputsResponse,
|
|
34
|
+
]
|
|
35
|
+
GetQueryPlanStageDownloadLink: UnaryUnaryMultiCallable[
|
|
36
|
+
GetQueryPlanStageDownloadLinkRequest,
|
|
37
|
+
GetQueryPlanStageDownloadLinkResponse,
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
class PlanDebugServiceServicer(metaclass=ABCMeta):
|
|
41
|
+
@abstractmethod
|
|
42
|
+
def GetQueryPlanStage(
|
|
43
|
+
self,
|
|
44
|
+
request: GetQueryPlanStageRequest,
|
|
45
|
+
context: ServicerContext,
|
|
46
|
+
) -> GetQueryPlanStageResponse: ...
|
|
47
|
+
@abstractmethod
|
|
48
|
+
def GetQueryPlanStageResolverInputs(
|
|
49
|
+
self,
|
|
50
|
+
request: GetQueryPlanStageResolverInputsRequest,
|
|
51
|
+
context: ServicerContext,
|
|
52
|
+
) -> GetQueryPlanStageResolverInputsResponse: ...
|
|
53
|
+
@abstractmethod
|
|
54
|
+
def GetQueryPlanStageDownloadLink(
|
|
55
|
+
self,
|
|
56
|
+
request: GetQueryPlanStageDownloadLinkRequest,
|
|
57
|
+
context: ServicerContext,
|
|
58
|
+
) -> GetQueryPlanStageDownloadLinkResponse: ...
|
|
59
|
+
|
|
60
|
+
def add_PlanDebugServiceServicer_to_server(servicer: PlanDebugServiceServicer, server: Server) -> None: ...
|
|
@@ -19,7 +19,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
22
|
-
b'\n)chalk/server/v1/scheduled_query_run.proto\x12\x0f\x63halk.server.v1\x1a%chalk/server/v1/offline_queries.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa4\x06\n\x11ScheduledQueryRun\x12\x0e\n\x02id\x18\x01 \x01(\x03R\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12(\n\rdeployment_id\x18\x03 \x01(\tH\x00R\x0c\x64\x65ploymentId\x88\x01\x01\x12\x1a\n\x06run_id\x18\x04 \x01(\tH\x01R\x05runId\x88\x01\x01\x12"\n\rcron_query_id\x18\x05 \x01(\x03R\x0b\x63ronQueryId\x12\x33\n\x16\x63ron_query_schedule_id\x18\x06 \x01(\x03R\x13\x63ronQueryScheduleId\x12\x1b\n\tcron_name\x18\x07 \x01(\tR\x08\x63ronName\x12-\n\x10gcr_execution_id\x18\x08 \x01(\tH\x02R\x0egcrExecutionId\x88\x01\x01\x12%\n\x0cgcr_job_name\x18\t \x01(\tH\x03R\ngcrJobName\x88\x01\x01\x12(\n\x10offline_query_id\x18\n \x01(\tR\x0eofflineQueryId\x12\x39\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n\x06status\x18\r \x01(\x0e\x32(.chalk.server.v1.ScheduledQueryRunStatusR\x06status\x12\x35\n\x14\x62locker_operation_id\x18\x0e \x01(\tH\x04R\x12\x62lockerOperationId\x88\x01\x01\x12\x37\n\x15workflow_execution_id\x18\x0f \x01(\tH\x05R\x13workflowExecutionId\x88\x01\x01\x42\x10\n\x0e_deployment_idB\t\n\x07_run_idB\x13\n\x11_gcr_execution_idB\x0f\n\r_gcr_job_nameB\x17\n\x15_blocker_operation_idB\x18\n\x16_workflow_execution_id"\
|
|
22
|
+
b'\n)chalk/server/v1/scheduled_query_run.proto\x12\x0f\x63halk.server.v1\x1a%chalk/server/v1/offline_queries.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa4\x06\n\x11ScheduledQueryRun\x12\x0e\n\x02id\x18\x01 \x01(\x03R\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12(\n\rdeployment_id\x18\x03 \x01(\tH\x00R\x0c\x64\x65ploymentId\x88\x01\x01\x12\x1a\n\x06run_id\x18\x04 \x01(\tH\x01R\x05runId\x88\x01\x01\x12"\n\rcron_query_id\x18\x05 \x01(\x03R\x0b\x63ronQueryId\x12\x33\n\x16\x63ron_query_schedule_id\x18\x06 \x01(\x03R\x13\x63ronQueryScheduleId\x12\x1b\n\tcron_name\x18\x07 \x01(\tR\x08\x63ronName\x12-\n\x10gcr_execution_id\x18\x08 \x01(\tH\x02R\x0egcrExecutionId\x88\x01\x01\x12%\n\x0cgcr_job_name\x18\t \x01(\tH\x03R\ngcrJobName\x88\x01\x01\x12(\n\x10offline_query_id\x18\n \x01(\tR\x0eofflineQueryId\x12\x39\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n\x06status\x18\r \x01(\x0e\x32(.chalk.server.v1.ScheduledQueryRunStatusR\x06status\x12\x35\n\x14\x62locker_operation_id\x18\x0e \x01(\tH\x04R\x12\x62lockerOperationId\x88\x01\x01\x12\x37\n\x15workflow_execution_id\x18\x0f \x01(\tH\x05R\x13workflowExecutionId\x88\x01\x01\x42\x10\n\x0e_deployment_idB\t\n\x07_run_idB\x13\n\x11_gcr_execution_idB\x0f\n\r_gcr_job_nameB\x17\n\x15_blocker_operation_idB\x18\n\x16_workflow_execution_id"\xdd\x01\n\x1bGetScheduledQueryRunRequest\x12\x17\n\x06run_id\x18\x01 \x01(\x03H\x00R\x05runId\x12*\n\x10offline_query_id\x18\x02 \x01(\tH\x00R\x0eofflineQueryId\x12\x34\n\x15workflow_execution_id\x18\x04 \x01(\tH\x00R\x13workflowExecutionId\x12\x35\n\x08get_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskR\x07getMaskB\x0c\n\nidentifier"\xd1\x01\n\x1cGetScheduledQueryRunResponse\x12R\n\x13scheduled_query_run\x18\x01 \x01(\x0b\x32".chalk.server.v1.ScheduledQueryRunR\x11scheduledQueryRun\x12K\n\roffline_query\x18\x02 \x01(\x0b\x32!.chalk.server.v1.OfflineQueryMetaH\x00R\x0cofflineQuery\x88\x01\x01\x42\x10\n\x0e_offline_query"\x9d\x01\n\x1cGetScheduledQueryRunsRequest\x12"\n\rcron_query_id\x18\x01 \x01(\x05R\x0b\x63ronQueryId\x12\x1d\n\tcron_name\x18\x04 \x01(\tH\x00R\x08\x63ronName\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor\x12\x14\n\x05limit\x18\x03 \x01(\x05R\x05limitB\x0c\n\nidentifier"o\n\x1dGetScheduledQueryRunsResponse\x12\x36\n\x04runs\x18\x01 \x03(\x0b\x32".chalk.server.v1.ScheduledQueryRunR\x04runs\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor*\x8f\x03\n\x17ScheduledQueryRunStatus\x12*\n&SCHEDULED_QUERY_RUN_STATUS_UNSPECIFIED\x10\x00\x12+\n\'SCHEDULED_QUERY_RUN_STATUS_INITIALIZING\x10\x01\x12*\n&SCHEDULED_QUERY_RUN_STATUS_INIT_FAILED\x10\x02\x12&\n"SCHEDULED_QUERY_RUN_STATUS_SKIPPED\x10\x03\x12%\n!SCHEDULED_QUERY_RUN_STATUS_QUEUED\x10\x04\x12&\n"SCHEDULED_QUERY_RUN_STATUS_WORKING\x10\x05\x12(\n$SCHEDULED_QUERY_RUN_STATUS_COMPLETED\x10\x06\x12%\n!SCHEDULED_QUERY_RUN_STATUS_FAILED\x10\x07\x12\'\n#SCHEDULED_QUERY_RUN_STATUS_CANCELED\x10\x08\x42\x9f\x01\n\x13\x63om.chalk.server.v1B\x16ScheduledQueryRunProtoP\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
23
|
)
|
|
24
24
|
|
|
25
25
|
_globals = globals()
|
|
@@ -30,16 +30,16 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
30
30
|
_globals[
|
|
31
31
|
"DESCRIPTOR"
|
|
32
32
|
]._serialized_options = b"\n\023com.chalk.server.v1B\026ScheduledQueryRunProtoP\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["_SCHEDULEDQUERYRUNSTATUS"]._serialized_start =
|
|
34
|
-
_globals["_SCHEDULEDQUERYRUNSTATUS"]._serialized_end =
|
|
33
|
+
_globals["_SCHEDULEDQUERYRUNSTATUS"]._serialized_start = 1685
|
|
34
|
+
_globals["_SCHEDULEDQUERYRUNSTATUS"]._serialized_end = 2084
|
|
35
35
|
_globals["_SCHEDULEDQUERYRUN"]._serialized_start = 169
|
|
36
36
|
_globals["_SCHEDULEDQUERYRUN"]._serialized_end = 973
|
|
37
37
|
_globals["_GETSCHEDULEDQUERYRUNREQUEST"]._serialized_start = 976
|
|
38
|
-
_globals["_GETSCHEDULEDQUERYRUNREQUEST"]._serialized_end =
|
|
39
|
-
_globals["_GETSCHEDULEDQUERYRUNRESPONSE"]._serialized_start =
|
|
40
|
-
_globals["_GETSCHEDULEDQUERYRUNRESPONSE"]._serialized_end =
|
|
41
|
-
_globals["_GETSCHEDULEDQUERYRUNSREQUEST"]._serialized_start =
|
|
42
|
-
_globals["_GETSCHEDULEDQUERYRUNSREQUEST"]._serialized_end =
|
|
43
|
-
_globals["_GETSCHEDULEDQUERYRUNSRESPONSE"]._serialized_start =
|
|
44
|
-
_globals["_GETSCHEDULEDQUERYRUNSRESPONSE"]._serialized_end =
|
|
38
|
+
_globals["_GETSCHEDULEDQUERYRUNREQUEST"]._serialized_end = 1197
|
|
39
|
+
_globals["_GETSCHEDULEDQUERYRUNRESPONSE"]._serialized_start = 1200
|
|
40
|
+
_globals["_GETSCHEDULEDQUERYRUNRESPONSE"]._serialized_end = 1409
|
|
41
|
+
_globals["_GETSCHEDULEDQUERYRUNSREQUEST"]._serialized_start = 1412
|
|
42
|
+
_globals["_GETSCHEDULEDQUERYRUNSREQUEST"]._serialized_end = 1569
|
|
43
|
+
_globals["_GETSCHEDULEDQUERYRUNSRESPONSE"]._serialized_start = 1571
|
|
44
|
+
_globals["_GETSCHEDULEDQUERYRUNSRESPONSE"]._serialized_end = 1682
|
|
45
45
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -105,17 +105,20 @@ class ScheduledQueryRun(_message.Message):
|
|
|
105
105
|
) -> None: ...
|
|
106
106
|
|
|
107
107
|
class GetScheduledQueryRunRequest(_message.Message):
|
|
108
|
-
__slots__ = ("run_id", "offline_query_id", "get_mask")
|
|
108
|
+
__slots__ = ("run_id", "offline_query_id", "workflow_execution_id", "get_mask")
|
|
109
109
|
RUN_ID_FIELD_NUMBER: _ClassVar[int]
|
|
110
110
|
OFFLINE_QUERY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
111
|
+
WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
111
112
|
GET_MASK_FIELD_NUMBER: _ClassVar[int]
|
|
112
113
|
run_id: int
|
|
113
114
|
offline_query_id: str
|
|
115
|
+
workflow_execution_id: str
|
|
114
116
|
get_mask: _field_mask_pb2.FieldMask
|
|
115
117
|
def __init__(
|
|
116
118
|
self,
|
|
117
119
|
run_id: _Optional[int] = ...,
|
|
118
120
|
offline_query_id: _Optional[str] = ...,
|
|
121
|
+
workflow_execution_id: _Optional[str] = ...,
|
|
119
122
|
get_mask: _Optional[_Union[_field_mask_pb2.FieldMask, _Mapping]] = ...,
|
|
120
123
|
) -> None: ...
|
|
121
124
|
|