invenio-cache 3.0.1__tar.gz → 3.0.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: invenio-cache
3
- Version: 3.0.1
3
+ Version: 3.0.2
4
4
  Summary: Cache module for Invenio.
5
5
  Project-URL: Repository, https://github.com/inveniosoftware/invenio-cache
6
6
  Author-email: CERN <info@inveniosoftware.org>
@@ -1,6 +1,7 @@
1
1
  # SPDX-FileCopyrightText: 2017-2018 CERN.
2
2
  # SPDX-FileCopyrightText: 2024-2026 Graz University of Technology.
3
3
  # SPDX-FileCopyrightText: 2026 TU Wien.
4
+ # SPDX-FileCopyrightText: 2026 KTH Royal Institute of Technology.
4
5
  # SPDX-License-Identifier: MIT
5
6
 
6
7
  """Cache module for Invenio.
@@ -12,7 +13,7 @@ Create a Flask application:
12
13
 
13
14
  >>> from flask import Flask
14
15
  >>> app = Flask('myapp')
15
- >>> app.config['CACHE_TYPE'] = 'simple'
16
+ >>> app.config['CACHE_TYPE'] = 'SimpleCache'
16
17
 
17
18
  Initialize Invenio-Cache:
18
19
 
@@ -74,7 +75,7 @@ from .decorators import cached_unless_authenticated
74
75
  from .ext import InvenioCache
75
76
  from .proxies import current_cache, current_cache_ext
76
77
 
77
- __version__ = "3.0.1"
78
+ __version__ = "3.0.2"
78
79
 
79
80
  __all__ = (
80
81
  "__version__",
@@ -1,5 +1,6 @@
1
1
  # SPDX-FileCopyrightText: 2017-2018 CERN.
2
2
  # SPDX-FileCopyrightText: 2025 Graz University of Technology.
3
+ # SPDX-FileCopyrightText: 2026 KTH Royal Institute of Technology.
3
4
  # SPDX-License-Identifier: MIT
4
5
 
5
6
  """Configuration for Invenio-Cache module.
@@ -16,7 +17,7 @@ CACHE_KEY_PREFIX = "cache::"
16
17
  """Cache key prefix."""
17
18
 
18
19
  #: Sets the cache type.
19
- CACHE_TYPE = "flask_caching.backends.redis"
20
+ CACHE_TYPE = "flask_caching.backends.RedisCache"
20
21
  """Cache type.
21
22
 
22
23
  Please refer to Flask-Caching documentation for other cache types.
File without changes
File without changes
File without changes
File without changes