Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add invalidate_cache function to Memory public interface #1542

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

khemarato
Copy link

Adds a simple function to the public interface for a Memory-ized function that allows the user to clear just one value from the cache. Luckily, the store_backend already has the functionality to do this, it just needs to be exposed.

@fcharras
Copy link
Contributor

fcharras commented Apr 3, 2024

Fixes #1559

@fcharras
Copy link
Contributor

fcharras commented Apr 3, 2024

@buddhist-uni thank you for the PR.

Before merging it requires adding at least a test to Memory test suite at joblib/test/test_memory.py, also a usage example in examples/memory_basic_usage.py would be a nice addition.

Would you like to continue pushing this PR forward or should we complete from your initial commit ?

@fcharras fcharras self-requested a review April 3, 2024 09:24
@khemarato
Copy link
Author

Please take it from here 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants