-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Labels
Description
The plugin can't find fields from mixins or abstract models.
class _UserMixin:
some_field = s.Column(s.Integer)
class User(_UserMixin, Base):
...
User(some_field=1, ...)Get error:
error: Unexpected column "some_field" for model "User"Same error in this case:
class _UserBase(Base):
__abstract__ = True
some_field = s.Column(s.Integer)
class User(_UserBase):
...
User(some_field=1, ...)joaosoares and olirice