Skip to content

Commit 9ca7ef3

Browse files
committed
fix: disk_cache custom args format values.
1 parent 98f0b8e commit 9ca7ef3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.4.10] UNRELEASED
6+
### Fixed
7+
- Disk cache custom keywords arguments for cache filename.
8+
59
## [0.4.9] 2026-02-06
610
### Fixed
711
- `Version` now ignores buildmetadata when comparing versions.

src/pythonwrench/disk_cache.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ def _disk_cache_wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
441441
if cache_fname_fmt_args is None or argname in cache_fname_fmt_args
442442
}
443443
kwds.update(inputs_kwds)
444+
kwds.update(kwargs)
444445

445446
cache_fname = cache_fname_fmt(**kwds)
446447
cache_fpath = cache_fn_dpath.joinpath(cache_fname)

0 commit comments

Comments
 (0)