valkey-glide 2.0.0rc6__cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 2.0.0rc7__cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.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.

@@ -55,7 +55,6 @@ from glide.async_commands.stream import (
55
55
  _create_xpending_range_args,
56
56
  )
57
57
  from glide.constants import TEncodable
58
- from glide.exceptions import RequestError
59
58
  from glide.protobuf.command_request_pb2 import RequestType
60
59
 
61
60
  if sys.version_info >= (3, 13):
@@ -2318,10 +2317,6 @@ class BaseBatch:
2318
2317
  args.append("REPLACE")
2319
2318
  if absttl is True:
2320
2319
  args.append("ABSTTL")
2321
- if idletime is not None and frequency is not None:
2322
- raise RequestError(
2323
- "syntax error: IDLETIME and FREQ cannot be set at the same time."
2324
- )
2325
2320
  if idletime is not None:
2326
2321
  args.extend(["IDLETIME", str(idletime)])
2327
2322
  if frequency is not None:
@@ -5589,7 +5584,7 @@ class ClusterBatch(BaseBatch):
5589
5584
  # TODO: add all CLUSTER commands
5590
5585
 
5591
5586
 
5592
- @deprecated("Use ClusterBatch(is_atomic=True) instead.")
5587
+ @deprecated("Use Batch(is_atomic=True) instead.")
5593
5588
  class Transaction(Batch):
5594
5589
  def __init__(self):
5595
5590
  super().__init__(is_atomic=True)
@@ -61,7 +61,6 @@ from glide.constants import (
61
61
  TXInfoStreamFullResponse,
62
62
  TXInfoStreamResponse,
63
63
  )
64
- from glide.exceptions import RequestError
65
64
  from glide.protobuf.command_request_pb2 import RequestType
66
65
  from glide.routes import Route
67
66
 
@@ -6650,10 +6649,6 @@ class CoreCommands(Protocol):
6650
6649
  args.append("REPLACE")
6651
6650
  if absttl is True:
6652
6651
  args.append("ABSTTL")
6653
- if idletime is not None and frequency is not None:
6654
- raise RequestError(
6655
- "syntax error: IDLETIME and FREQ cannot be set at the same time."
6656
- )
6657
6652
  if idletime is not None:
6658
6653
  args.extend(["IDLETIME", str(idletime)])
6659
6654
  if frequency is not None:
Binary file
glide/glide_client.py CHANGED
@@ -397,7 +397,7 @@ class BaseClient(CoreCommands):
397
397
  for arg in args_list:
398
398
  encoded_arg = self._encode_arg(arg) if isinstance(arg, str) else arg
399
399
  encoded_args_list.append(encoded_arg)
400
- args_size += sys.getsizeof(encoded_arg)
400
+ args_size += len(encoded_arg)
401
401
  return (encoded_args_list, args_size)
402
402
 
403
403
  async def _execute_command(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: valkey-glide
3
- Version: 2.0.0rc6
3
+ Version: 2.0.0rc7
4
4
  Classifier: Topic :: Database
5
5
  Classifier: Topic :: Utilities
6
6
  Classifier: License :: OSI Approved :: Apache Software License
@@ -1,9 +1,9 @@
1
- valkey_glide-2.0.0rc6.dist-info/METADATA,sha256=yOI45wSVq6bfF0HKNWungAYTiHdVrsLyn_lf57cznRg,5650
2
- valkey_glide-2.0.0rc6.dist-info/WHEEL,sha256=0fY0Gok4MVI7CsbvF9XzC33tjsFfv__wuRdMORKFzR8,131
1
+ valkey_glide-2.0.0rc7.dist-info/METADATA,sha256=JZCHx9sqjhS0Tj05RJ22jjPa_QvUQmDfNMQ0IknjfHE,5650
2
+ valkey_glide-2.0.0rc7.dist-info/WHEEL,sha256=0fY0Gok4MVI7CsbvF9XzC33tjsFfv__wuRdMORKFzR8,131
3
3
  glide/config.py,sha256=1IkmvCPLU9nm7EpwcvYT3URoLWApWGr6eSRmuyPXDyA,28891
4
4
  glide/glide.pyi,sha256=K2CeC-F0E8vlr-rbko-E0PofzFoWl4da-xUQSuvuFDo,1105
5
5
  glide/__init__.py,sha256=nCbDQf344sIuXbaCsivrjBjkQ3kaP_ArT3IQnzTUFx8,7372
6
- glide/glide_client.py,sha256=E6bS-Yu9XNKERD9QjWm4ukbdjMPD17KtWPXLddhBvXQ,31880
6
+ glide/glide_client.py,sha256=n9Vp7vjqRjHNK24YqHU35YkeDUriberJC5RPPS4_EeI,31870
7
7
  glide/exceptions.py,sha256=ZI_LwIduoR-1jHm9-6jWZkx90AqCJLRtjbv4iESIEEA,1194
8
8
  glide/protobuf_codec.py,sha256=xwt4-D4WbvNIY_vjOd-00c73HOyNjWq7nN-Z718PBVA,3667
9
9
  glide/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -27,11 +27,11 @@ glide/async_commands/server_modules/ft_options/ft_profile_options.py,sha256=19t7
27
27
  glide/async_commands/server_modules/ft_options/ft_aggregate_options.py,sha256=hnutaOAZB5iFNJ_GKK2K48gm-iiuR-rhaCFUOD6VtBM,9919
28
28
  glide/async_commands/server_modules/ft.py,sha256=xOV22Znj9z9clKK5XZUL8UhthSbiA1F2H11EOKtMJCg,16840
29
29
  glide/async_commands/server_modules/json_batch.py,sha256=XBySnoRJnm1ABPYBnajHmPK6C-Wr9uk3gjNg2s7wVm8,36631
30
- glide/async_commands/batch.py,sha256=MMNXtdY7cOCXuFCkHoliZIejZZJb0ApJWxJuXXinGsU,230704
30
+ glide/async_commands/batch.py,sha256=DOCXFbIZWNuBzIi_6P1Qt3HvRZVblBwoUxr_4imE8A4,230468
31
31
  glide/async_commands/sorted_set.py,sha256=nALPJQNNjW7dAqXMDJIur_xDwnJzQCdqxtx5zXYCRNM,11458
32
32
  glide/async_commands/stream.py,sha256=y3tmuOc-Ndnjvc__xybBcf2wqoNUQ1H1hPXYerpwNA8,15582
33
- glide/async_commands/core.py,sha256=ZYjUwpf7DJBlBC7KPHSiRjbA6lbWcBbY8xEGxkJXRno,316713
33
+ glide/async_commands/core.py,sha256=NS8jfMonU46KGPUZV5csKAueajwZlhs5FJI-aCSlLBY,316484
34
34
  glide/async_commands/standalone_commands.py,sha256=vfqXTIU5YLMsHUD9MD3Qi1vccD9QMSQuH38mpo_5rjU,39510
35
35
  glide/async_commands/command_args.py,sha256=55vpSxeQr8wFU7olkFTEecl66wPk1g6vWxVYj16UvXs,2529
36
- glide/glide.cpython-39-aarch64-linux-gnu.so,sha256=1iGa6zUzLIPBoMGAPp4tPVPGgB_VxXRagmk26Q5hb-U,6767208
37
- valkey_glide-2.0.0rc6.dist-info/RECORD,,
36
+ glide/glide.cpython-39-aarch64-linux-gnu.so,sha256=-BM5pEFoHlZrfFfkwiFOMr2vUqLin8_wdhXDwjETICw,6832720
37
+ valkey_glide-2.0.0rc7.dist-info/RECORD,,