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 exclude_kwargs to memoization decorators #38

Merged
merged 2 commits into from
Aug 16, 2023
Merged

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Mar 12, 2021

Part of implementing dandi/dandi-cli#400.

Blocked by joblib/joblib#1164 (edit by @yarikoptic: already closed and likely released)

@jwodder jwodder added the minor Increment the minor version when merged label Mar 12, 2021
@yarikoptic
Copy link
Member

eh, said that blocked by joblib. I wonder if we should have own memoization implementation and then not pull joblib dependency at all... but I haven't looked inside joblib yet to assess if it is not-trivial enough to not want to reimplement/support.

@codecov-commenter
Copy link

codecov-commenter commented Jan 11, 2022

Codecov Report

Merging #38 (3be202c) into master (5169dec) will decrease coverage by 0.04%.
The diff coverage is 93.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   93.06%   93.02%   -0.05%     
==========================================
  Files           3        3              
  Lines         404      430      +26     
  Branches       49       52       +3     
==========================================
+ Hits          376      400      +24     
- Misses         17       18       +1     
- Partials       11       12       +1     
Impacted Files Coverage Δ
src/fscacher/cache.py 90.29% <77.77%> (-1.24%) ⬇️
src/fscacher/tests/test_cache.py 94.09% <100.00%> (+0.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5169dec...3be202c. Read the comment docs.

@jwodder jwodder marked this pull request as ready for review January 11, 2022 16:35
yarikoptic and others added 2 commits August 16, 2023 08:57
 Conflicts upon rebase:
	src/fscacher/cache.py - imports + near memoize_path signature - mimiced order like in memoize
	src/fscacher/tests/test_cache.py - trivial -- keep both added tests
@yarikoptic yarikoptic added the release Create a release when this pr is merged label Aug 16, 2023
@yarikoptic
Copy link
Member

was alerted to this one of the oldest outstanding PRs. Rebased, pushed, added release label - will merge if all ok

@yarikoptic yarikoptic merged commit 59dc2e0 into master Aug 16, 2023
9 checks passed
@yarikoptic yarikoptic deleted the exclude-kwargs branch August 16, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged release Create a release when this pr is merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants