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.
- chalk/__init__.py +2 -1
- chalk/_gen/chalk/arrow/v1/arrow_pb2.py +7 -5
- chalk/_gen/chalk/arrow/v1/arrow_pb2.pyi +6 -0
- chalk/_gen/chalk/artifacts/v1/chart_pb2.py +16 -16
- chalk/_gen/chalk/artifacts/v1/chart_pb2.pyi +4 -0
- chalk/_gen/chalk/artifacts/v1/cron_query_pb2.py +8 -7
- chalk/_gen/chalk/artifacts/v1/cron_query_pb2.pyi +5 -0
- chalk/_gen/chalk/common/v1/offline_query_pb2.py +17 -15
- chalk/_gen/chalk/common/v1/offline_query_pb2.pyi +25 -0
- chalk/_gen/chalk/common/v1/script_task_pb2.py +3 -3
- chalk/_gen/chalk/common/v1/script_task_pb2.pyi +2 -0
- chalk/_gen/chalk/dataframe/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.py +48 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.pyi +123 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.py +4 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/graph/v1/graph_pb2.py +150 -149
- chalk/_gen/chalk/graph/v1/graph_pb2.pyi +25 -0
- chalk/_gen/chalk/graph/v1/sources_pb2.py +94 -84
- chalk/_gen/chalk/graph/v1/sources_pb2.pyi +56 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.py +79 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.pyi +377 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.py +4 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.py +43 -7
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.pyi +252 -2
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +54 -27
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +131 -3
- chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.py +45 -0
- chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.pyi +14 -0
- chalk/_gen/chalk/python/v1/types_pb2.py +14 -14
- chalk/_gen/chalk/python/v1/types_pb2.pyi +8 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +76 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +156 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +258 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +84 -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/branches_pb2.py +45 -0
- chalk/_gen/chalk/server/v1/branches_pb2.pyi +80 -0
- chalk/_gen/chalk/server/v1/branches_pb2_grpc.pyi +36 -0
- chalk/_gen/chalk/server/v1/builder_pb2.py +358 -288
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +360 -10
- 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/clickhouse_pb2.py +42 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2.pyi +17 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/cloud_components_pb2.py +141 -119
- chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +106 -4
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2.py +11 -3
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2.pyi +20 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.py +52 -38
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +62 -1
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +90 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +264 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.py +170 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.pyi +62 -0
- chalk/_gen/chalk/server/v1/deploy_pb2.py +9 -3
- chalk/_gen/chalk/server/v1/deploy_pb2.pyi +12 -0
- chalk/_gen/chalk/server/v1/deploy_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/deploy_pb2_grpc.pyi +12 -0
- 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/environment_pb2.py +14 -12
- chalk/_gen/chalk/server/v1/environment_pb2.pyi +19 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2.py +4 -2
- chalk/_gen/chalk/server/v1/files_pb2.py +65 -0
- chalk/_gen/chalk/server/v1/files_pb2.pyi +167 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.pyi +4 -0
- 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/incident_pb2.py +23 -21
- chalk/_gen/chalk/server/v1/incident_pb2.pyi +15 -1
- chalk/_gen/chalk/server/v1/indexing_job_pb2.py +44 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2.pyi +38 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/integrations_pb2.py +11 -9
- chalk/_gen/chalk/server/v1/integrations_pb2.pyi +34 -2
- chalk/_gen/chalk/server/v1/kube_pb2.py +29 -19
- chalk/_gen/chalk/server/v1/kube_pb2.pyi +28 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.pyi +12 -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/model_registry_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/model_registry_pb2.pyi +4 -1
- 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/queries_pb2.py +66 -66
- chalk/_gen/chalk/server/v1/queries_pb2.pyi +32 -2
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +12 -12
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +16 -3
- chalk/_gen/chalk/server/v1/scheduler_pb2.py +24 -12
- chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +61 -1
- 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_interface_pb2.py +75 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.pyi +142 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.py +349 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.pyi +114 -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 +154 -141
- chalk/_gen/chalk/server/v1/team_pb2.pyi +30 -2
- chalk/_gen/chalk/server/v1/team_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/team_pb2_grpc.pyi +12 -0
- 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 +44 -40
- chalk/_gen/chalk/server/v1/trace_pb2.pyi +20 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.py +62 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.pyi +75 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.py +221 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.pyi +88 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.py +16 -10
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.pyi +52 -1
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.py +48 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.pyi +20 -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/_lsp/error_builder.py +11 -0
- chalk/_version.py +1 -1
- chalk/client/client.py +128 -43
- chalk/client/client_async.py +149 -0
- chalk/client/client_async_impl.py +22 -0
- chalk/client/client_grpc.py +539 -104
- chalk/client/client_impl.py +449 -122
- chalk/client/dataset.py +7 -1
- chalk/client/models.py +98 -0
- chalk/client/serialization/model_serialization.py +92 -9
- chalk/df/LazyFramePlaceholder.py +1154 -0
- chalk/features/_class_property.py +7 -0
- chalk/features/_embedding/embedding.py +1 -0
- chalk/features/_encoding/converter.py +83 -2
- chalk/features/feature_field.py +40 -30
- chalk/features/feature_set_decorator.py +1 -0
- chalk/features/feature_wrapper.py +42 -3
- chalk/features/hooks.py +81 -10
- chalk/features/inference.py +33 -31
- chalk/features/resolver.py +224 -24
- chalk/functions/__init__.py +65 -3
- chalk/gitignore/gitignore_parser.py +5 -1
- chalk/importer.py +142 -68
- chalk/ml/__init__.py +2 -0
- chalk/ml/model_hooks.py +194 -26
- chalk/ml/model_reference.py +56 -8
- chalk/ml/model_version.py +24 -15
- chalk/ml/utils.py +20 -17
- chalk/operators/_utils.py +10 -3
- chalk/parsed/_proto/export.py +22 -0
- chalk/parsed/duplicate_input_gql.py +3 -0
- chalk/parsed/json_conversions.py +20 -14
- chalk/parsed/to_proto.py +16 -4
- chalk/parsed/user_types_to_json.py +31 -10
- chalk/parsed/validation_from_registries.py +182 -0
- chalk/queries/named_query.py +16 -6
- chalk/queries/scheduled_query.py +9 -1
- chalk/serialization/parsed_annotation.py +24 -11
- chalk/sql/__init__.py +18 -0
- chalk/sql/_internal/integrations/databricks.py +55 -17
- chalk/sql/_internal/integrations/mssql.py +127 -62
- chalk/sql/_internal/integrations/redshift.py +4 -0
- chalk/sql/_internal/sql_file_resolver.py +53 -9
- chalk/sql/_internal/sql_source.py +35 -2
- chalk/streams/_kafka_source.py +5 -1
- chalk/streams/_windows.py +15 -2
- chalk/utils/_otel_version.py +13 -0
- chalk/utils/async_helpers.py +2 -2
- chalk/utils/missing_dependency.py +5 -4
- chalk/utils/tracing.py +185 -95
- {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/METADATA +4 -6
- {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/RECORD +202 -146
- {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/WHEEL +0 -0
- {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.90.1.dist-info → chalkpy-2.95.3.dist-info}/top_level.txt +0 -0
|
@@ -25,6 +25,11 @@ class SqlServiceStub(object):
|
|
|
25
25
|
request_serializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PlanSqlQueryRequest.SerializeToString,
|
|
26
26
|
response_deserializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PlanSqlQueryResponse.FromString,
|
|
27
27
|
)
|
|
28
|
+
self.PollSqlQuery = channel.unary_unary(
|
|
29
|
+
"/chalk.protosql.v1.SqlService/PollSqlQuery",
|
|
30
|
+
request_serializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PollSqlQueryRequest.SerializeToString,
|
|
31
|
+
response_deserializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PollSqlQueryResponse.FromString,
|
|
32
|
+
)
|
|
28
33
|
self.GetDbCatalogs = channel.unary_unary(
|
|
29
34
|
"/chalk.protosql.v1.SqlService/GetDbCatalogs",
|
|
30
35
|
request_serializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.GetDbCatalogsRequest.SerializeToString,
|
|
@@ -57,6 +62,12 @@ class SqlServiceServicer(object):
|
|
|
57
62
|
context.set_details("Method not implemented!")
|
|
58
63
|
raise NotImplementedError("Method not implemented!")
|
|
59
64
|
|
|
65
|
+
def PollSqlQuery(self, request, context):
|
|
66
|
+
"""Poll for the status and results of an asynchronous SQL query"""
|
|
67
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
68
|
+
context.set_details("Method not implemented!")
|
|
69
|
+
raise NotImplementedError("Method not implemented!")
|
|
70
|
+
|
|
60
71
|
def GetDbCatalogs(self, request, context):
|
|
61
72
|
"""Missing associated documentation comment in .proto file."""
|
|
62
73
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -88,6 +99,11 @@ def add_SqlServiceServicer_to_server(servicer, server):
|
|
|
88
99
|
request_deserializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PlanSqlQueryRequest.FromString,
|
|
89
100
|
response_serializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PlanSqlQueryResponse.SerializeToString,
|
|
90
101
|
),
|
|
102
|
+
"PollSqlQuery": grpc.unary_unary_rpc_method_handler(
|
|
103
|
+
servicer.PollSqlQuery,
|
|
104
|
+
request_deserializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PollSqlQueryRequest.FromString,
|
|
105
|
+
response_serializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PollSqlQueryResponse.SerializeToString,
|
|
106
|
+
),
|
|
91
107
|
"GetDbCatalogs": grpc.unary_unary_rpc_method_handler(
|
|
92
108
|
servicer.GetDbCatalogs,
|
|
93
109
|
request_deserializer=chalk_dot_protosql_dot_v1_dot_sql__service__pb2.GetDbCatalogsRequest.FromString,
|
|
@@ -170,6 +186,35 @@ class SqlService(object):
|
|
|
170
186
|
metadata,
|
|
171
187
|
)
|
|
172
188
|
|
|
189
|
+
@staticmethod
|
|
190
|
+
def PollSqlQuery(
|
|
191
|
+
request,
|
|
192
|
+
target,
|
|
193
|
+
options=(),
|
|
194
|
+
channel_credentials=None,
|
|
195
|
+
call_credentials=None,
|
|
196
|
+
insecure=False,
|
|
197
|
+
compression=None,
|
|
198
|
+
wait_for_ready=None,
|
|
199
|
+
timeout=None,
|
|
200
|
+
metadata=None,
|
|
201
|
+
):
|
|
202
|
+
return grpc.experimental.unary_unary(
|
|
203
|
+
request,
|
|
204
|
+
target,
|
|
205
|
+
"/chalk.protosql.v1.SqlService/PollSqlQuery",
|
|
206
|
+
chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PollSqlQueryRequest.SerializeToString,
|
|
207
|
+
chalk_dot_protosql_dot_v1_dot_sql__service__pb2.PollSqlQueryResponse.FromString,
|
|
208
|
+
options,
|
|
209
|
+
channel_credentials,
|
|
210
|
+
insecure,
|
|
211
|
+
call_credentials,
|
|
212
|
+
compression,
|
|
213
|
+
wait_for_ready,
|
|
214
|
+
timeout,
|
|
215
|
+
metadata,
|
|
216
|
+
)
|
|
217
|
+
|
|
173
218
|
@staticmethod
|
|
174
219
|
def GetDbCatalogs(
|
|
175
220
|
request,
|
|
@@ -18,6 +18,8 @@ from chalk._gen.chalk.protosql.v1.sql_service_pb2 import (
|
|
|
18
18
|
GetTablesResponse,
|
|
19
19
|
PlanSqlQueryRequest,
|
|
20
20
|
PlanSqlQueryResponse,
|
|
21
|
+
PollSqlQueryRequest,
|
|
22
|
+
PollSqlQueryResponse,
|
|
21
23
|
)
|
|
22
24
|
from grpc import (
|
|
23
25
|
Channel,
|
|
@@ -36,6 +38,11 @@ class SqlServiceStub:
|
|
|
36
38
|
PlanSqlQueryRequest,
|
|
37
39
|
PlanSqlQueryResponse,
|
|
38
40
|
]
|
|
41
|
+
PollSqlQuery: UnaryUnaryMultiCallable[
|
|
42
|
+
PollSqlQueryRequest,
|
|
43
|
+
PollSqlQueryResponse,
|
|
44
|
+
]
|
|
45
|
+
"""Poll for the status and results of an asynchronous SQL query"""
|
|
39
46
|
GetDbCatalogs: UnaryUnaryMultiCallable[
|
|
40
47
|
GetDbCatalogsRequest,
|
|
41
48
|
GetDbCatalogsResponse,
|
|
@@ -63,6 +70,13 @@ class SqlServiceServicer(metaclass=ABCMeta):
|
|
|
63
70
|
context: ServicerContext,
|
|
64
71
|
) -> PlanSqlQueryResponse: ...
|
|
65
72
|
@abstractmethod
|
|
73
|
+
def PollSqlQuery(
|
|
74
|
+
self,
|
|
75
|
+
request: PollSqlQueryRequest,
|
|
76
|
+
context: ServicerContext,
|
|
77
|
+
) -> PollSqlQueryResponse:
|
|
78
|
+
"""Poll for the status and results of an asynchronous SQL query"""
|
|
79
|
+
@abstractmethod
|
|
66
80
|
def GetDbCatalogs(
|
|
67
81
|
self,
|
|
68
82
|
request: GetDbCatalogsRequest,
|
|
@@ -17,7 +17,7 @@ from chalk._gen.chalk.arrow.v1 import arrow_pb2 as chalk_dot_arrow_dot_v1_dot_ar
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
20
|
-
b'\n\x1b\x63halk/python/v1/types.proto\x12\x0f\x63halk.python.v1\x1a\x1a\x63halk/arrow/v1/arrow.proto"2\n\x05TySet\x12)\n\x05items\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05items"3\n\x06TyList\x12)\n\x05items\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05items"7\n\nTyIterable\x12)\n\x05items\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05items"8\n\x0bTyGenerator\x12)\n\x05items\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05items"(\n\nTyDatetime\x12\x13\n\x02tz\x18\x01 \x01(\tH\x00R\x02tz\x88\x01\x01\x42\x05\n\x03_tz"Z\n\x06TyDict\x12%\n\x03key\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x03key\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05value"U\n\x07TyTuple\x12)\n\x05\x66ixed\x18\x01 \x03(\x0b\x32\x13.chalk.python.v1.TyR\x05\x66ixed\x12\x1f\n\x0bis_variable\x18\x02 \x01(\x08R\nisVariable"\xa7\x01\n\x0fTyLogicalStruct\x12\x44\n\x06\x66ields\x18\x01 \x03(\x0b\x32,.chalk.python.v1.TyLogicalStruct.FieldsEntryR\x06\x66ields\x1aN\n\x0b\x46ieldsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05value:\x02\x38\x01"\xfb\x01\n\x0eTyFeatureClass\x12\x33\n\x15\x63onstructor_namespace\x18\x01 \x01(\tR\x14\x63onstructorNamespace\x12\\\n\x0f\x61ssigned_fields\x18\x02 \x03(\x0b\x32\x33.chalk.python.v1.TyFeatureClass.AssignedFieldsEntryR\x0e\x61ssignedFields\x1aV\n\x13\x41ssignedFieldsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05value:\x02\x38\x01"\x84\x01\n\x06TyEnum\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12)\n\x05\x62\x61ses\x18\x03 \x03(\x0b\x32\x13.chalk.python.v1.TyR\x05\x62\x61ses\x12#\n\x02ty\x18\x04 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x02ty"\
|
|
20
|
+
b'\n\x1b\x63halk/python/v1/types.proto\x12\x0f\x63halk.python.v1\x1a\x1a\x63halk/arrow/v1/arrow.proto"2\n\x05TySet\x12)\n\x05items\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05items"3\n\x06TyList\x12)\n\x05items\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05items"7\n\nTyIterable\x12)\n\x05items\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05items"8\n\x0bTyGenerator\x12)\n\x05items\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05items"(\n\nTyDatetime\x12\x13\n\x02tz\x18\x01 \x01(\tH\x00R\x02tz\x88\x01\x01\x42\x05\n\x03_tz"Z\n\x06TyDict\x12%\n\x03key\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x03key\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05value"U\n\x07TyTuple\x12)\n\x05\x66ixed\x18\x01 \x03(\x0b\x32\x13.chalk.python.v1.TyR\x05\x66ixed\x12\x1f\n\x0bis_variable\x18\x02 \x01(\x08R\nisVariable"\xa7\x01\n\x0fTyLogicalStruct\x12\x44\n\x06\x66ields\x18\x01 \x03(\x0b\x32,.chalk.python.v1.TyLogicalStruct.FieldsEntryR\x06\x66ields\x1aN\n\x0b\x46ieldsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05value:\x02\x38\x01"\xfb\x01\n\x0eTyFeatureClass\x12\x33\n\x15\x63onstructor_namespace\x18\x01 \x01(\tR\x14\x63onstructorNamespace\x12\\\n\x0f\x61ssigned_fields\x18\x02 \x03(\x0b\x32\x33.chalk.python.v1.TyFeatureClass.AssignedFieldsEntryR\x0e\x61ssignedFields\x1aV\n\x13\x41ssignedFieldsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x05value:\x02\x38\x01"\x84\x01\n\x06TyEnum\x12\x16\n\x06module\x18\x01 \x01(\tR\x06module\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12)\n\x05\x62\x61ses\x18\x03 \x03(\x0b\x32\x13.chalk.python.v1.TyR\x05\x62\x61ses\x12#\n\x02ty\x18\x04 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x02ty"\x97\n\n\x02Ty\x12\x1a\n\x08nullable\x18\x01 \x01(\x08R\x08nullable\x12\x31\n\x03int\x18\x02 \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x03int\x12\x31\n\x03str\x18\x03 \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x03str\x12\x33\n\x04\x62ool\x18\x04 \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x04\x62ool\x12\x35\n\x05\x66loat\x18\x05 \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x05\x66loat\x12-\n\x04list\x18\x06 \x01(\x0b\x32\x17.chalk.python.v1.TyListH\x00R\x04list\x12*\n\x03set\x18\x07 \x01(\x0b\x32\x16.chalk.python.v1.TySetH\x00R\x03set\x12\x33\n\x04none\x18\x08 \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x04none\x12\x31\n\x03\x61ny\x18\t \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x03\x61ny\x12\x39\n\x08iterable\x18\n \x01(\x0b\x32\x1b.chalk.python.v1.TyIterableH\x00R\x08iterable\x12\x39\n\x08\x64\x61tetime\x18\x0b \x01(\x0b\x32\x1b.chalk.python.v1.TyDatetimeH\x00R\x08\x64\x61tetime\x12=\n\ttimedelta\x18\x0c \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\ttimedelta\x12\x33\n\x04\x64\x61te\x18\r \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x04\x64\x61te\x12\x30\n\x05tuple\x18\x0e \x01(\x0b\x32\x18.chalk.python.v1.TyTupleH\x00R\x05tuple\x12-\n\x04\x64ict\x18\x0f \x01(\x0b\x32\x17.chalk.python.v1.TyDictH\x00R\x04\x64ict\x12\x35\n\x05\x62ytes\x18\x10 \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x05\x62ytes\x12I\n\x0elogical_struct\x18\x11 \x01(\x0b\x32 .chalk.python.v1.TyLogicalStructH\x00R\rlogicalStruct\x12\x46\n\rfeature_class\x18\x12 \x01(\x0b\x32\x1f.chalk.python.v1.TyFeatureClassH\x00R\x0c\x66\x65\x61tureClass\x12-\n\x04\x65num\x18\x13 \x01(\x0b\x32\x17.chalk.python.v1.TyEnumH\x00R\x04\x65num\x12J\n\x10sequence_matcher\x18\x14 \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x0fsequenceMatcher\x12<\n\tgenerator\x18\x15 \x01(\x0b\x32\x1c.chalk.python.v1.TyGeneratorH\x00R\tgenerator\x12\x35\n\x05never\x18\x16 \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x05never\x12U\n\x16requests_http_response\x18\x17 \x01(\x0b\x32\x1d.chalk.python.v1.EmptyMessageH\x00R\x14requestsHttpResponseB\x04\n\x02ty"\x0e\n\x0c\x45mptyMessage"g\n\rSymbolicConst\x12#\n\x02ty\x18\x01 \x01(\x0b\x32\x13.chalk.python.v1.TyR\x02ty\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\x1b.chalk.arrow.v1.ScalarValueR\x05value":\n\x0c\x43odeVariable\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n\x06module\x18\x02 \x01(\tR\x06module"\x84\x01\n\x11\x43odeVariableValue\x12\x39\n\x08variable\x18\x01 \x01(\x0b\x32\x1d.chalk.python.v1.CodeVariableR\x08variable\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32\x1e.chalk.python.v1.SymbolicConstR\x05value"\x9e\x02\n\x13GlobalVariablesInfo\x12I\n\x0e\x63ode_variables\x18\x01 \x03(\x0b\x32".chalk.python.v1.CodeVariableValueR\rcodeVariables\x12s\n\x15\x65nvironment_variables\x18\x02 \x03(\x0b\x32>.chalk.python.v1.GlobalVariablesInfo.EnvironmentVariablesEntryR\x14\x65nvironmentVariables\x1aG\n\x19\x45nvironmentVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x7f\n\x13\x63om.chalk.python.v1B\nTypesProtoP\x01\xa2\x02\x03\x43PX\xaa\x02\x0f\x43halk.Python.V1\xca\x02\x0f\x43halk\\Python\\V1\xe2\x02\x1b\x43halk\\Python\\V1\\GPBMetadata\xea\x02\x11\x43halk::Python::V1b\x06proto3'
|
|
21
21
|
)
|
|
22
22
|
|
|
23
23
|
_globals = globals()
|
|
@@ -59,17 +59,17 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
59
59
|
_globals["_TYENUM"]._serialized_start = 942
|
|
60
60
|
_globals["_TYENUM"]._serialized_end = 1074
|
|
61
61
|
_globals["_TY"]._serialized_start = 1077
|
|
62
|
-
_globals["_TY"]._serialized_end =
|
|
63
|
-
_globals["_EMPTYMESSAGE"]._serialized_start =
|
|
64
|
-
_globals["_EMPTYMESSAGE"]._serialized_end =
|
|
65
|
-
_globals["_SYMBOLICCONST"]._serialized_start =
|
|
66
|
-
_globals["_SYMBOLICCONST"]._serialized_end =
|
|
67
|
-
_globals["_CODEVARIABLE"]._serialized_start =
|
|
68
|
-
_globals["_CODEVARIABLE"]._serialized_end =
|
|
69
|
-
_globals["_CODEVARIABLEVALUE"]._serialized_start =
|
|
70
|
-
_globals["_CODEVARIABLEVALUE"]._serialized_end =
|
|
71
|
-
_globals["_GLOBALVARIABLESINFO"]._serialized_start =
|
|
72
|
-
_globals["_GLOBALVARIABLESINFO"]._serialized_end =
|
|
73
|
-
_globals["_GLOBALVARIABLESINFO_ENVIRONMENTVARIABLESENTRY"]._serialized_start =
|
|
74
|
-
_globals["_GLOBALVARIABLESINFO_ENVIRONMENTVARIABLESENTRY"]._serialized_end =
|
|
62
|
+
_globals["_TY"]._serialized_end = 2380
|
|
63
|
+
_globals["_EMPTYMESSAGE"]._serialized_start = 2382
|
|
64
|
+
_globals["_EMPTYMESSAGE"]._serialized_end = 2396
|
|
65
|
+
_globals["_SYMBOLICCONST"]._serialized_start = 2398
|
|
66
|
+
_globals["_SYMBOLICCONST"]._serialized_end = 2501
|
|
67
|
+
_globals["_CODEVARIABLE"]._serialized_start = 2503
|
|
68
|
+
_globals["_CODEVARIABLE"]._serialized_end = 2561
|
|
69
|
+
_globals["_CODEVARIABLEVALUE"]._serialized_start = 2564
|
|
70
|
+
_globals["_CODEVARIABLEVALUE"]._serialized_end = 2696
|
|
71
|
+
_globals["_GLOBALVARIABLESINFO"]._serialized_start = 2699
|
|
72
|
+
_globals["_GLOBALVARIABLESINFO"]._serialized_end = 2985
|
|
73
|
+
_globals["_GLOBALVARIABLESINFO_ENVIRONMENTVARIABLESENTRY"]._serialized_start = 2914
|
|
74
|
+
_globals["_GLOBALVARIABLESINFO_ENVIRONMENTVARIABLESENTRY"]._serialized_end = 2985
|
|
75
75
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -133,6 +133,8 @@ class Ty(_message.Message):
|
|
|
133
133
|
"enum",
|
|
134
134
|
"sequence_matcher",
|
|
135
135
|
"generator",
|
|
136
|
+
"never",
|
|
137
|
+
"requests_http_response",
|
|
136
138
|
)
|
|
137
139
|
NULLABLE_FIELD_NUMBER: _ClassVar[int]
|
|
138
140
|
INT_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -155,6 +157,8 @@ class Ty(_message.Message):
|
|
|
155
157
|
ENUM_FIELD_NUMBER: _ClassVar[int]
|
|
156
158
|
SEQUENCE_MATCHER_FIELD_NUMBER: _ClassVar[int]
|
|
157
159
|
GENERATOR_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
+
NEVER_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
REQUESTS_HTTP_RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
158
162
|
nullable: bool
|
|
159
163
|
int: EmptyMessage
|
|
160
164
|
str: EmptyMessage
|
|
@@ -176,6 +180,8 @@ class Ty(_message.Message):
|
|
|
176
180
|
enum: TyEnum
|
|
177
181
|
sequence_matcher: EmptyMessage
|
|
178
182
|
generator: TyGenerator
|
|
183
|
+
never: EmptyMessage
|
|
184
|
+
requests_http_response: EmptyMessage
|
|
179
185
|
def __init__(
|
|
180
186
|
self,
|
|
181
187
|
nullable: bool = ...,
|
|
@@ -199,6 +205,8 @@ class Ty(_message.Message):
|
|
|
199
205
|
enum: _Optional[_Union[TyEnum, _Mapping]] = ...,
|
|
200
206
|
sequence_matcher: _Optional[_Union[EmptyMessage, _Mapping]] = ...,
|
|
201
207
|
generator: _Optional[_Union[TyGenerator, _Mapping]] = ...,
|
|
208
|
+
never: _Optional[_Union[EmptyMessage, _Mapping]] = ...,
|
|
209
|
+
requests_http_response: _Optional[_Union[EmptyMessage, _Mapping]] = ...,
|
|
202
210
|
) -> None: ...
|
|
203
211
|
|
|
204
212
|
class EmptyMessage(_message.Message):
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/server/v1/benchmark.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.common.v1 import online_query_pb2 as chalk_dot_common_dot_v1_dot_online__query__pb2
|
|
18
|
+
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
19
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
+
b'\n\x1f\x63halk/server/v1/benchmark.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a"chalk/common/v1/online_query.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"6\n\rInputFeatures\x12%\n\x0einput_features\x18\x01 \x03(\tR\rinputFeatures"\xef\x01\n\x1cSimpleOnlineQueryBulkRequest\x12)\n\x0einput_features\x18\x01 \x03(\tB\x02\x18\x01R\rinputFeatures\x12P\n\x13input_features_list\x18\x03 \x01(\x0b\x32\x1e.chalk.server.v1.InputFeaturesH\x00R\x11inputFeaturesList\x12\x1f\n\ninput_file\x18\x04 \x01(\tH\x00R\tinputFile\x12\'\n\x0foutput_features\x18\x02 \x03(\tR\x0eoutputFeaturesB\x08\n\x06inputs"\xfc\x02\n\x16\x43reateBenchmarkRequest\x12\x1d\n\nwarmup_qps\x18\x01 \x01(\x03R\twarmupQps\x12\x42\n\x0fwarmup_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0ewarmupDuration\x12\x10\n\x03qps\x18\x03 \x01(\x03R\x03qps\x12\x35\n\x08\x64uration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\x12H\n\nquery_bulk\x18\x05 \x01(\x0b\x32\'.chalk.common.v1.OnlineQueryBulkRequestH\x00R\tqueryBulk\x12[\n\x11simple_query_bulk\x18\x06 \x01(\x0b\x32-.chalk.server.v1.SimpleOnlineQueryBulkRequestH\x00R\x0fsimpleQueryBulkB\x0f\n\rquery_request"v\n\x17\x43reateBenchmarkResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32 .chalk.server.v1.BenchmarkStatusR\x06status\x12!\n\x0c\x62\x65nchmark_id\x18\x02 \x01(\tR\x0b\x62\x65nchmarkId"\x99\x01\n\x12\x42\x65nchmarkInputFile\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x17\n\x04size\x18\x02 \x01(\x03H\x00R\x04size\x88\x01\x01\x12>\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\tupdatedAt\x88\x01\x01\x42\x07\n\x05_sizeB\r\n\x0b_updated_at"7\n\x1dGetAvailableInputFilesRequest\x12\x16\n\x06prefix\x18\x01 \x01(\tR\x06prefix"f\n\x1eGetAvailableInputFilesResponse\x12\x44\n\x0binput_files\x18\x01 \x03(\x0b\x32#.chalk.server.v1.BenchmarkInputFileR\ninputFiles"e\n\x1dGetInputFileUploadUrlsRequest\x12\x44\n\x0binput_files\x18\x01 \x03(\x0b\x32#.chalk.server.v1.BenchmarkInputFileR\ninputFiles"G\n\x1eGetInputFileUploadUrlsResponse\x12%\n\x0epresigned_urls\x18\x01 \x03(\tR\rpresignedUrls"8\n\x1eGetAvailableResultFilesRequest\x12\x16\n\x06prefix\x18\x01 \x01(\tR\x06prefix"i\n\x1fGetAvailableResultFilesResponse\x12\x46\n\x0cresult_files\x18\x01 \x03(\x0b\x32#.chalk.server.v1.BenchmarkInputFileR\x0bresultFiles"9\n\x18GetResultFileUrlsRequest\x12\x1d\n\nfile_names\x18\x01 \x03(\tR\tfileNames"B\n\x19GetResultFileUrlsResponse\x12%\n\x0epresigned_urls\x18\x01 \x03(\tR\rpresignedUrls*\xe8\x01\n\x0f\x42\x65nchmarkStatus\x12 \n\x1c\x42\x45NCHMARK_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x42\x45NCHMARK_STATUS_QUEUED\x10\x01\x12\x1c\n\x18\x42\x45NCHMARK_STATUS_WORKING\x10\x02\x12\x1e\n\x1a\x42\x45NCHMARK_STATUS_COMPLETED\x10\x03\x12\x1b\n\x17\x42\x45NCHMARK_STATUS_FAILED\x10\x04\x12\x1c\n\x18\x42\x45NCHMARK_STATUS_SKIPPED\x10\x05\x12\x1d\n\x19\x42\x45NCHMARK_STATUS_CANCELED\x10\x06\x32\xf2\x04\n\x10\x42\x65nchmarkService\x12i\n\x0f\x43reateBenchmark\x12\'.chalk.server.v1.CreateBenchmarkRequest\x1a(.chalk.server.v1.CreateBenchmarkResponse"\x03\x80}\x03\x12~\n\x16GetAvailableInputFiles\x12..chalk.server.v1.GetAvailableInputFilesRequest\x1a/.chalk.server.v1.GetAvailableInputFilesResponse"\x03\x80}\x03\x12~\n\x16GetInputFileUploadUrls\x12..chalk.server.v1.GetInputFileUploadUrlsRequest\x1a/.chalk.server.v1.GetInputFileUploadUrlsResponse"\x03\x80}\x03\x12\x81\x01\n\x17GetAvailableResultFiles\x12/.chalk.server.v1.GetAvailableResultFilesRequest\x1a\x30.chalk.server.v1.GetAvailableResultFilesResponse"\x03\x80}\x03\x12o\n\x11GetResultFileUrls\x12).chalk.server.v1.GetResultFileUrlsRequest\x1a*.chalk.server.v1.GetResultFileUrlsResponse"\x03\x80}\x03\x42\x97\x01\n\x13\x63om.chalk.server.v1B\x0e\x42\x65nchmarkProtoP\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'
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
_globals = globals()
|
|
27
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
28
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "chalk.server.v1.benchmark_pb2", _globals)
|
|
29
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
30
|
+
_globals["DESCRIPTOR"]._options = None
|
|
31
|
+
_globals[
|
|
32
|
+
"DESCRIPTOR"
|
|
33
|
+
]._serialized_options = b"\n\023com.chalk.server.v1B\016BenchmarkProtoP\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"
|
|
34
|
+
_globals["_SIMPLEONLINEQUERYBULKREQUEST"].fields_by_name["input_features"]._options = None
|
|
35
|
+
_globals["_SIMPLEONLINEQUERYBULKREQUEST"].fields_by_name["input_features"]._serialized_options = b"\030\001"
|
|
36
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["CreateBenchmark"]._options = None
|
|
37
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["CreateBenchmark"]._serialized_options = b"\200}\003"
|
|
38
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["GetAvailableInputFiles"]._options = None
|
|
39
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["GetAvailableInputFiles"]._serialized_options = b"\200}\003"
|
|
40
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["GetInputFileUploadUrls"]._options = None
|
|
41
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["GetInputFileUploadUrls"]._serialized_options = b"\200}\003"
|
|
42
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["GetAvailableResultFiles"]._options = None
|
|
43
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["GetAvailableResultFiles"]._serialized_options = b"\200}\003"
|
|
44
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["GetResultFileUrls"]._options = None
|
|
45
|
+
_globals["_BENCHMARKSERVICE"].methods_by_name["GetResultFileUrls"]._serialized_options = b"\200}\003"
|
|
46
|
+
_globals["_BENCHMARKSTATUS"]._serialized_start = 1773
|
|
47
|
+
_globals["_BENCHMARKSTATUS"]._serialized_end = 2005
|
|
48
|
+
_globals["_INPUTFEATURES"]._serialized_start = 186
|
|
49
|
+
_globals["_INPUTFEATURES"]._serialized_end = 240
|
|
50
|
+
_globals["_SIMPLEONLINEQUERYBULKREQUEST"]._serialized_start = 243
|
|
51
|
+
_globals["_SIMPLEONLINEQUERYBULKREQUEST"]._serialized_end = 482
|
|
52
|
+
_globals["_CREATEBENCHMARKREQUEST"]._serialized_start = 485
|
|
53
|
+
_globals["_CREATEBENCHMARKREQUEST"]._serialized_end = 865
|
|
54
|
+
_globals["_CREATEBENCHMARKRESPONSE"]._serialized_start = 867
|
|
55
|
+
_globals["_CREATEBENCHMARKRESPONSE"]._serialized_end = 985
|
|
56
|
+
_globals["_BENCHMARKINPUTFILE"]._serialized_start = 988
|
|
57
|
+
_globals["_BENCHMARKINPUTFILE"]._serialized_end = 1141
|
|
58
|
+
_globals["_GETAVAILABLEINPUTFILESREQUEST"]._serialized_start = 1143
|
|
59
|
+
_globals["_GETAVAILABLEINPUTFILESREQUEST"]._serialized_end = 1198
|
|
60
|
+
_globals["_GETAVAILABLEINPUTFILESRESPONSE"]._serialized_start = 1200
|
|
61
|
+
_globals["_GETAVAILABLEINPUTFILESRESPONSE"]._serialized_end = 1302
|
|
62
|
+
_globals["_GETINPUTFILEUPLOADURLSREQUEST"]._serialized_start = 1304
|
|
63
|
+
_globals["_GETINPUTFILEUPLOADURLSREQUEST"]._serialized_end = 1405
|
|
64
|
+
_globals["_GETINPUTFILEUPLOADURLSRESPONSE"]._serialized_start = 1407
|
|
65
|
+
_globals["_GETINPUTFILEUPLOADURLSRESPONSE"]._serialized_end = 1478
|
|
66
|
+
_globals["_GETAVAILABLERESULTFILESREQUEST"]._serialized_start = 1480
|
|
67
|
+
_globals["_GETAVAILABLERESULTFILESREQUEST"]._serialized_end = 1536
|
|
68
|
+
_globals["_GETAVAILABLERESULTFILESRESPONSE"]._serialized_start = 1538
|
|
69
|
+
_globals["_GETAVAILABLERESULTFILESRESPONSE"]._serialized_end = 1643
|
|
70
|
+
_globals["_GETRESULTFILEURLSREQUEST"]._serialized_start = 1645
|
|
71
|
+
_globals["_GETRESULTFILEURLSREQUEST"]._serialized_end = 1702
|
|
72
|
+
_globals["_GETRESULTFILEURLSRESPONSE"]._serialized_start = 1704
|
|
73
|
+
_globals["_GETRESULTFILEURLSRESPONSE"]._serialized_end = 1770
|
|
74
|
+
_globals["_BENCHMARKSERVICE"]._serialized_start = 2008
|
|
75
|
+
_globals["_BENCHMARKSERVICE"]._serialized_end = 2634
|
|
76
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
|
|
2
|
+
from chalk._gen.chalk.common.v1 import online_query_pb2 as _online_query_pb2
|
|
3
|
+
from google.protobuf import duration_pb2 as _duration_pb2
|
|
4
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
|
+
from google.protobuf.internal import containers as _containers
|
|
6
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from typing import (
|
|
10
|
+
ClassVar as _ClassVar,
|
|
11
|
+
Iterable as _Iterable,
|
|
12
|
+
Mapping as _Mapping,
|
|
13
|
+
Optional as _Optional,
|
|
14
|
+
Union as _Union,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
18
|
+
|
|
19
|
+
class BenchmarkStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
20
|
+
__slots__ = ()
|
|
21
|
+
BENCHMARK_STATUS_UNSPECIFIED: _ClassVar[BenchmarkStatus]
|
|
22
|
+
BENCHMARK_STATUS_QUEUED: _ClassVar[BenchmarkStatus]
|
|
23
|
+
BENCHMARK_STATUS_WORKING: _ClassVar[BenchmarkStatus]
|
|
24
|
+
BENCHMARK_STATUS_COMPLETED: _ClassVar[BenchmarkStatus]
|
|
25
|
+
BENCHMARK_STATUS_FAILED: _ClassVar[BenchmarkStatus]
|
|
26
|
+
BENCHMARK_STATUS_SKIPPED: _ClassVar[BenchmarkStatus]
|
|
27
|
+
BENCHMARK_STATUS_CANCELED: _ClassVar[BenchmarkStatus]
|
|
28
|
+
|
|
29
|
+
BENCHMARK_STATUS_UNSPECIFIED: BenchmarkStatus
|
|
30
|
+
BENCHMARK_STATUS_QUEUED: BenchmarkStatus
|
|
31
|
+
BENCHMARK_STATUS_WORKING: BenchmarkStatus
|
|
32
|
+
BENCHMARK_STATUS_COMPLETED: BenchmarkStatus
|
|
33
|
+
BENCHMARK_STATUS_FAILED: BenchmarkStatus
|
|
34
|
+
BENCHMARK_STATUS_SKIPPED: BenchmarkStatus
|
|
35
|
+
BENCHMARK_STATUS_CANCELED: BenchmarkStatus
|
|
36
|
+
|
|
37
|
+
class InputFeatures(_message.Message):
|
|
38
|
+
__slots__ = ("input_features",)
|
|
39
|
+
INPUT_FEATURES_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
input_features: _containers.RepeatedScalarFieldContainer[str]
|
|
41
|
+
def __init__(self, input_features: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
42
|
+
|
|
43
|
+
class SimpleOnlineQueryBulkRequest(_message.Message):
|
|
44
|
+
__slots__ = ("input_features", "input_features_list", "input_file", "output_features")
|
|
45
|
+
INPUT_FEATURES_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
INPUT_FEATURES_LIST_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
INPUT_FILE_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
OUTPUT_FEATURES_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
input_features: _containers.RepeatedScalarFieldContainer[str]
|
|
50
|
+
input_features_list: InputFeatures
|
|
51
|
+
input_file: str
|
|
52
|
+
output_features: _containers.RepeatedScalarFieldContainer[str]
|
|
53
|
+
def __init__(
|
|
54
|
+
self,
|
|
55
|
+
input_features: _Optional[_Iterable[str]] = ...,
|
|
56
|
+
input_features_list: _Optional[_Union[InputFeatures, _Mapping]] = ...,
|
|
57
|
+
input_file: _Optional[str] = ...,
|
|
58
|
+
output_features: _Optional[_Iterable[str]] = ...,
|
|
59
|
+
) -> None: ...
|
|
60
|
+
|
|
61
|
+
class CreateBenchmarkRequest(_message.Message):
|
|
62
|
+
__slots__ = ("warmup_qps", "warmup_duration", "qps", "duration", "query_bulk", "simple_query_bulk")
|
|
63
|
+
WARMUP_QPS_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
WARMUP_DURATION_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
QPS_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
DURATION_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
QUERY_BULK_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
SIMPLE_QUERY_BULK_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
+
warmup_qps: int
|
|
70
|
+
warmup_duration: _duration_pb2.Duration
|
|
71
|
+
qps: int
|
|
72
|
+
duration: _duration_pb2.Duration
|
|
73
|
+
query_bulk: _online_query_pb2.OnlineQueryBulkRequest
|
|
74
|
+
simple_query_bulk: SimpleOnlineQueryBulkRequest
|
|
75
|
+
def __init__(
|
|
76
|
+
self,
|
|
77
|
+
warmup_qps: _Optional[int] = ...,
|
|
78
|
+
warmup_duration: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...,
|
|
79
|
+
qps: _Optional[int] = ...,
|
|
80
|
+
duration: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...,
|
|
81
|
+
query_bulk: _Optional[_Union[_online_query_pb2.OnlineQueryBulkRequest, _Mapping]] = ...,
|
|
82
|
+
simple_query_bulk: _Optional[_Union[SimpleOnlineQueryBulkRequest, _Mapping]] = ...,
|
|
83
|
+
) -> None: ...
|
|
84
|
+
|
|
85
|
+
class CreateBenchmarkResponse(_message.Message):
|
|
86
|
+
__slots__ = ("status", "benchmark_id")
|
|
87
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
BENCHMARK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
status: BenchmarkStatus
|
|
90
|
+
benchmark_id: str
|
|
91
|
+
def __init__(
|
|
92
|
+
self, status: _Optional[_Union[BenchmarkStatus, str]] = ..., benchmark_id: _Optional[str] = ...
|
|
93
|
+
) -> None: ...
|
|
94
|
+
|
|
95
|
+
class BenchmarkInputFile(_message.Message):
|
|
96
|
+
__slots__ = ("name", "size", "updated_at")
|
|
97
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
name: str
|
|
101
|
+
size: int
|
|
102
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
103
|
+
def __init__(
|
|
104
|
+
self,
|
|
105
|
+
name: _Optional[str] = ...,
|
|
106
|
+
size: _Optional[int] = ...,
|
|
107
|
+
updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
108
|
+
) -> None: ...
|
|
109
|
+
|
|
110
|
+
class GetAvailableInputFilesRequest(_message.Message):
|
|
111
|
+
__slots__ = ("prefix",)
|
|
112
|
+
PREFIX_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
+
prefix: str
|
|
114
|
+
def __init__(self, prefix: _Optional[str] = ...) -> None: ...
|
|
115
|
+
|
|
116
|
+
class GetAvailableInputFilesResponse(_message.Message):
|
|
117
|
+
__slots__ = ("input_files",)
|
|
118
|
+
INPUT_FILES_FIELD_NUMBER: _ClassVar[int]
|
|
119
|
+
input_files: _containers.RepeatedCompositeFieldContainer[BenchmarkInputFile]
|
|
120
|
+
def __init__(self, input_files: _Optional[_Iterable[_Union[BenchmarkInputFile, _Mapping]]] = ...) -> None: ...
|
|
121
|
+
|
|
122
|
+
class GetInputFileUploadUrlsRequest(_message.Message):
|
|
123
|
+
__slots__ = ("input_files",)
|
|
124
|
+
INPUT_FILES_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
input_files: _containers.RepeatedCompositeFieldContainer[BenchmarkInputFile]
|
|
126
|
+
def __init__(self, input_files: _Optional[_Iterable[_Union[BenchmarkInputFile, _Mapping]]] = ...) -> None: ...
|
|
127
|
+
|
|
128
|
+
class GetInputFileUploadUrlsResponse(_message.Message):
|
|
129
|
+
__slots__ = ("presigned_urls",)
|
|
130
|
+
PRESIGNED_URLS_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
+
presigned_urls: _containers.RepeatedScalarFieldContainer[str]
|
|
132
|
+
def __init__(self, presigned_urls: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
133
|
+
|
|
134
|
+
class GetAvailableResultFilesRequest(_message.Message):
|
|
135
|
+
__slots__ = ("prefix",)
|
|
136
|
+
PREFIX_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
+
prefix: str
|
|
138
|
+
def __init__(self, prefix: _Optional[str] = ...) -> None: ...
|
|
139
|
+
|
|
140
|
+
class GetAvailableResultFilesResponse(_message.Message):
|
|
141
|
+
__slots__ = ("result_files",)
|
|
142
|
+
RESULT_FILES_FIELD_NUMBER: _ClassVar[int]
|
|
143
|
+
result_files: _containers.RepeatedCompositeFieldContainer[BenchmarkInputFile]
|
|
144
|
+
def __init__(self, result_files: _Optional[_Iterable[_Union[BenchmarkInputFile, _Mapping]]] = ...) -> None: ...
|
|
145
|
+
|
|
146
|
+
class GetResultFileUrlsRequest(_message.Message):
|
|
147
|
+
__slots__ = ("file_names",)
|
|
148
|
+
FILE_NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
149
|
+
file_names: _containers.RepeatedScalarFieldContainer[str]
|
|
150
|
+
def __init__(self, file_names: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
151
|
+
|
|
152
|
+
class GetResultFileUrlsResponse(_message.Message):
|
|
153
|
+
__slots__ = ("presigned_urls",)
|
|
154
|
+
PRESIGNED_URLS_FIELD_NUMBER: _ClassVar[int]
|
|
155
|
+
presigned_urls: _containers.RepeatedScalarFieldContainer[str]
|
|
156
|
+
def __init__(self, presigned_urls: _Optional[_Iterable[str]] = ...) -> None: ...
|