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

Local function caching module based on dill #1

Open
CasperWA opened this issue May 2, 2022 · 1 comment
Open

Local function caching module based on dill #1

CasperWA opened this issue May 2, 2022 · 1 comment
Labels
enhancement New feature or request priority/low LOW priority issue/PR

Comments

@CasperWA
Copy link
Collaborator

CasperWA commented May 2, 2022

The dill package seems to be able to serialize most Python most objects, even lambda functions, which would be ideal for local caching of said functions used within semantic triples and the SOFT7 entities to represent the functions to be resolved in order to retrieve desired parameter values.

@CasperWA CasperWA added enhancement New feature or request priority/low LOW priority issue/PR labels May 2, 2022
@CasperWA
Copy link
Collaborator Author

Note, since pydantic v2, one can pickle pydantic BaseModels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/low LOW priority issue/PR
Projects
None yet
Development

No branches or pull requests

1 participant