DanCardin / sqlalchemy-declarative-extensions

Library to declare additional kinds of objects not natively supported by SqlAlchemy/Alembic.
https://sqlalchemy-declarative-extensions.readthedocs.io/en/latest/
Apache License 2.0
32 stars 5 forks source link

fix: Simplify view definition options. #16

Closed DanCardin closed 1 year ago

DanCardin commented 1 year ago

Avoid the shortcomings of the original interface which required special avoidance of sqlalchemy and alembic's normal function for awareness of tables.

Now instead, the registration is done in a way that ensures alembic/sqlalchemy ignore the objects automatically, while still making them usable on the orm query interface.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3713960042


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/sqlalchemy_declarative_extensions/view/base.py 57 60 95.0%
<!-- Total: 73 76 96.05% -->
Totals Coverage Status
Change from base Build 3648241592: 1.3%
Covered Lines: 1534
Relevant Lines: 1589

💛 - Coveralls