orchestrator-core icon indicating copy to clipboard operation
orchestrator-core copied to clipboard

Detect usage of `BaseModel`

Open kvklink opened this issue 2 years ago • 0 comments

Detect and somehow deter people from having their objects inherit from the pydantic BaseModel instead of ProductBlockModel. When inheriting from BaseModel, SQLAlchemy will not store and retrieve them consistently, which results in ValueErrors.

kvklink avatar Jun 27 '23 12:06 kvklink