Opinionated set of mixins. Implemented in Data Classes, Pydantic, SQLAlchemy, SQLModel, MongoEngine, ODMantic, Beanie, and WTForms.
MIT License
2
stars
0
forks
source link
Enhancement: There are properties (attrs, columns, etc.) such as `id`, `date_created`, and `date_updated` which are common to many models, why continue copy-paste? #8
Is your feature request related to a problem? Please describe.
I'm always frustrated when I have to create (copy-paste) a base Mixin for the id, date_created, and date_updated columns.
Describe the solution you'd like
Include mixins such as IDMixin, DateCreatedMixin, and DateUpdatedMixin.
Is your feature request related to a problem? Please describe. I'm always frustrated when I have to create (copy-paste) a base Mixin for the
id
,date_created
, anddate_updated
columns.Describe the solution you'd like Include mixins such as
IDMixin
,DateCreatedMixin
, andDateUpdatedMixin
.