build-a-flask-api icon indicating copy to clipboard operation
build-a-flask-api copied to clipboard

SQLAlchemy throwing deprecation warnings

Open e1nh4nd3r opened this issue 7 years ago • 0 comments

Un-pinned version of Flask-SQLAlchemy may be to blame here. Possible to pin to an older version or maybe set the correct variable/value.

(venv) jgoin@Tsume ~/repos/build-a-flask-api/step07 (master) $ python puppy.py createdb
/Users/jgoin/repos/build-a-flask-api/venv/lib/python3.6/site-packages/flask_sqlalchemy/__init__.py:794: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future.  Set it to True or False to suppress this warning.
  'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
Database created!
(venv) jgoin@Tsume ~/repos/build-a-flask-api/step07 (master) $ python puppy.py seeddb
/Users/jgoin/repos/build-a-flask-api/venv/lib/python3.6/site-packages/flask_sqlalchemy/__init__.py:794: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future.  Set it to True or False to suppress this warning.
  'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
Database seeded!

e1nh4nd3r avatar Jun 03 '18 02:06 e1nh4nd3r