SINTEF/soft7

Local function caching module based on `dill`

Opened this issue · 1 comments

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.

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