Redis-cached

Latest version: v0.4.5

Safety actively analyzes 701698 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.5

Added

* Support for Python 3.13

0.4.4

Fixed

* When OutOfMemoryError is raised while trying to cache the result, log a warning instead of crashing.

0.4.3

Fixed

* Do not log an error message for trying to release an unlocked lock

0.4.2

Fixed

* Added error handling for attempting to release an unlocked lock (e.g. when it was unlocked by timeout)

0.4.1

Fixed

* In rare cases, because of Redis replication not being fast enough, a cache refresh lock may be acquired but appear not owned on an attempt to release it. Now it will make several attempts to release it. The lock itself now has an expiration time in case it is never released successfully.

Added

* You can optionally configure the timeout for the cache refresh lock.

0.4.0

Added

* You can now use your own async Redis instance with custom configuration for the cache. Refer to the docs for usage examples.

Changed

* Major breaking change: the cache is implemented as a class now. Refer to the docs for usage examples.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.