flask_restful_dbbase.DBBase.init_app

DBBase.init_app(app)

This callback can be used to initialize an application for the use with this database setup. Never use a database in the context of an application not initialized that way or connections will leak.