lisa.utils: Add optional_kwargs() decorator
Decorator to allow another decorator to optional take keyword parameters. This enables both the argument-less and with-argument calls to be used transparently on the same decorator, like functools.lru_cache().
Loading
Please register or sign in to comment