Skip to content

cache argument to lru_cache_function isn't supported #10

@Kylotan

Description

@Kylotan

If you try this code from the docs:

d = LRUCacheDict(max_size=3, expiration=3, thread_clear=True)

@lru_cache_function(cache=d)
def f(x):
    return x/2

You'll get this error:
TypeError: lru_cache_function() got an unexpected keyword argument 'cache'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions