Closed davibicudo closed 3 years ago
I was also able to use this when running arbitrary code in Jupyter. Caching worked well and devalidation as well, when the code changed (inspect.getsource seems to habe done it's job). Using "global" make it no longer robust, but may be helpful for interactive tests and caching (although IPython also has other solutions for that):
Really nice, I like the jupyter integration! It would be nice if you could add some unit tests so this is robust for the future. Thanks!
Sounds good, I'll increment the PR with a couple tests then.
Please update the CHANGELOG.md
then it should be good to go :) Thanks!
This PR adresses issues #52 and #53. It doesn't cover the issues entirely however. @sebhoerl let me know what you think, perhaps you have some other ideas in mind on how to solve the same issues.