Why does persistent_cache add an underscore to the path if it's an imported function? #6716
-
When defining a function with persistent-cache in notebook A: @mo.persistent_cache
def func(x):
return x * 2 And importing it in notebook B: from A import func Calling Expected behavior: Both having the same path. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think we just never added test coverage for it, or thought about it- so it slipped through the cracks. Definitely a bug. Fixed in #6731 Thanks for reporting! Issues are a bit easier to track, but still appreciate you taking the time |
Beta Was this translation helpful? Give feedback.
I think we just never added test coverage for it, or thought about it- so it slipped through the cracks. Definitely a bug. Fixed in #6731
Thanks for reporting! Issues are a bit easier to track, but still appreciate you taking the time