You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,7 +236,7 @@ Cachier also accepts several keyword arguments in the calls of the function it w
236
236
Ignore Cache
237
237
~~~~~~~~~~~~
238
238
239
-
You can have ``cachier`` ignore any existing cache for a specific function call by passing ``ignore_cache=True`` to the function call. The cache will neither be checked nor updated with the new return value.
239
+
You can have ``cachier`` ignore any existing cache for a specific function call by passing ``cachier__skip_cache=True`` to the function call. The cache will neither be checked nor updated with the new return value.
240
240
241
241
.. code-block:: python
242
242
@@ -245,17 +245,17 @@ You can have ``cachier`` ignore any existing cache for a specific function call
245
245
return first_num + second_num
246
246
247
247
defmain():
248
-
print(sum(5, 3, ignore_cache=True))
248
+
print(sum(5, 3, cachier__skip_cache=True))
249
249
250
250
Overwrite Cache
251
251
~~~~~~~~~~~~~~~
252
252
253
-
You can have ``cachier`` overwrite an existing cache entry - if one exists - for a specific function call by passing ``overwrite_cache=True`` to the function call. The cache will not be checked but will be updated with the new return value.
253
+
You can have ``cachier`` overwrite an existing cache entry - if one exists - for a specific function call by passing ``cachier__overwrite_cache=True`` to the function call. The cache will not be checked but will be updated with the new return value.
254
254
255
255
Verbose Cache Call
256
256
~~~~~~~~~~~~~~~~~~
257
257
258
-
You can have ``cachier`` print out a detailed explanation of the logic of a specific call by passing ``verbose_cache=True`` to the function call. This can be useful if you are not sure why a certain function result is, or is not, returned.
258
+
You can have ``cachier`` print out a detailed explanation of the logic of a specific call by passing ``cachier__verbose=True`` to the function call. This can be useful if you are not sure why a certain function result is, or is not, returned.
0 commit comments