Silences SQLALCHEMY_TRACK_MODIFICATIONS warning

This commit is contained in:
Aaron Louie 2020-03-16 13:47:17 -04:00
parent 40e12f5ab5
commit cbd8d2f46c
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ connexion_app = connexion.FlaskApp(__name__)
app = connexion_app.app
app.config.from_object('config.default')
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
auth = HTTPTokenAuth('Bearer')
if "TESTING" in os.environ and os.environ["TESTING"] == "true":