valkey-glide 1.3.5rc3__cp313-cp313-macosx_11_0_arm64.whl → 2.0.0rc6__cp313-cp313-macosx_11_0_arm64.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.
Potentially problematic release.
This version of valkey-glide might be problematic. Click here for more details.
- glide/__init__.py +11 -7
- glide/async_commands/{transaction.py → batch.py} +1413 -987
- glide/async_commands/bitmap.py +94 -85
- glide/async_commands/cluster_commands.py +308 -123
- glide/async_commands/command_args.py +7 -6
- glide/async_commands/core.py +1304 -714
- glide/async_commands/server_modules/ft.py +83 -14
- glide/async_commands/server_modules/ft_options/ft_aggregate_options.py +15 -8
- glide/async_commands/server_modules/ft_options/ft_create_options.py +23 -11
- glide/async_commands/server_modules/ft_options/ft_profile_options.py +12 -7
- glide/async_commands/server_modules/ft_options/ft_search_options.py +12 -6
- glide/async_commands/server_modules/glide_json.py +134 -43
- glide/async_commands/server_modules/json_batch.py +157 -127
- glide/async_commands/sorted_set.py +39 -29
- glide/async_commands/standalone_commands.py +199 -95
- glide/async_commands/stream.py +94 -87
- glide/config.py +165 -105
- glide/constants.py +8 -4
- glide/glide.cpython-313-darwin.so +0 -0
- glide/glide_client.py +274 -95
- glide/logger.py +1 -1
- glide/protobuf/command_request_pb2.py +15 -15
- glide/protobuf/command_request_pb2.pyi +69 -46
- glide/protobuf/connection_request_pb2.py +15 -13
- glide/protobuf/connection_request_pb2.pyi +57 -29
- glide/protobuf/response_pb2.pyi +8 -9
- glide/protobuf_codec.py +7 -6
- glide/routes.py +41 -8
- {valkey_glide-1.3.5rc3.dist-info → valkey_glide-2.0.0rc6.dist-info}/METADATA +30 -11
- valkey_glide-2.0.0rc6.dist-info/RECORD +37 -0
- valkey_glide-1.3.5rc3.dist-info/RECORD +0 -37
- {valkey_glide-1.3.5rc3.dist-info → valkey_glide-2.0.0rc6.dist-info}/WHEEL +0 -0
glide/__init__.py
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0
|
|
2
2
|
|
|
3
|
+
from glide.async_commands.batch import (
|
|
4
|
+
Batch,
|
|
5
|
+
ClusterBatch,
|
|
6
|
+
ClusterTransaction,
|
|
7
|
+
TBatch,
|
|
8
|
+
Transaction,
|
|
9
|
+
)
|
|
3
10
|
from glide.async_commands.bitmap import (
|
|
4
11
|
BitEncoding,
|
|
5
12
|
BitFieldGet,
|
|
@@ -106,11 +113,6 @@ from glide.async_commands.stream import (
|
|
|
106
113
|
TrimByMaxLen,
|
|
107
114
|
TrimByMinId,
|
|
108
115
|
)
|
|
109
|
-
from glide.async_commands.transaction import (
|
|
110
|
-
ClusterTransaction,
|
|
111
|
-
Transaction,
|
|
112
|
-
TTransaction,
|
|
113
|
-
)
|
|
114
116
|
from glide.config import (
|
|
115
117
|
AdvancedGlideClientConfiguration,
|
|
116
118
|
AdvancedGlideClusterClientConfiguration,
|
|
@@ -174,10 +176,12 @@ __all__ = [
|
|
|
174
176
|
# Client
|
|
175
177
|
"GlideClient",
|
|
176
178
|
"GlideClusterClient",
|
|
177
|
-
"
|
|
179
|
+
"Batch",
|
|
180
|
+
"ClusterBatch",
|
|
178
181
|
"ClusterTransaction",
|
|
182
|
+
"Transaction",
|
|
179
183
|
"TGlideClient",
|
|
180
|
-
"
|
|
184
|
+
"TBatch",
|
|
181
185
|
# Config
|
|
182
186
|
"AdvancedGlideClientConfiguration",
|
|
183
187
|
"AdvancedGlideClusterClientConfiguration",
|