from_disk: introduce a ModelObjectType enum
This sets the pieces in place to finally cleanup the confusion from the various object_type attributes. They now have different type, so we should be able to start detecting error at some point. As for FromDiskType, we keep compatibility with string value for now. This avoid breaking existing code.
Loading
Please register or sign in to comment