chalkpy 2.89.22__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 +36 -33
- chalk/_gen/chalk/artifacts/v1/chart_pb2.pyi +41 -1
- 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 +19 -13
- chalk/_gen/chalk/common/v1/offline_query_pb2.pyi +37 -0
- chalk/_gen/chalk/common/v1/online_query_pb2.py +54 -54
- chalk/_gen/chalk/common/v1/online_query_pb2.pyi +13 -1
- chalk/_gen/chalk/common/v1/script_task_pb2.py +13 -11
- chalk/_gen/chalk/common/v1/script_task_pb2.pyi +19 -1
- 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 +372 -272
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +479 -12
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.py +360 -0
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.pyi +96 -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 +153 -107
- chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +146 -4
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.pyi +48 -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 +59 -35
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +127 -1
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +135 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +36 -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/datasets_pb2.py +36 -24
- chalk/_gen/chalk/server/v1/datasets_pb2.pyi +71 -2
- chalk/_gen/chalk/server/v1/datasets_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/datasets_pb2_grpc.pyi +12 -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 +20 -15
- chalk/_gen/chalk/server/v1/deployment_pb2.pyi +25 -0
- chalk/_gen/chalk/server/v1/environment_pb2.py +25 -15
- chalk/_gen/chalk/server/v1/environment_pb2.pyi +93 -1
- chalk/_gen/chalk/server/v1/eventbus_pb2.py +44 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2.pyi +64 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2_grpc.pyi +4 -0
- 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 +41 -3
- chalk/_gen/chalk/server/v1/graph_pb2.pyi +191 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.py +92 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.pyi +32 -0
- chalk/_gen/chalk/server/v1/incident_pb2.py +57 -0
- chalk/_gen/chalk/server/v1/incident_pb2.pyi +165 -0
- chalk/_gen/chalk/server/v1/incident_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/incident_pb2_grpc.pyi +4 -0
- 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/metadataplanejobqueue_pb2.py +73 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2.pyi +212 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2_grpc.py +217 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2_grpc.pyi +74 -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/monitoring_pb2.py +84 -75
- chalk/_gen/chalk/server/v1/monitoring_pb2.pyi +1 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.py +136 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2.py +32 -10
- chalk/_gen/chalk/server/v1/offline_queries_pb2.pyi +73 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/offline_queries_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/queries_pb2.py +76 -48
- chalk/_gen/chalk/server/v1/queries_pb2.pyi +155 -2
- chalk/_gen/chalk/server/v1/queries_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/queries_pb2_grpc.pyi +48 -0
- chalk/_gen/chalk/server/v1/scheduled_query_pb2.py +4 -2
- chalk/_gen/chalk/server/v1/scheduled_query_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/scheduled_query_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +12 -6
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +75 -2
- 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 +26 -14
- chalk/_gen/chalk/server/v1/script_tasks_pb2.pyi +33 -3
- 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 +156 -137
- chalk/_gen/chalk/server/v1/team_pb2.pyi +56 -10
- chalk/_gen/chalk/server/v1/team_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/team_pb2_grpc.pyi +24 -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 +50 -28
- chalk/_gen/chalk/server/v1/trace_pb2.pyi +121 -0
- chalk/_gen/chalk/server/v1/trace_pb2_grpc.py +135 -0
- chalk/_gen/chalk/server/v1/trace_pb2_grpc.pyi +42 -0
- chalk/_gen/chalk/server/v1/webhook_pb2.py +9 -3
- chalk/_gen/chalk/server/v1/webhook_pb2.pyi +18 -0
- chalk/_gen/chalk/server/v1/webhook_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/webhook_pb2_grpc.pyi +12 -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 +19 -7
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.pyi +96 -3
- 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/_monitoring/Chart.py +1 -3
- chalk/_version.py +1 -1
- chalk/cli.py +5 -10
- chalk/client/client.py +178 -64
- chalk/client/client_async.py +154 -0
- chalk/client/client_async_impl.py +22 -0
- chalk/client/client_grpc.py +738 -112
- chalk/client/client_impl.py +541 -136
- chalk/client/dataset.py +27 -6
- chalk/client/models.py +99 -2
- chalk/client/serialization/model_serialization.py +126 -10
- chalk/config/project_config.py +1 -1
- chalk/df/LazyFramePlaceholder.py +1154 -0
- chalk/df/ast_parser.py +2 -10
- chalk/features/_class_property.py +7 -0
- chalk/features/_embedding/embedding.py +1 -0
- chalk/features/_embedding/sentence_transformer.py +1 -1
- chalk/features/_encoding/converter.py +83 -2
- chalk/features/_encoding/pyarrow.py +20 -4
- chalk/features/_encoding/rich.py +1 -3
- chalk/features/_tensor.py +1 -2
- chalk/features/dataframe/_filters.py +14 -5
- chalk/features/dataframe/_impl.py +91 -36
- chalk/features/dataframe/_validation.py +11 -7
- chalk/features/feature_field.py +40 -30
- chalk/features/feature_set.py +1 -2
- chalk/features/feature_set_decorator.py +1 -0
- chalk/features/feature_wrapper.py +42 -3
- chalk/features/hooks.py +81 -12
- chalk/features/inference.py +65 -10
- chalk/features/resolver.py +338 -56
- chalk/features/tag.py +1 -3
- chalk/features/underscore_features.py +2 -1
- chalk/functions/__init__.py +456 -21
- chalk/functions/holidays.py +1 -3
- chalk/gitignore/gitignore_parser.py +5 -1
- chalk/importer.py +186 -74
- chalk/ml/__init__.py +6 -2
- chalk/ml/model_hooks.py +368 -51
- chalk/ml/model_reference.py +68 -10
- chalk/ml/model_version.py +34 -21
- chalk/ml/utils.py +143 -40
- chalk/operators/_utils.py +14 -3
- chalk/parsed/_proto/export.py +22 -0
- chalk/parsed/duplicate_input_gql.py +4 -0
- chalk/parsed/expressions.py +1 -3
- chalk/parsed/json_conversions.py +21 -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 +13 -1
- chalk/serialization/parsed_annotation.py +25 -12
- chalk/sql/__init__.py +221 -0
- chalk/sql/_internal/integrations/athena.py +6 -1
- chalk/sql/_internal/integrations/bigquery.py +22 -2
- chalk/sql/_internal/integrations/databricks.py +61 -18
- chalk/sql/_internal/integrations/mssql.py +281 -0
- chalk/sql/_internal/integrations/postgres.py +11 -3
- chalk/sql/_internal/integrations/redshift.py +4 -0
- chalk/sql/_internal/integrations/snowflake.py +11 -2
- chalk/sql/_internal/integrations/util.py +2 -1
- chalk/sql/_internal/sql_file_resolver.py +55 -10
- chalk/sql/_internal/sql_source.py +36 -2
- chalk/streams/__init__.py +1 -3
- chalk/streams/_kafka_source.py +5 -1
- chalk/streams/_windows.py +16 -4
- chalk/streams/types.py +1 -2
- chalk/utils/__init__.py +1 -3
- chalk/utils/_otel_version.py +13 -0
- chalk/utils/async_helpers.py +14 -5
- chalk/utils/df_utils.py +2 -2
- chalk/utils/duration.py +1 -3
- chalk/utils/job_log_display.py +538 -0
- chalk/utils/missing_dependency.py +5 -4
- chalk/utils/notebook.py +255 -2
- chalk/utils/pl_helpers.py +190 -37
- chalk/utils/pydanticutil/pydantic_compat.py +1 -2
- chalk/utils/storage_client.py +246 -0
- chalk/utils/threading.py +1 -3
- chalk/utils/tracing.py +194 -86
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/METADATA +53 -21
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/RECORD +268 -198
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/WHEEL +0 -0
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
2
3
|
from google.protobuf import descriptor as _descriptor
|
|
3
4
|
from google.protobuf import message as _message
|
|
4
|
-
from typing import
|
|
5
|
+
from typing import (
|
|
6
|
+
ClassVar as _ClassVar,
|
|
7
|
+
Iterable as _Iterable,
|
|
8
|
+
Mapping as _Mapping,
|
|
9
|
+
Optional as _Optional,
|
|
10
|
+
Union as _Union,
|
|
11
|
+
)
|
|
5
12
|
|
|
6
13
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
14
|
|
|
@@ -23,25 +30,206 @@ class KubernetesScaledObjectTargetRef(_message.Message):
|
|
|
23
30
|
env_source_container_name: _Optional[str] = ...,
|
|
24
31
|
) -> None: ...
|
|
25
32
|
|
|
33
|
+
class KubernetesGroupVersionKindResource(_message.Message):
|
|
34
|
+
__slots__ = ("group", "version", "kind", "resource")
|
|
35
|
+
GROUP_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
KIND_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
group: str
|
|
40
|
+
version: str
|
|
41
|
+
kind: str
|
|
42
|
+
resource: str
|
|
43
|
+
def __init__(
|
|
44
|
+
self,
|
|
45
|
+
group: _Optional[str] = ...,
|
|
46
|
+
version: _Optional[str] = ...,
|
|
47
|
+
kind: _Optional[str] = ...,
|
|
48
|
+
resource: _Optional[str] = ...,
|
|
49
|
+
) -> None: ...
|
|
50
|
+
|
|
51
|
+
class KubernetesScaledObjectCondition(_message.Message):
|
|
52
|
+
__slots__ = ("type", "status", "reason", "message")
|
|
53
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
type: str
|
|
58
|
+
status: str
|
|
59
|
+
reason: str
|
|
60
|
+
message: str
|
|
61
|
+
def __init__(
|
|
62
|
+
self,
|
|
63
|
+
type: _Optional[str] = ...,
|
|
64
|
+
status: _Optional[str] = ...,
|
|
65
|
+
reason: _Optional[str] = ...,
|
|
66
|
+
message: _Optional[str] = ...,
|
|
67
|
+
) -> None: ...
|
|
68
|
+
|
|
69
|
+
class KubernetesScaledObjectHealthStatus(_message.Message):
|
|
70
|
+
__slots__ = ("number_of_failures", "status")
|
|
71
|
+
NUMBER_OF_FAILURES_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
number_of_failures: int
|
|
74
|
+
status: str
|
|
75
|
+
def __init__(self, number_of_failures: _Optional[int] = ..., status: _Optional[str] = ...) -> None: ...
|
|
76
|
+
|
|
77
|
+
class KubernetesScaledObjectAuthenticationRef(_message.Message):
|
|
78
|
+
__slots__ = ("name", "kind")
|
|
79
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
KIND_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
name: str
|
|
82
|
+
kind: str
|
|
83
|
+
def __init__(self, name: _Optional[str] = ..., kind: _Optional[str] = ...) -> None: ...
|
|
84
|
+
|
|
85
|
+
class KubernetesScaledObjectTrigger(_message.Message):
|
|
86
|
+
__slots__ = ("type", "name", "use_cached_metrics", "metadata", "authentication_ref", "metric_type")
|
|
87
|
+
class MetadataEntry(_message.Message):
|
|
88
|
+
__slots__ = ("key", "value")
|
|
89
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
key: str
|
|
92
|
+
value: str
|
|
93
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
94
|
+
|
|
95
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
96
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
+
USE_CACHED_METRICS_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
AUTHENTICATION_REF_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
METRIC_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
type: str
|
|
102
|
+
name: str
|
|
103
|
+
use_cached_metrics: bool
|
|
104
|
+
metadata: _containers.ScalarMap[str, str]
|
|
105
|
+
authentication_ref: KubernetesScaledObjectAuthenticationRef
|
|
106
|
+
metric_type: str
|
|
107
|
+
def __init__(
|
|
108
|
+
self,
|
|
109
|
+
type: _Optional[str] = ...,
|
|
110
|
+
name: _Optional[str] = ...,
|
|
111
|
+
use_cached_metrics: bool = ...,
|
|
112
|
+
metadata: _Optional[_Mapping[str, str]] = ...,
|
|
113
|
+
authentication_ref: _Optional[_Union[KubernetesScaledObjectAuthenticationRef, _Mapping]] = ...,
|
|
114
|
+
metric_type: _Optional[str] = ...,
|
|
115
|
+
) -> None: ...
|
|
116
|
+
|
|
117
|
+
class KubernetesScaledObjectFallback(_message.Message):
|
|
118
|
+
__slots__ = ("failure_threshold", "replicas")
|
|
119
|
+
FAILURE_THRESHOLD_FIELD_NUMBER: _ClassVar[int]
|
|
120
|
+
REPLICAS_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
+
failure_threshold: int
|
|
122
|
+
replicas: int
|
|
123
|
+
def __init__(self, failure_threshold: _Optional[int] = ..., replicas: _Optional[int] = ...) -> None: ...
|
|
124
|
+
|
|
125
|
+
class KubernetesScaledObjectScalingModifiers(_message.Message):
|
|
126
|
+
__slots__ = ("formula", "target", "activation_target", "metric_type")
|
|
127
|
+
FORMULA_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
+
TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
+
ACTIVATION_TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
+
METRIC_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
+
formula: str
|
|
132
|
+
target: str
|
|
133
|
+
activation_target: str
|
|
134
|
+
metric_type: str
|
|
135
|
+
def __init__(
|
|
136
|
+
self,
|
|
137
|
+
formula: _Optional[str] = ...,
|
|
138
|
+
target: _Optional[str] = ...,
|
|
139
|
+
activation_target: _Optional[str] = ...,
|
|
140
|
+
metric_type: _Optional[str] = ...,
|
|
141
|
+
) -> None: ...
|
|
142
|
+
|
|
143
|
+
class KubernetesScaledObjectHPAConfig(_message.Message):
|
|
144
|
+
__slots__ = ("name",)
|
|
145
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
+
name: str
|
|
147
|
+
def __init__(self, name: _Optional[str] = ...) -> None: ...
|
|
148
|
+
|
|
149
|
+
class KubernetesScaledObjectAdvancedConfig(_message.Message):
|
|
150
|
+
__slots__ = ("horizontal_pod_autoscaler_config", "restore_to_original_replica_count", "scaling_modifiers")
|
|
151
|
+
HORIZONTAL_POD_AUTOSCALER_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
152
|
+
RESTORE_TO_ORIGINAL_REPLICA_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
+
SCALING_MODIFIERS_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
horizontal_pod_autoscaler_config: KubernetesScaledObjectHPAConfig
|
|
155
|
+
restore_to_original_replica_count: bool
|
|
156
|
+
scaling_modifiers: KubernetesScaledObjectScalingModifiers
|
|
157
|
+
def __init__(
|
|
158
|
+
self,
|
|
159
|
+
horizontal_pod_autoscaler_config: _Optional[_Union[KubernetesScaledObjectHPAConfig, _Mapping]] = ...,
|
|
160
|
+
restore_to_original_replica_count: bool = ...,
|
|
161
|
+
scaling_modifiers: _Optional[_Union[KubernetesScaledObjectScalingModifiers, _Mapping]] = ...,
|
|
162
|
+
) -> None: ...
|
|
163
|
+
|
|
26
164
|
class KubernetesScaledObjectStatus(_message.Message):
|
|
27
|
-
__slots__ = (
|
|
165
|
+
__slots__ = (
|
|
166
|
+
"scale_target_kind",
|
|
167
|
+
"scale_target_gvkr",
|
|
168
|
+
"original_replica_count",
|
|
169
|
+
"last_active_time",
|
|
170
|
+
"external_metric_names",
|
|
171
|
+
"resource_metric_names",
|
|
172
|
+
"composite_scaler_name",
|
|
173
|
+
"conditions",
|
|
174
|
+
"health",
|
|
175
|
+
"paused_replica_count",
|
|
176
|
+
"hpa_name",
|
|
177
|
+
"triggers_types",
|
|
178
|
+
"authentications_types",
|
|
179
|
+
)
|
|
180
|
+
class HealthEntry(_message.Message):
|
|
181
|
+
__slots__ = ("key", "value")
|
|
182
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
183
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
184
|
+
key: str
|
|
185
|
+
value: KubernetesScaledObjectHealthStatus
|
|
186
|
+
def __init__(
|
|
187
|
+
self,
|
|
188
|
+
key: _Optional[str] = ...,
|
|
189
|
+
value: _Optional[_Union[KubernetesScaledObjectHealthStatus, _Mapping]] = ...,
|
|
190
|
+
) -> None: ...
|
|
191
|
+
|
|
28
192
|
SCALE_TARGET_KIND_FIELD_NUMBER: _ClassVar[int]
|
|
193
|
+
SCALE_TARGET_GVKR_FIELD_NUMBER: _ClassVar[int]
|
|
29
194
|
ORIGINAL_REPLICA_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
30
195
|
LAST_ACTIVE_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
196
|
+
EXTERNAL_METRIC_NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
197
|
+
RESOURCE_METRIC_NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
198
|
+
COMPOSITE_SCALER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
199
|
+
CONDITIONS_FIELD_NUMBER: _ClassVar[int]
|
|
200
|
+
HEALTH_FIELD_NUMBER: _ClassVar[int]
|
|
31
201
|
PAUSED_REPLICA_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
32
202
|
HPA_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
203
|
+
TRIGGERS_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
204
|
+
AUTHENTICATIONS_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
33
205
|
scale_target_kind: str
|
|
206
|
+
scale_target_gvkr: KubernetesGroupVersionKindResource
|
|
34
207
|
original_replica_count: int
|
|
35
208
|
last_active_time: _timestamp_pb2.Timestamp
|
|
209
|
+
external_metric_names: _containers.RepeatedScalarFieldContainer[str]
|
|
210
|
+
resource_metric_names: _containers.RepeatedScalarFieldContainer[str]
|
|
211
|
+
composite_scaler_name: str
|
|
212
|
+
conditions: _containers.RepeatedCompositeFieldContainer[KubernetesScaledObjectCondition]
|
|
213
|
+
health: _containers.MessageMap[str, KubernetesScaledObjectHealthStatus]
|
|
36
214
|
paused_replica_count: int
|
|
37
215
|
hpa_name: str
|
|
216
|
+
triggers_types: str
|
|
217
|
+
authentications_types: str
|
|
38
218
|
def __init__(
|
|
39
219
|
self,
|
|
40
220
|
scale_target_kind: _Optional[str] = ...,
|
|
221
|
+
scale_target_gvkr: _Optional[_Union[KubernetesGroupVersionKindResource, _Mapping]] = ...,
|
|
41
222
|
original_replica_count: _Optional[int] = ...,
|
|
42
223
|
last_active_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
224
|
+
external_metric_names: _Optional[_Iterable[str]] = ...,
|
|
225
|
+
resource_metric_names: _Optional[_Iterable[str]] = ...,
|
|
226
|
+
composite_scaler_name: _Optional[str] = ...,
|
|
227
|
+
conditions: _Optional[_Iterable[_Union[KubernetesScaledObjectCondition, _Mapping]]] = ...,
|
|
228
|
+
health: _Optional[_Mapping[str, KubernetesScaledObjectHealthStatus]] = ...,
|
|
43
229
|
paused_replica_count: _Optional[int] = ...,
|
|
44
230
|
hpa_name: _Optional[str] = ...,
|
|
231
|
+
triggers_types: _Optional[str] = ...,
|
|
232
|
+
authentications_types: _Optional[str] = ...,
|
|
45
233
|
) -> None: ...
|
|
46
234
|
|
|
47
235
|
class KubernetesScaledObjectSpec(_message.Message):
|
|
@@ -52,6 +240,10 @@ class KubernetesScaledObjectSpec(_message.Message):
|
|
|
52
240
|
"cooldown_period",
|
|
53
241
|
"idle_replica_count",
|
|
54
242
|
"max_replica_count",
|
|
243
|
+
"advanced",
|
|
244
|
+
"triggers",
|
|
245
|
+
"fallback",
|
|
246
|
+
"min_replica_count",
|
|
55
247
|
)
|
|
56
248
|
SCALE_TARGET_REF_FIELD_NUMBER: _ClassVar[int]
|
|
57
249
|
POLLING_INTERVAL_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -59,12 +251,20 @@ class KubernetesScaledObjectSpec(_message.Message):
|
|
|
59
251
|
COOLDOWN_PERIOD_FIELD_NUMBER: _ClassVar[int]
|
|
60
252
|
IDLE_REPLICA_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
61
253
|
MAX_REPLICA_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
254
|
+
ADVANCED_FIELD_NUMBER: _ClassVar[int]
|
|
255
|
+
TRIGGERS_FIELD_NUMBER: _ClassVar[int]
|
|
256
|
+
FALLBACK_FIELD_NUMBER: _ClassVar[int]
|
|
257
|
+
MIN_REPLICA_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
62
258
|
scale_target_ref: KubernetesScaledObjectTargetRef
|
|
63
259
|
polling_interval: int
|
|
64
260
|
initial_cooldown_period: int
|
|
65
261
|
cooldown_period: int
|
|
66
262
|
idle_replica_count: int
|
|
67
263
|
max_replica_count: int
|
|
264
|
+
advanced: KubernetesScaledObjectAdvancedConfig
|
|
265
|
+
triggers: _containers.RepeatedCompositeFieldContainer[KubernetesScaledObjectTrigger]
|
|
266
|
+
fallback: KubernetesScaledObjectFallback
|
|
267
|
+
min_replica_count: int
|
|
68
268
|
def __init__(
|
|
69
269
|
self,
|
|
70
270
|
scale_target_ref: _Optional[_Union[KubernetesScaledObjectTargetRef, _Mapping]] = ...,
|
|
@@ -73,6 +273,10 @@ class KubernetesScaledObjectSpec(_message.Message):
|
|
|
73
273
|
cooldown_period: _Optional[int] = ...,
|
|
74
274
|
idle_replica_count: _Optional[int] = ...,
|
|
75
275
|
max_replica_count: _Optional[int] = ...,
|
|
276
|
+
advanced: _Optional[_Union[KubernetesScaledObjectAdvancedConfig, _Mapping]] = ...,
|
|
277
|
+
triggers: _Optional[_Iterable[_Union[KubernetesScaledObjectTrigger, _Mapping]]] = ...,
|
|
278
|
+
fallback: _Optional[_Union[KubernetesScaledObjectFallback, _Mapping]] = ...,
|
|
279
|
+
min_replica_count: _Optional[int] = ...,
|
|
76
280
|
) -> None: ...
|
|
77
281
|
|
|
78
282
|
class KubernetesScaledObjectData(_message.Message):
|
|
@@ -86,3 +290,49 @@ class KubernetesScaledObjectData(_message.Message):
|
|
|
86
290
|
spec: _Optional[_Union[KubernetesScaledObjectSpec, _Mapping]] = ...,
|
|
87
291
|
status: _Optional[_Union[KubernetesScaledObjectStatus, _Mapping]] = ...,
|
|
88
292
|
) -> None: ...
|
|
293
|
+
|
|
294
|
+
class KubernetesScaledObject(_message.Message):
|
|
295
|
+
__slots__ = ("name", "namespace", "labels", "annotations", "creation_timestamp", "spec", "status", "cluster_name")
|
|
296
|
+
class LabelsEntry(_message.Message):
|
|
297
|
+
__slots__ = ("key", "value")
|
|
298
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
299
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
300
|
+
key: str
|
|
301
|
+
value: str
|
|
302
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
303
|
+
|
|
304
|
+
class AnnotationsEntry(_message.Message):
|
|
305
|
+
__slots__ = ("key", "value")
|
|
306
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
307
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
308
|
+
key: str
|
|
309
|
+
value: str
|
|
310
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
311
|
+
|
|
312
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
313
|
+
NAMESPACE_FIELD_NUMBER: _ClassVar[int]
|
|
314
|
+
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
315
|
+
ANNOTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
316
|
+
CREATION_TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
317
|
+
SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
318
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
319
|
+
CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
320
|
+
name: str
|
|
321
|
+
namespace: str
|
|
322
|
+
labels: _containers.ScalarMap[str, str]
|
|
323
|
+
annotations: _containers.ScalarMap[str, str]
|
|
324
|
+
creation_timestamp: int
|
|
325
|
+
spec: KubernetesScaledObjectSpec
|
|
326
|
+
status: KubernetesScaledObjectStatus
|
|
327
|
+
cluster_name: str
|
|
328
|
+
def __init__(
|
|
329
|
+
self,
|
|
330
|
+
name: _Optional[str] = ...,
|
|
331
|
+
namespace: _Optional[str] = ...,
|
|
332
|
+
labels: _Optional[_Mapping[str, str]] = ...,
|
|
333
|
+
annotations: _Optional[_Mapping[str, str]] = ...,
|
|
334
|
+
creation_timestamp: _Optional[int] = ...,
|
|
335
|
+
spec: _Optional[_Union[KubernetesScaledObjectSpec, _Mapping]] = ...,
|
|
336
|
+
status: _Optional[_Union[KubernetesScaledObjectStatus, _Mapping]] = ...,
|
|
337
|
+
cluster_name: _Optional[str] = ...,
|
|
338
|
+
) -> None: ...
|
|
@@ -15,10 +15,11 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
|
|
16
16
|
from chalk._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
|
|
17
17
|
from chalk._gen.chalk.common.v1 import chalk_error_pb2 as chalk_dot_common_dot_v1_dot_chalk__error__pb2
|
|
18
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
21
|
-
b'\n#chalk/protosql/v1/sql_service.proto\x12\x11\x63halk.protosql.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto"
|
|
22
|
+
b'\n#chalk/protosql/v1/sql_service.proto\x12\x11\x63halk.protosql.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xd2\x01\n\x0cSqlQueryInfo\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId\x12>\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tcreatedAt\x88\x01\x01\x12@\n\x0b\x66inished_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\nfinishedAt\x88\x01\x01\x42\r\n\x0b_created_atB\x0e\n\x0c_finished_at"#\n!ExecuteSqlSyncQueryRequestOptions"|\n"ExecuteSqlAsyncQueryRequestOptions\x12V\n\x0e\x65xecution_mode\x18\x01 \x01(\x0e\x32/.chalk.protosql.v1.ExecuteSqlAsyncExecutionModeR\rexecutionMode"?\n#ExecuteSqlResultPersistenceSettings\x12\x18\n\x07\x65nabled\x18\x01 \x01(\x08R\x07\x65nabled"\x9c\x03\n\x16\x45xecuteSqlQueryRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query\x12*\n\x0e\x63orrelation_id\x18\x02 \x01(\tH\x01R\rcorrelationId\x88\x01\x01\x12i\n\x14persistence_settings\x18\x03 \x01(\x0b\x32\x36.chalk.protosql.v1.ExecuteSqlResultPersistenceSettingsR\x13persistenceSettings\x12Y\n\x0csync_options\x18\n \x01(\x0b\x32\x34.chalk.protosql.v1.ExecuteSqlSyncQueryRequestOptionsH\x00R\x0bsyncOptions\x12\\\n\rasync_options\x18\x0b \x01(\x0b\x32\x35.chalk.protosql.v1.ExecuteSqlAsyncQueryRequestOptionsH\x00R\x0c\x61syncOptionsB\t\n\x07optionsB\x11\n\x0f_correlation_id"&\n\x10SignedOutputUris\x12\x12\n\x04uris\x18\x01 \x03(\tR\x04uris"\xb1\x01\n"ExecuteSqlSyncQueryResponsePayload\x12+\n\x10parquet_response\x18\x01 \x01(\x0cH\x00R\x0fparquetResponse\x12S\n\x12signed_output_uris\x18\n \x01(\x0b\x32#.chalk.protosql.v1.SignedOutputUrisH\x00R\x10signedOutputUrisB\t\n\x07payload"\xa0\x01\n#ExecuteSqlAsyncQueryResponsePayload\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId\x12V\n\x0e\x65xecution_mode\x18\x02 \x01(\x0e\x32/.chalk.protosql.v1.ExecuteSqlAsyncExecutionModeR\rexecutionMode"\xcb\x02\n\x17\x45xecuteSqlQueryResponse\x12\x19\n\x08query_id\x18\x01 \x01(\tR\x07queryId\x12\x1a\n\x07parquet\x18\x02 \x01(\x0cH\x00R\x07parquet\x12Z\n\x0csync_payload\x18\n \x01(\x0b\x32\x35.chalk.protosql.v1.ExecuteSqlSyncQueryResponsePayloadH\x00R\x0bsyncPayload\x12]\n\rasync_payload\x18\x0b \x01(\x0b\x32\x36.chalk.protosql.v1.ExecuteSqlAsyncQueryResponsePayloadH\x00R\x0c\x61syncPayload\x12\x33\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrorsB\t\n\x07payload"+\n\x13PlanSqlQueryRequest\x12\x14\n\x05query\x18\x01 \x01(\tR\x05query"n\n\x14PlanSqlQueryResponse\x12!\n\x0clogical_plan\x18\x01 \x01(\tR\x0blogicalPlan\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\x16\n\x14GetDbCatalogsRequest"q\n\x15GetDbCatalogsResponse\x12#\n\rcatalog_names\x18\x01 \x03(\tR\x0c\x63\x61talogNames\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\xd0\x01\n\x13GetDbSchemasRequest\x12\x1d\n\x07\x63\x61talog\x18\x01 \x01(\tH\x00R\x07\x63\x61talog\x88\x01\x01\x12<\n\x18\x64\x62_schema_filter_pattern\x18\x02 \x01(\tH\x01R\x15\x64\x62SchemaFilterPattern\x88\x01\x01\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrorsB\n\n\x08_catalogB\x1b\n\x19_db_schema_filter_pattern"W\n\x0c\x44\x62SchemaInfo\x12!\n\x0c\x63\x61talog_name\x18\x01 \x01(\tR\x0b\x63\x61talogName\x12$\n\x0e\x64\x62_schema_name\x18\x02 \x01(\tR\x0c\x64\x62SchemaName"\x86\x01\n\x14GetDbSchemasResponse\x12\x39\n\x07schemas\x18\x01 \x03(\x0b\x32\x1f.chalk.protosql.v1.DbSchemaInfoR\x07schemas\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\x9f\x02\n\x10GetTablesRequest\x12\x1d\n\x07\x63\x61talog\x18\x01 \x01(\tH\x00R\x07\x63\x61talog\x88\x01\x01\x12<\n\x18\x64\x62_schema_filter_pattern\x18\x02 \x01(\tH\x01R\x15\x64\x62SchemaFilterPattern\x88\x01\x01\x12>\n\x19table_name_filter_pattern\x18\x03 \x01(\tH\x02R\x16tableNameFilterPattern\x88\x01\x01\x12\'\n\x0finclude_schemas\x18\n \x01(\x08R\x0eincludeSchemasB\n\n\x08_catalogB\x1b\n\x19_db_schema_filter_patternB\x1c\n\x1a_table_name_filter_pattern"\xbd\x01\n\tTableInfo\x12!\n\x0c\x63\x61talog_name\x18\x01 \x01(\tR\x0b\x63\x61talogName\x12$\n\x0e\x64\x62_schema_name\x18\x02 \x01(\tR\x0c\x64\x62SchemaName\x12\x1d\n\ntable_name\x18\x03 \x01(\tR\ttableName\x12\x31\n\x12table_arrow_schema\x18\x04 \x01(\x0cH\x00R\x10tableArrowSchema\x88\x01\x01\x42\x15\n\x13_table_arrow_schema"~\n\x11GetTablesResponse\x12\x34\n\x06tables\x18\x01 \x03(\x0b\x32\x1c.chalk.protosql.v1.TableInfoR\x06tables\x12\x33\n\x06\x65rrors\x18\x05 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\x16\n\x14SqlQueryProgressInfo"I\n\x12SqlQueryFailedInfo\x12\x33\n\x06\x65rrors\x18\x01 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"8\n\x13PollSqlQueryRequest\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId"\xb2\x02\n\x14PollSqlQueryResponse\x12\x33\n\x04info\x18\x01 \x01(\x0b\x32\x1f.chalk.protosql.v1.SqlQueryInfoR\x04info\x12\x45\n\x08progress\x18\n \x01(\x0b\x32\'.chalk.protosql.v1.SqlQueryProgressInfoH\x00R\x08progress\x12S\n\x08response\x18\x0b \x01(\x0b\x32\x35.chalk.protosql.v1.ExecuteSqlSyncQueryResponsePayloadH\x00R\x08response\x12?\n\x06\x66\x61iled\x18\x0c \x01(\x0b\x32%.chalk.protosql.v1.SqlQueryFailedInfoH\x00R\x06\x66\x61iledB\x08\n\x06result*\xad\x01\n\x1c\x45xecuteSqlAsyncExecutionMode\x12\x30\n,EXECUTE_SQL_ASYNC_EXECUTION_MODE_UNSPECIFIED\x10\x00\x12/\n+EXECUTE_SQL_ASYNC_EXECUTION_MODE_IN_PROCESS\x10\x01\x12*\n&EXECUTE_SQL_ASYNC_EXECUTION_MODE_ASYNC\x10\x02\x32\xf3\x04\n\nSqlService\x12m\n\x0f\x45xecuteSqlQuery\x12).chalk.protosql.v1.ExecuteSqlQueryRequest\x1a*.chalk.protosql.v1.ExecuteSqlQueryResponse"\x03\x80}\x03\x12\x64\n\x0cPlanSqlQuery\x12&.chalk.protosql.v1.PlanSqlQueryRequest\x1a\'.chalk.protosql.v1.PlanSqlQueryResponse"\x03\x80}\x03\x12\x64\n\x0cPollSqlQuery\x12&.chalk.protosql.v1.PollSqlQueryRequest\x1a\'.chalk.protosql.v1.PollSqlQueryResponse"\x03\x80}\x03\x12g\n\rGetDbCatalogs\x12\'.chalk.protosql.v1.GetDbCatalogsRequest\x1a(.chalk.protosql.v1.GetDbCatalogsResponse"\x03\x80}\x0b\x12\x64\n\x0cGetDbSchemas\x12&.chalk.protosql.v1.GetDbSchemasRequest\x1a\'.chalk.protosql.v1.GetDbSchemasResponse"\x03\x80}\x0b\x12[\n\tGetTables\x12#.chalk.protosql.v1.GetTablesRequest\x1a$.chalk.protosql.v1.GetTablesResponse"\x03\x80}\x0b\x42\x8e\x01\n\x15\x63om.chalk.protosql.v1B\x0fSqlServiceProtoP\x01\xa2\x02\x03\x43PX\xaa\x02\x11\x43halk.Protosql.V1\xca\x02\x11\x43halk\\Protosql\\V1\xe2\x02\x1d\x43halk\\Protosql\\V1\\GPBMetadata\xea\x02\x13\x43halk::Protosql::V1b\x06proto3'
|
|
22
23
|
)
|
|
23
24
|
|
|
24
25
|
_globals = globals()
|
|
@@ -33,36 +34,62 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
33
34
|
_globals["_SQLSERVICE"].methods_by_name["ExecuteSqlQuery"]._serialized_options = b"\200}\003"
|
|
34
35
|
_globals["_SQLSERVICE"].methods_by_name["PlanSqlQuery"]._options = None
|
|
35
36
|
_globals["_SQLSERVICE"].methods_by_name["PlanSqlQuery"]._serialized_options = b"\200}\003"
|
|
37
|
+
_globals["_SQLSERVICE"].methods_by_name["PollSqlQuery"]._options = None
|
|
38
|
+
_globals["_SQLSERVICE"].methods_by_name["PollSqlQuery"]._serialized_options = b"\200}\003"
|
|
36
39
|
_globals["_SQLSERVICE"].methods_by_name["GetDbCatalogs"]._options = None
|
|
37
40
|
_globals["_SQLSERVICE"].methods_by_name["GetDbCatalogs"]._serialized_options = b"\200}\013"
|
|
38
41
|
_globals["_SQLSERVICE"].methods_by_name["GetDbSchemas"]._options = None
|
|
39
42
|
_globals["_SQLSERVICE"].methods_by_name["GetDbSchemas"]._serialized_options = b"\200}\013"
|
|
40
43
|
_globals["_SQLSERVICE"].methods_by_name["GetTables"]._options = None
|
|
41
44
|
_globals["_SQLSERVICE"].methods_by_name["GetTables"]._serialized_options = b"\200}\013"
|
|
42
|
-
_globals["
|
|
43
|
-
_globals["
|
|
44
|
-
_globals["
|
|
45
|
-
_globals["
|
|
46
|
-
_globals["
|
|
47
|
-
_globals["
|
|
48
|
-
_globals["
|
|
49
|
-
_globals["
|
|
50
|
-
_globals["
|
|
51
|
-
_globals["
|
|
52
|
-
_globals["
|
|
53
|
-
_globals["
|
|
54
|
-
_globals["
|
|
55
|
-
_globals["
|
|
56
|
-
_globals["
|
|
57
|
-
_globals["
|
|
58
|
-
_globals["
|
|
59
|
-
_globals["
|
|
60
|
-
_globals["
|
|
61
|
-
_globals["
|
|
62
|
-
_globals["
|
|
63
|
-
_globals["
|
|
64
|
-
_globals["
|
|
65
|
-
_globals["
|
|
66
|
-
_globals["
|
|
67
|
-
_globals["
|
|
45
|
+
_globals["_EXECUTESQLASYNCEXECUTIONMODE"]._serialized_start = 3542
|
|
46
|
+
_globals["_EXECUTESQLASYNCEXECUTIONMODE"]._serialized_end = 3715
|
|
47
|
+
_globals["_SQLQUERYINFO"]._serialized_start = 160
|
|
48
|
+
_globals["_SQLQUERYINFO"]._serialized_end = 370
|
|
49
|
+
_globals["_EXECUTESQLSYNCQUERYREQUESTOPTIONS"]._serialized_start = 372
|
|
50
|
+
_globals["_EXECUTESQLSYNCQUERYREQUESTOPTIONS"]._serialized_end = 407
|
|
51
|
+
_globals["_EXECUTESQLASYNCQUERYREQUESTOPTIONS"]._serialized_start = 409
|
|
52
|
+
_globals["_EXECUTESQLASYNCQUERYREQUESTOPTIONS"]._serialized_end = 533
|
|
53
|
+
_globals["_EXECUTESQLRESULTPERSISTENCESETTINGS"]._serialized_start = 535
|
|
54
|
+
_globals["_EXECUTESQLRESULTPERSISTENCESETTINGS"]._serialized_end = 598
|
|
55
|
+
_globals["_EXECUTESQLQUERYREQUEST"]._serialized_start = 601
|
|
56
|
+
_globals["_EXECUTESQLQUERYREQUEST"]._serialized_end = 1013
|
|
57
|
+
_globals["_SIGNEDOUTPUTURIS"]._serialized_start = 1015
|
|
58
|
+
_globals["_SIGNEDOUTPUTURIS"]._serialized_end = 1053
|
|
59
|
+
_globals["_EXECUTESQLSYNCQUERYRESPONSEPAYLOAD"]._serialized_start = 1056
|
|
60
|
+
_globals["_EXECUTESQLSYNCQUERYRESPONSEPAYLOAD"]._serialized_end = 1233
|
|
61
|
+
_globals["_EXECUTESQLASYNCQUERYRESPONSEPAYLOAD"]._serialized_start = 1236
|
|
62
|
+
_globals["_EXECUTESQLASYNCQUERYRESPONSEPAYLOAD"]._serialized_end = 1396
|
|
63
|
+
_globals["_EXECUTESQLQUERYRESPONSE"]._serialized_start = 1399
|
|
64
|
+
_globals["_EXECUTESQLQUERYRESPONSE"]._serialized_end = 1730
|
|
65
|
+
_globals["_PLANSQLQUERYREQUEST"]._serialized_start = 1732
|
|
66
|
+
_globals["_PLANSQLQUERYREQUEST"]._serialized_end = 1775
|
|
67
|
+
_globals["_PLANSQLQUERYRESPONSE"]._serialized_start = 1777
|
|
68
|
+
_globals["_PLANSQLQUERYRESPONSE"]._serialized_end = 1887
|
|
69
|
+
_globals["_GETDBCATALOGSREQUEST"]._serialized_start = 1889
|
|
70
|
+
_globals["_GETDBCATALOGSREQUEST"]._serialized_end = 1911
|
|
71
|
+
_globals["_GETDBCATALOGSRESPONSE"]._serialized_start = 1913
|
|
72
|
+
_globals["_GETDBCATALOGSRESPONSE"]._serialized_end = 2026
|
|
73
|
+
_globals["_GETDBSCHEMASREQUEST"]._serialized_start = 2029
|
|
74
|
+
_globals["_GETDBSCHEMASREQUEST"]._serialized_end = 2237
|
|
75
|
+
_globals["_DBSCHEMAINFO"]._serialized_start = 2239
|
|
76
|
+
_globals["_DBSCHEMAINFO"]._serialized_end = 2326
|
|
77
|
+
_globals["_GETDBSCHEMASRESPONSE"]._serialized_start = 2329
|
|
78
|
+
_globals["_GETDBSCHEMASRESPONSE"]._serialized_end = 2463
|
|
79
|
+
_globals["_GETTABLESREQUEST"]._serialized_start = 2466
|
|
80
|
+
_globals["_GETTABLESREQUEST"]._serialized_end = 2753
|
|
81
|
+
_globals["_TABLEINFO"]._serialized_start = 2756
|
|
82
|
+
_globals["_TABLEINFO"]._serialized_end = 2945
|
|
83
|
+
_globals["_GETTABLESRESPONSE"]._serialized_start = 2947
|
|
84
|
+
_globals["_GETTABLESRESPONSE"]._serialized_end = 3073
|
|
85
|
+
_globals["_SQLQUERYPROGRESSINFO"]._serialized_start = 3075
|
|
86
|
+
_globals["_SQLQUERYPROGRESSINFO"]._serialized_end = 3097
|
|
87
|
+
_globals["_SQLQUERYFAILEDINFO"]._serialized_start = 3099
|
|
88
|
+
_globals["_SQLQUERYFAILEDINFO"]._serialized_end = 3172
|
|
89
|
+
_globals["_POLLSQLQUERYREQUEST"]._serialized_start = 3174
|
|
90
|
+
_globals["_POLLSQLQUERYREQUEST"]._serialized_end = 3230
|
|
91
|
+
_globals["_POLLSQLQUERYRESPONSE"]._serialized_start = 3233
|
|
92
|
+
_globals["_POLLSQLQUERYRESPONSE"]._serialized_end = 3539
|
|
93
|
+
_globals["_SQLSERVICE"]._serialized_start = 3718
|
|
94
|
+
_globals["_SQLSERVICE"]._serialized_end = 4345
|
|
68
95
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
|
|
2
2
|
from chalk._gen.chalk.common.v1 import chalk_error_pb2 as _chalk_error_pb2
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
3
4
|
from google.protobuf.internal import containers as _containers
|
|
5
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
4
6
|
from google.protobuf import descriptor as _descriptor
|
|
5
7
|
from google.protobuf import message as _message
|
|
6
8
|
from typing import (
|
|
@@ -13,24 +15,116 @@ from typing import (
|
|
|
13
15
|
|
|
14
16
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
15
17
|
|
|
18
|
+
class ExecuteSqlAsyncExecutionMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
19
|
+
__slots__ = ()
|
|
20
|
+
EXECUTE_SQL_ASYNC_EXECUTION_MODE_UNSPECIFIED: _ClassVar[ExecuteSqlAsyncExecutionMode]
|
|
21
|
+
EXECUTE_SQL_ASYNC_EXECUTION_MODE_IN_PROCESS: _ClassVar[ExecuteSqlAsyncExecutionMode]
|
|
22
|
+
EXECUTE_SQL_ASYNC_EXECUTION_MODE_ASYNC: _ClassVar[ExecuteSqlAsyncExecutionMode]
|
|
23
|
+
|
|
24
|
+
EXECUTE_SQL_ASYNC_EXECUTION_MODE_UNSPECIFIED: ExecuteSqlAsyncExecutionMode
|
|
25
|
+
EXECUTE_SQL_ASYNC_EXECUTION_MODE_IN_PROCESS: ExecuteSqlAsyncExecutionMode
|
|
26
|
+
EXECUTE_SQL_ASYNC_EXECUTION_MODE_ASYNC: ExecuteSqlAsyncExecutionMode
|
|
27
|
+
|
|
28
|
+
class SqlQueryInfo(_message.Message):
|
|
29
|
+
__slots__ = ("operation_id", "created_at", "finished_at")
|
|
30
|
+
OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
FINISHED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
operation_id: str
|
|
34
|
+
created_at: _timestamp_pb2.Timestamp
|
|
35
|
+
finished_at: _timestamp_pb2.Timestamp
|
|
36
|
+
def __init__(
|
|
37
|
+
self,
|
|
38
|
+
operation_id: _Optional[str] = ...,
|
|
39
|
+
created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
40
|
+
finished_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
41
|
+
) -> None: ...
|
|
42
|
+
|
|
43
|
+
class ExecuteSqlSyncQueryRequestOptions(_message.Message):
|
|
44
|
+
__slots__ = ()
|
|
45
|
+
def __init__(self) -> None: ...
|
|
46
|
+
|
|
47
|
+
class ExecuteSqlAsyncQueryRequestOptions(_message.Message):
|
|
48
|
+
__slots__ = ("execution_mode",)
|
|
49
|
+
EXECUTION_MODE_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
execution_mode: ExecuteSqlAsyncExecutionMode
|
|
51
|
+
def __init__(self, execution_mode: _Optional[_Union[ExecuteSqlAsyncExecutionMode, str]] = ...) -> None: ...
|
|
52
|
+
|
|
53
|
+
class ExecuteSqlResultPersistenceSettings(_message.Message):
|
|
54
|
+
__slots__ = ("enabled",)
|
|
55
|
+
ENABLED_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
enabled: bool
|
|
57
|
+
def __init__(self, enabled: bool = ...) -> None: ...
|
|
58
|
+
|
|
16
59
|
class ExecuteSqlQueryRequest(_message.Message):
|
|
17
|
-
__slots__ = ("query",)
|
|
60
|
+
__slots__ = ("query", "correlation_id", "persistence_settings", "sync_options", "async_options")
|
|
18
61
|
QUERY_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
CORRELATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
PERSISTENCE_SETTINGS_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
SYNC_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
ASYNC_OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
19
66
|
query: str
|
|
20
|
-
|
|
67
|
+
correlation_id: str
|
|
68
|
+
persistence_settings: ExecuteSqlResultPersistenceSettings
|
|
69
|
+
sync_options: ExecuteSqlSyncQueryRequestOptions
|
|
70
|
+
async_options: ExecuteSqlAsyncQueryRequestOptions
|
|
71
|
+
def __init__(
|
|
72
|
+
self,
|
|
73
|
+
query: _Optional[str] = ...,
|
|
74
|
+
correlation_id: _Optional[str] = ...,
|
|
75
|
+
persistence_settings: _Optional[_Union[ExecuteSqlResultPersistenceSettings, _Mapping]] = ...,
|
|
76
|
+
sync_options: _Optional[_Union[ExecuteSqlSyncQueryRequestOptions, _Mapping]] = ...,
|
|
77
|
+
async_options: _Optional[_Union[ExecuteSqlAsyncQueryRequestOptions, _Mapping]] = ...,
|
|
78
|
+
) -> None: ...
|
|
79
|
+
|
|
80
|
+
class SignedOutputUris(_message.Message):
|
|
81
|
+
__slots__ = ("uris",)
|
|
82
|
+
URIS_FIELD_NUMBER: _ClassVar[int]
|
|
83
|
+
uris: _containers.RepeatedScalarFieldContainer[str]
|
|
84
|
+
def __init__(self, uris: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
85
|
+
|
|
86
|
+
class ExecuteSqlSyncQueryResponsePayload(_message.Message):
|
|
87
|
+
__slots__ = ("parquet_response", "signed_output_uris")
|
|
88
|
+
PARQUET_RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
SIGNED_OUTPUT_URIS_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
parquet_response: bytes
|
|
91
|
+
signed_output_uris: SignedOutputUris
|
|
92
|
+
def __init__(
|
|
93
|
+
self,
|
|
94
|
+
parquet_response: _Optional[bytes] = ...,
|
|
95
|
+
signed_output_uris: _Optional[_Union[SignedOutputUris, _Mapping]] = ...,
|
|
96
|
+
) -> None: ...
|
|
97
|
+
|
|
98
|
+
class ExecuteSqlAsyncQueryResponsePayload(_message.Message):
|
|
99
|
+
__slots__ = ("operation_id", "execution_mode")
|
|
100
|
+
OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
EXECUTION_MODE_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
operation_id: str
|
|
103
|
+
execution_mode: ExecuteSqlAsyncExecutionMode
|
|
104
|
+
def __init__(
|
|
105
|
+
self,
|
|
106
|
+
operation_id: _Optional[str] = ...,
|
|
107
|
+
execution_mode: _Optional[_Union[ExecuteSqlAsyncExecutionMode, str]] = ...,
|
|
108
|
+
) -> None: ...
|
|
21
109
|
|
|
22
110
|
class ExecuteSqlQueryResponse(_message.Message):
|
|
23
|
-
__slots__ = ("query_id", "parquet", "errors")
|
|
111
|
+
__slots__ = ("query_id", "parquet", "sync_payload", "async_payload", "errors")
|
|
24
112
|
QUERY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
25
113
|
PARQUET_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
SYNC_PAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
ASYNC_PAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
26
116
|
ERRORS_FIELD_NUMBER: _ClassVar[int]
|
|
27
117
|
query_id: str
|
|
28
118
|
parquet: bytes
|
|
119
|
+
sync_payload: ExecuteSqlSyncQueryResponsePayload
|
|
120
|
+
async_payload: ExecuteSqlAsyncQueryResponsePayload
|
|
29
121
|
errors: _containers.RepeatedCompositeFieldContainer[_chalk_error_pb2.ChalkError]
|
|
30
122
|
def __init__(
|
|
31
123
|
self,
|
|
32
124
|
query_id: _Optional[str] = ...,
|
|
33
125
|
parquet: _Optional[bytes] = ...,
|
|
126
|
+
sync_payload: _Optional[_Union[ExecuteSqlSyncQueryResponsePayload, _Mapping]] = ...,
|
|
127
|
+
async_payload: _Optional[_Union[ExecuteSqlAsyncQueryResponsePayload, _Mapping]] = ...,
|
|
34
128
|
errors: _Optional[_Iterable[_Union[_chalk_error_pb2.ChalkError, _Mapping]]] = ...,
|
|
35
129
|
) -> None: ...
|
|
36
130
|
|
|
@@ -150,3 +244,37 @@ class GetTablesResponse(_message.Message):
|
|
|
150
244
|
tables: _Optional[_Iterable[_Union[TableInfo, _Mapping]]] = ...,
|
|
151
245
|
errors: _Optional[_Iterable[_Union[_chalk_error_pb2.ChalkError, _Mapping]]] = ...,
|
|
152
246
|
) -> None: ...
|
|
247
|
+
|
|
248
|
+
class SqlQueryProgressInfo(_message.Message):
|
|
249
|
+
__slots__ = ()
|
|
250
|
+
def __init__(self) -> None: ...
|
|
251
|
+
|
|
252
|
+
class SqlQueryFailedInfo(_message.Message):
|
|
253
|
+
__slots__ = ("errors",)
|
|
254
|
+
ERRORS_FIELD_NUMBER: _ClassVar[int]
|
|
255
|
+
errors: _containers.RepeatedCompositeFieldContainer[_chalk_error_pb2.ChalkError]
|
|
256
|
+
def __init__(self, errors: _Optional[_Iterable[_Union[_chalk_error_pb2.ChalkError, _Mapping]]] = ...) -> None: ...
|
|
257
|
+
|
|
258
|
+
class PollSqlQueryRequest(_message.Message):
|
|
259
|
+
__slots__ = ("operation_id",)
|
|
260
|
+
OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
261
|
+
operation_id: str
|
|
262
|
+
def __init__(self, operation_id: _Optional[str] = ...) -> None: ...
|
|
263
|
+
|
|
264
|
+
class PollSqlQueryResponse(_message.Message):
|
|
265
|
+
__slots__ = ("info", "progress", "response", "failed")
|
|
266
|
+
INFO_FIELD_NUMBER: _ClassVar[int]
|
|
267
|
+
PROGRESS_FIELD_NUMBER: _ClassVar[int]
|
|
268
|
+
RESPONSE_FIELD_NUMBER: _ClassVar[int]
|
|
269
|
+
FAILED_FIELD_NUMBER: _ClassVar[int]
|
|
270
|
+
info: SqlQueryInfo
|
|
271
|
+
progress: SqlQueryProgressInfo
|
|
272
|
+
response: ExecuteSqlSyncQueryResponsePayload
|
|
273
|
+
failed: SqlQueryFailedInfo
|
|
274
|
+
def __init__(
|
|
275
|
+
self,
|
|
276
|
+
info: _Optional[_Union[SqlQueryInfo, _Mapping]] = ...,
|
|
277
|
+
progress: _Optional[_Union[SqlQueryProgressInfo, _Mapping]] = ...,
|
|
278
|
+
response: _Optional[_Union[ExecuteSqlSyncQueryResponsePayload, _Mapping]] = ...,
|
|
279
|
+
failed: _Optional[_Union[SqlQueryFailedInfo, _Mapping]] = ...,
|
|
280
|
+
) -> None: ...
|