rediscache 1.1.3__tar.gz → 1.1.4__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,8 +1,9 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: rediscache
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: Redis caching of functions evolving over time
5
5
  License: MIT
6
+ License-File: LICENSE
6
7
  Keywords: redis,performance,cache
7
8
  Author: Pierre Cart-Grandjean
8
9
  Author-email: pcart-grandjean@amadeus.com
@@ -18,6 +19,7 @@ Classifier: Programming Language :: Python :: 3
18
19
  Classifier: Programming Language :: Python :: 3.11
19
20
  Classifier: Programming Language :: Python :: 3.12
20
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
21
23
  Classifier: Programming Language :: Python :: 3.10
22
24
  Classifier: Programming Language :: Python :: 3.9
23
25
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
@@ -1,7 +1,7 @@
1
1
  # For more details on this file see: https://python-poetry.org/docs/pyproject/
2
2
  [tool.poetry]
3
3
  name = "rediscache"
4
- version = "1.1.3"
4
+ version = "1.1.4"
5
5
  description = "Redis caching of functions evolving over time"
6
6
  authors = ["Pierre Cart-Grandjean <pcart-grandjean@amadeus.com>"]
7
7
  license = "MIT"
@@ -106,7 +106,17 @@ class RedisCache:
106
106
  use_kwargs: Optional[List[str]] = None,
107
107
  ) -> str:
108
108
  """
109
- Create a key from the function's name and its parameters values
109
+ Create a key from the function's name and its parameters values.
110
+
111
+ Args:
112
+ name: The name of the function.
113
+ args: The list of positional parameters passed to the function.
114
+ use_args: If not all, the indexes of the positional parameters to be used.
115
+ kwargs: The dictionary of named parameters passed to the function.
116
+ use_kwargs: If not all, the names of the parameters to be used.
117
+
118
+ Returns:
119
+ str: The key to be used in the Redis database.
110
120
  """
111
121
  values = []
112
122
  if args:
File without changes
File without changes