Skip to content

Commit 6f19889

Browse files
committed
Add parameter getter to cache params
1 parent c762612 commit 6f19889

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/RecoPlans/Cache.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function hashed_process(algo, param::ProcessResultCache, inputs...)
2525
end
2626
return result
2727
end
28+
parameter(param::ProcessResultCache) = param.param
2829

2930
function clear!(plan::RecoPlan{<:ProcessResultCache}, preserve::Bool = true)
3031
dict = getfield(plan, :values)

0 commit comments

Comments
 (0)