#273 Change ORM models to dataclassess
Opened by kparal. Modified

SQLAlchemy 2.0 brought an option to use dataclasses as ORM models. That brings nice improvements, like not having to define __init__() methods, possibly more accurate type hints, and more. See more documentation.

Unfortunately, at this moment, it's not supported by Flask-SQLAlchemy, see this issue.

Once the issue is resolved, consider switching our ORM classes to dataclasses.


DeclarativeBase is now supported by a recent Flask-Sqlalchemy >= 3.1.0 release fyi.

Metadata Update from @kparal:
- Custom field story_points adjusted to 3

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/quality/blockerbugs/issues/273

Please continue any further discussion there.

Log in to comment on this ticket.

Metadata