Flask-cache

Latest version: v0.13.1

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

Scan your dependencies

Page 3 of 4

0.5.0

- Deleting memoized functions now properly functions in production
environments where multiple instances of the application are running.
- get_memoized_names and get_memoized_keys have been removed.
- Added ``make_name`` to memoize, make_name is an optional callable that can be passed
to memoize to modify the cache_key that gets generated.
- Added ``unless`` to memoize, this is the same as the unless parameter in ``cached``
- memoization now converts all kwargs to positional arguments, this is so that
when a function is called multiple ways, it would evaluate to the same cache_key

0.4.0

- Added attributes for uncached, make_cache_key, cache_timeout
to the decorated functions.

0.3.4

- UTF-8 encoding of cache key
- key_prefix argument of the cached decorator now supports callables.

0.3.3

Uses base64 for memoize caching. This fixes rare issues where the cache_key
was either a tuple or larger than the caching backend would be able to
support.

Adds support for deleting memoized caches optionally based on function parameters.

Python 2.5 compatibility, plus bugfix with string.format.

Added the ability to retrieve memoized function names or cache keys.

0.3.2

Bugfix release. Fixes a bug that would cause an exception if no
``CACHE_TYPE`` was supplied.

0.3.1

Pypi egg fix.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.