chalkpy 2.94.1__py3-none-any.whl → 2.94.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2.py +38 -0
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2.pyi +25 -0
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.py +80 -0
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.pyi +36 -0
- chalk/_version.py +1 -1
- {chalkpy-2.94.1.dist-info → chalkpy-2.94.2.dist-info}/METADATA +2 -2
- {chalkpy-2.94.1.dist-info → chalkpy-2.94.2.dist-info}/RECORD +10 -6
- {chalkpy-2.94.1.dist-info → chalkpy-2.94.2.dist-info}/WHEEL +0 -0
- {chalkpy-2.94.1.dist-info → chalkpy-2.94.2.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.94.1.dist-info → chalkpy-2.94.2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/engine/v1/query_planning_server.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.enginestorage.v1 import adhoc_query_pb2 as chalk_dot_enginestorage_dot_v1_dot_adhoc__query__pb2
|
|
17
|
+
from chalk._gen.chalk.planner.v1 import batch_operator_pb2 as chalk_dot_planner_dot_v1_dot_batch__operator__pb2
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
21
|
+
b'\n+chalk/engine/v1/query_planning_server.proto\x12\x0f\x63halk.engine.v1\x1a(chalk/enginestorage/v1/adhoc_query.proto\x1a%chalk/planner/v1/batch_operator.proto"x\n\x16\x43reateBatchPlanRequest\x12^\n\x13\x61ll_planning_inputs\x18\x01 \x01(\x0b\x32..chalk.enginestorage.v1.AllPlanningInputsProtoR\x11\x61llPlanningInputs"r\n\x17\x43reateBatchPlanResponse\x12:\n\nbatch_plan\x18\x01 \x01(\x0b\x32\x1b.chalk.planner.v1.BatchPlanR\tbatchPlan\x12\x1b\n\tcache_hit\x18\x02 \x01(\x08R\x08\x63\x61\x63heHit2~\n\x14QueryPlanningService\x12\x66\n\x0f\x43reateBatchPlan\x12\'.chalk.engine.v1.CreateBatchPlanRequest\x1a(.chalk.engine.v1.CreateBatchPlanResponse"\x00\x42\x8d\x01\n\x13\x63om.chalk.engine.v1B\x18QueryPlanningServerProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V1\xca\x02\x0f\x43halk\\Engine\\V1\xe2\x02\x1b\x43halk\\Engine\\V1\\GPBMetadata\xea\x02\x11\x43halk::Engine::V1b\x06proto3'
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
_globals = globals()
|
|
25
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
26
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "chalk.engine.v1.query_planning_server_pb2", _globals)
|
|
27
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
28
|
+
_globals["DESCRIPTOR"]._options = None
|
|
29
|
+
_globals[
|
|
30
|
+
"DESCRIPTOR"
|
|
31
|
+
]._serialized_options = b"\n\023com.chalk.engine.v1B\030QueryPlanningServerProtoP\001\242\002\003CEX\252\002\017Chalk.Engine.V1\312\002\017Chalk\\Engine\\V1\342\002\033Chalk\\Engine\\V1\\GPBMetadata\352\002\021Chalk::Engine::V1"
|
|
32
|
+
_globals["_CREATEBATCHPLANREQUEST"]._serialized_start = 145
|
|
33
|
+
_globals["_CREATEBATCHPLANREQUEST"]._serialized_end = 265
|
|
34
|
+
_globals["_CREATEBATCHPLANRESPONSE"]._serialized_start = 267
|
|
35
|
+
_globals["_CREATEBATCHPLANRESPONSE"]._serialized_end = 381
|
|
36
|
+
_globals["_QUERYPLANNINGSERVICE"]._serialized_start = 383
|
|
37
|
+
_globals["_QUERYPLANNINGSERVICE"]._serialized_end = 509
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from chalk._gen.chalk.enginestorage.v1 import adhoc_query_pb2 as _adhoc_query_pb2
|
|
2
|
+
from chalk._gen.chalk.planner.v1 import batch_operator_pb2 as _batch_operator_pb2
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class CreateBatchPlanRequest(_message.Message):
|
|
10
|
+
__slots__ = ("all_planning_inputs",)
|
|
11
|
+
ALL_PLANNING_INPUTS_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
all_planning_inputs: _adhoc_query_pb2.AllPlanningInputsProto
|
|
13
|
+
def __init__(
|
|
14
|
+
self, all_planning_inputs: _Optional[_Union[_adhoc_query_pb2.AllPlanningInputsProto, _Mapping]] = ...
|
|
15
|
+
) -> None: ...
|
|
16
|
+
|
|
17
|
+
class CreateBatchPlanResponse(_message.Message):
|
|
18
|
+
__slots__ = ("batch_plan", "cache_hit")
|
|
19
|
+
BATCH_PLAN_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
CACHE_HIT_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
batch_plan: _batch_operator_pb2.BatchPlan
|
|
22
|
+
cache_hit: bool
|
|
23
|
+
def __init__(
|
|
24
|
+
self, batch_plan: _Optional[_Union[_batch_operator_pb2.BatchPlan, _Mapping]] = ..., cache_hit: bool = ...
|
|
25
|
+
) -> None: ...
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
|
|
4
|
+
import grpc
|
|
5
|
+
|
|
6
|
+
from chalk._gen.chalk.engine.v1 import (
|
|
7
|
+
query_planning_server_pb2 as chalk_dot_engine_dot_v1_dot_query__planning__server__pb2,
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class QueryPlanningServiceStub(object):
|
|
12
|
+
"""Missing associated documentation comment in .proto file."""
|
|
13
|
+
|
|
14
|
+
def __init__(self, channel):
|
|
15
|
+
"""Constructor.
|
|
16
|
+
|
|
17
|
+
Args:
|
|
18
|
+
channel: A grpc.Channel.
|
|
19
|
+
"""
|
|
20
|
+
self.CreateBatchPlan = channel.unary_unary(
|
|
21
|
+
"/chalk.engine.v1.QueryPlanningService/CreateBatchPlan",
|
|
22
|
+
request_serializer=chalk_dot_engine_dot_v1_dot_query__planning__server__pb2.CreateBatchPlanRequest.SerializeToString,
|
|
23
|
+
response_deserializer=chalk_dot_engine_dot_v1_dot_query__planning__server__pb2.CreateBatchPlanResponse.FromString,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class QueryPlanningServiceServicer(object):
|
|
28
|
+
"""Missing associated documentation comment in .proto file."""
|
|
29
|
+
|
|
30
|
+
def CreateBatchPlan(self, request, context):
|
|
31
|
+
"""Missing associated documentation comment in .proto file."""
|
|
32
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
33
|
+
context.set_details("Method not implemented!")
|
|
34
|
+
raise NotImplementedError("Method not implemented!")
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def add_QueryPlanningServiceServicer_to_server(servicer, server):
|
|
38
|
+
rpc_method_handlers = {
|
|
39
|
+
"CreateBatchPlan": grpc.unary_unary_rpc_method_handler(
|
|
40
|
+
servicer.CreateBatchPlan,
|
|
41
|
+
request_deserializer=chalk_dot_engine_dot_v1_dot_query__planning__server__pb2.CreateBatchPlanRequest.FromString,
|
|
42
|
+
response_serializer=chalk_dot_engine_dot_v1_dot_query__planning__server__pb2.CreateBatchPlanResponse.SerializeToString,
|
|
43
|
+
),
|
|
44
|
+
}
|
|
45
|
+
generic_handler = grpc.method_handlers_generic_handler("chalk.engine.v1.QueryPlanningService", rpc_method_handlers)
|
|
46
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# This class is part of an EXPERIMENTAL API.
|
|
50
|
+
class QueryPlanningService(object):
|
|
51
|
+
"""Missing associated documentation comment in .proto file."""
|
|
52
|
+
|
|
53
|
+
@staticmethod
|
|
54
|
+
def CreateBatchPlan(
|
|
55
|
+
request,
|
|
56
|
+
target,
|
|
57
|
+
options=(),
|
|
58
|
+
channel_credentials=None,
|
|
59
|
+
call_credentials=None,
|
|
60
|
+
insecure=False,
|
|
61
|
+
compression=None,
|
|
62
|
+
wait_for_ready=None,
|
|
63
|
+
timeout=None,
|
|
64
|
+
metadata=None,
|
|
65
|
+
):
|
|
66
|
+
return grpc.experimental.unary_unary(
|
|
67
|
+
request,
|
|
68
|
+
target,
|
|
69
|
+
"/chalk.engine.v1.QueryPlanningService/CreateBatchPlan",
|
|
70
|
+
chalk_dot_engine_dot_v1_dot_query__planning__server__pb2.CreateBatchPlanRequest.SerializeToString,
|
|
71
|
+
chalk_dot_engine_dot_v1_dot_query__planning__server__pb2.CreateBatchPlanResponse.FromString,
|
|
72
|
+
options,
|
|
73
|
+
channel_credentials,
|
|
74
|
+
insecure,
|
|
75
|
+
call_credentials,
|
|
76
|
+
compression,
|
|
77
|
+
wait_for_ready,
|
|
78
|
+
timeout,
|
|
79
|
+
metadata,
|
|
80
|
+
)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from abc import (
|
|
7
|
+
ABCMeta,
|
|
8
|
+
abstractmethod,
|
|
9
|
+
)
|
|
10
|
+
from chalk._gen.chalk.engine.v1.query_planning_server_pb2 import (
|
|
11
|
+
CreateBatchPlanRequest,
|
|
12
|
+
CreateBatchPlanResponse,
|
|
13
|
+
)
|
|
14
|
+
from grpc import (
|
|
15
|
+
Channel,
|
|
16
|
+
Server,
|
|
17
|
+
ServicerContext,
|
|
18
|
+
UnaryUnaryMultiCallable,
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
class QueryPlanningServiceStub:
|
|
22
|
+
def __init__(self, channel: Channel) -> None: ...
|
|
23
|
+
CreateBatchPlan: UnaryUnaryMultiCallable[
|
|
24
|
+
CreateBatchPlanRequest,
|
|
25
|
+
CreateBatchPlanResponse,
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
class QueryPlanningServiceServicer(metaclass=ABCMeta):
|
|
29
|
+
@abstractmethod
|
|
30
|
+
def CreateBatchPlan(
|
|
31
|
+
self,
|
|
32
|
+
request: CreateBatchPlanRequest,
|
|
33
|
+
context: ServicerContext,
|
|
34
|
+
) -> CreateBatchPlanResponse: ...
|
|
35
|
+
|
|
36
|
+
def add_QueryPlanningServiceServicer_to_server(servicer: QueryPlanningServiceServicer, server: Server) -> None: ...
|
chalk/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.94.
|
|
1
|
+
__version__ = "2.94.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chalkpy
|
|
3
|
-
Version: 2.94.
|
|
3
|
+
Version: 2.94.2
|
|
4
4
|
Summary: Python SDK for Chalk
|
|
5
5
|
Author: Chalk AI, Inc.
|
|
6
6
|
Project-URL: Homepage, https://chalk.ai
|
|
@@ -24,7 +24,7 @@ Requires-Dist: cattrs<25,>=22.1.0
|
|
|
24
24
|
Requires-Dist: dataclasses_json>=0.5.7
|
|
25
25
|
Requires-Dist: executing<3,>=1.2.0
|
|
26
26
|
Requires-Dist: googleapis-common-protos>=1.56.0
|
|
27
|
-
Requires-Dist: grpcio<2,>=1.
|
|
27
|
+
Requires-Dist: grpcio<2,>=1.63.0
|
|
28
28
|
Requires-Dist: ipywidgets>=8.0.6
|
|
29
29
|
Requires-Dist: isodate<0.8,>=0.6.1
|
|
30
30
|
Requires-Dist: numpy<3
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
chalk/__init__.py,sha256=9YxwkAt3Im0OCMfpmnIB_4PKjZfBCcRmwATLXdHNRm4,2609
|
|
2
|
-
chalk/_version.py,sha256=
|
|
2
|
+
chalk/_version.py,sha256=IK5bNkpgNQmicBftniZwh9_JCF7TXuXH1aZ4bQTcQWI,23
|
|
3
3
|
chalk/cli.py,sha256=ckqqfOI-A2mT23-rnZzDMmblYj-2x1VBX8ebHlIEn9A,5873
|
|
4
4
|
chalk/importer.py,sha256=m4lMn1lSYj_euDq8CS7LYTBnek9JOcjGJf9-82dJHbA,64441
|
|
5
5
|
chalk/prompts.py,sha256=2H9UomLAamdfRTNUdKs9i3VTpiossuyRhntqsAXUhhg,16117
|
|
@@ -176,6 +176,10 @@ chalk/_gen/chalk/engine/v1/plan_server_pb2.py,sha256=jXu4uFmfJ3-3CUuWI7UHvG4GxeF
|
|
|
176
176
|
chalk/_gen/chalk/engine/v1/plan_server_pb2.pyi,sha256=n1w6-1bwHDFCQA5_VEM6AV9XqMAHOrezxud1wq8RIgs,1658
|
|
177
177
|
chalk/_gen/chalk/engine/v1/plan_server_pb2_grpc.py,sha256=ivCzw4ixyHPWvY5MU4je2Sn7Md0YAPDclAJVifzbsfk,4532
|
|
178
178
|
chalk/_gen/chalk/engine/v1/plan_server_pb2_grpc.pyi,sha256=ekfys8Ph7XYcUQmMGkNGwI6TuptoVSbFI7SMqLY0X9U,1239
|
|
179
|
+
chalk/_gen/chalk/engine/v1/query_planning_server_pb2.py,sha256=XFx5-kotDfyZOZPstpAV3J-ATvZ8rLV6Gg_7X6cUBSI,2687
|
|
180
|
+
chalk/_gen/chalk/engine/v1/query_planning_server_pb2.pyi,sha256=C38EfqzWTUQfoFtRuUi-FKN9CTYIIGgqlInqjalSf70,1161
|
|
181
|
+
chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.py,sha256=DhO0XfRDYgoWwI2d2lecpAoS8ymQJi9Sxc3CDU9FlmU,2994
|
|
182
|
+
chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.pyi,sha256=8ChkgxVfT2LBcba-a1FlZoB3AbgzYW2e_E72R3COdiU,901
|
|
179
183
|
chalk/_gen/chalk/engine/v1/query_server_pb2.py,sha256=P9N752YGIto5UscE_5wWicBmrXOGzx826JSpDlGfwfU,5053
|
|
180
184
|
chalk/_gen/chalk/engine/v1/query_server_pb2.pyi,sha256=JvDayBaIkLly8D9v4blmCdlW0qGxwvQEnT6N9aJHU2Q,862
|
|
181
185
|
chalk/_gen/chalk/engine/v1/query_server_pb2_grpc.py,sha256=umiBlZgTZqCWM0IgAX8jsZRmI1vjyhtXwdbL6nLe8Rc,16536
|
|
@@ -799,8 +803,8 @@ chalk/utils/tracing.py,sha256=Glx8YrtjWy0zE5YbpgfgcsLDshAKnnYm9poiWNeCxXs,11075
|
|
|
799
803
|
chalk/utils/weak_set_by_identity.py,sha256=VmikA_laYwFeOphCwXJIuyOIkrdlQe0bSzaXq7onoQw,953
|
|
800
804
|
chalk/utils/pydanticutil/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
801
805
|
chalk/utils/pydanticutil/pydantic_compat.py,sha256=O575lLYJ5GvZC4HMzR9yATxf9XwjC6NrDUXbNwZidlE,3031
|
|
802
|
-
chalkpy-2.94.
|
|
803
|
-
chalkpy-2.94.
|
|
804
|
-
chalkpy-2.94.
|
|
805
|
-
chalkpy-2.94.
|
|
806
|
-
chalkpy-2.94.
|
|
806
|
+
chalkpy-2.94.2.dist-info/METADATA,sha256=9sXDjSYVOMAQVoH3-lqfTsOLrJUQuewOsZuH9DpWt6s,27494
|
|
807
|
+
chalkpy-2.94.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
808
|
+
chalkpy-2.94.2.dist-info/entry_points.txt,sha256=Vg23sd8icwq-morJrljVFr-kQnMbm95rZfZj5wsZGis,42
|
|
809
|
+
chalkpy-2.94.2.dist-info/top_level.txt,sha256=1Q6_19IGYfNxSw50W8tYKEJ2t5HKQ3W9Wiw4ia5yg2c,6
|
|
810
|
+
chalkpy-2.94.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|