Attumm / redis-dict

Python dictionary with Redis as backend, built for large datasets. Simplifies Redis operations for large-scale and distributed systems. Supports various data types, namespacing, pipelining, and expiration.
https://attumm.github.io/redis-dict/
MIT License
53 stars 14 forks source link

V3.2.0 pre release #82

Closed Attumm closed 1 week ago

Attumm commented 3 weeks ago

This release focused on adding Python dictionary behavior to Redis Dict. Two missing features have been addressed:

  1. Raise-on-Delete Flag: Redis Dict will now have a new boolean flag, raise_key_error_delete. When set to True, Redis Dict will raise a KeyError when attempting to delete a key that has already been deleted. While this behavior might not be ideal in distributed computing scenarios due to potential edge cases, thanks to @bypoops for providing the solution.
  2. Python Redis Dict: This new Python Redis Dict aims to be a direct drop-in replacement for a standard Python dictionary. It will support insertion order and future updates will include typed keys and nested support for complete compatibility. @enzoBrum for analysing the issue and bringing up the issue

51

46

codecov-commenter commented 3 weeks ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 99.21260% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.14%. Comparing base (261bc74) to head (c7d2a0c).

Files with missing lines Patch % Lines
src/redis_dict/core.py 97.72% 1 Missing :warning:
tests/unit/tests_insertion_order_methods.py 98.92% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #82 +/- ## ========================================== - Coverage 97.53% 93.14% -4.39% ========================================== Files 3 13 +10 Lines 325 1372 +1047 ========================================== + Hits 317 1278 +961 - Misses 8 94 +86 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: