mirror of
https://github.com/wassname/cachier.git
synced 2026-09-09 11:19:08 +08:00
readme update
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ Future features
|
||||
Use
|
||||
===
|
||||
|
||||
Cachier provides a decorator which you can wrap around your functions to give them a persistent cache. The positional and keyword arguments to the wrapped function must be hashable (i.e. Python's immutable built-in objects, not mutable containers). Also, notice that since objects which are instances of user-defined classes are hashable but all compare unequal (their hash value is their id), equal objects across different sessions will not yield identical keys.
|
||||
Cachier provides a decorator which you can wrap around your functions to give them a persistent cache. The positional and keyword arguments to the wrapped function must be hashable (i.e. Python's immutable built-in objects, not mutable containers), or pickle-able objects. Also, notice that since objects which are instances of user-defined classes are hashable but all compare unequal (their hash value is their id), equal objects across different sessions will not yield identical keys.
|
||||
|
||||
Setting up a Cache
|
||||
------------------
|
||||
|
||||
Reference in New Issue
Block a user