Coverage for yaptide/persistence/database.py: 100%
4 statements
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-22 07:31 +0000
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-22 07:31 +0000
1from flask_sqlalchemy import SQLAlchemy
2from sqlalchemy.orm import DeclarativeBase
5class Base(DeclarativeBase):
6 """Base class for all models"""
9db = SQLAlchemy(model_class=Base)