openworm / owmeta-core

Core library for owmeta
MIT License
3 stars 2 forks source link

Remove automatic creation of class registry context in Mapper #41

Open mwatts15 opened 2 years ago

mwatts15 commented 2 years ago

We automatically create a class registry context ID in Mapper if none is set, but this is potentially very confusing because it allows you to save a Mapper to a context that was not specified and which would not be looked up automatically, meaning you could save instances, then try to look them up again and not be able to recover the same Python type for the instances.