from pydantic import ConfigDict class ObjModelMixin: """ Shared code for ObjModel. """ id: int model_config = ConfigDict(from_attributes=True)