Skip to content

[Feature request] ignore some arguments in caching #11

@nicolas-popsize

Description

@nicolas-popsize

It would be very handy to have an exclude parameters from the cache hash compute:

@cache(exclude=["session"])
def some_function(session, real_arg):

and avoid errors AttributeError: Can't pickle local object

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