def register_db(app):
    from .models import db

    db.init_app(app)
Adds a class to an attribute dict.
dataset/ETHPy150Open Akagi201/learning-python/flask/flask-boost/test/application/__init__.py/register_db--crossover with--dataset/ETHPy150Open mitsuhiko/fungiform/fungiform/widgets.py/_add_class