valkey-glide 1.3.5rc5__cp39-cp39-macosx_10_7_x86_64.whl → 2.0.0rc7__cp39-cp39-macosx_10_7_x86_64.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.

Files changed (32) hide show
  1. glide/__init__.py +11 -7
  2. glide/async_commands/{transaction.py → batch.py} +1408 -987
  3. glide/async_commands/bitmap.py +94 -85
  4. glide/async_commands/cluster_commands.py +308 -123
  5. glide/async_commands/command_args.py +7 -6
  6. glide/async_commands/core.py +1299 -714
  7. glide/async_commands/server_modules/ft.py +83 -14
  8. glide/async_commands/server_modules/ft_options/ft_aggregate_options.py +15 -8
  9. glide/async_commands/server_modules/ft_options/ft_create_options.py +23 -11
  10. glide/async_commands/server_modules/ft_options/ft_profile_options.py +12 -7
  11. glide/async_commands/server_modules/ft_options/ft_search_options.py +12 -6
  12. glide/async_commands/server_modules/glide_json.py +134 -43
  13. glide/async_commands/server_modules/json_batch.py +157 -127
  14. glide/async_commands/sorted_set.py +39 -29
  15. glide/async_commands/standalone_commands.py +199 -95
  16. glide/async_commands/stream.py +94 -87
  17. glide/config.py +165 -105
  18. glide/constants.py +8 -4
  19. glide/glide.cpython-39-darwin.so +0 -0
  20. glide/glide_client.py +273 -94
  21. glide/logger.py +1 -1
  22. glide/protobuf/command_request_pb2.py +15 -15
  23. glide/protobuf/command_request_pb2.pyi +69 -46
  24. glide/protobuf/connection_request_pb2.py +15 -13
  25. glide/protobuf/connection_request_pb2.pyi +57 -29
  26. glide/protobuf/response_pb2.pyi +8 -9
  27. glide/protobuf_codec.py +7 -6
  28. glide/routes.py +41 -8
  29. {valkey_glide-1.3.5rc5.dist-info → valkey_glide-2.0.0rc7.dist-info}/METADATA +30 -11
  30. valkey_glide-2.0.0rc7.dist-info/RECORD +37 -0
  31. valkey_glide-1.3.5rc5.dist-info/RECORD +0 -37
  32. {valkey_glide-1.3.5rc5.dist-info → valkey_glide-2.0.0rc7.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
- "Transaction",
179
+ "Batch",
180
+ "ClusterBatch",
178
181
  "ClusterTransaction",
182
+ "Transaction",
179
183
  "TGlideClient",
180
- "TTransaction",
184
+ "TBatch",
181
185
  # Config
182
186
  "AdvancedGlideClientConfiguration",
183
187
  "AdvancedGlideClusterClientConfiguration",