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.
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.