mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 17:52:02 +00:00
![Patrick Cloke](/assets/img/avatar_default.png)
* `@cached` can now take an `uncached_args` which is an iterable of names to not use in the cache key. * Requires `@cached`, @cachedList` and `@lru_cache` to use keyword arguments for clarity. * Asserts that keyword-only arguments in cached functions are not accepted. (I tested this briefly and I don't believe this works properly.)
2 lines
60 B
Plaintext
2 lines
60 B
Plaintext
Support skipping some arguments when generating cache keys.
|