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

Support persistence when code is imported w/ importlib module #49

Open
shaypal5 opened this issue Apr 6, 2021 · 0 comments
Open

Support persistence when code is imported w/ importlib module #49

shaypal5 opened this issue Apr 6, 2021 · 0 comments

Comments

@shaypal5
Copy link
Collaborator

shaypal5 commented Apr 6, 2021

@shaoyucheng used cachier directly in his business code, and found it was not working. He then set up some test code to verify, and it worked well as expected. He finally found the key point was his business code was running through importlib module and the underlying framework codes generated a uuid for every module imported at every running time which disturbed the unique module name obtained by cachier.

  1. It's a point worthy of attention if your running mechanism is similar to his.
  2. It might be worthwhile supporting this functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant