Skip to content

SQLAlchemy throwing deprecation warnings #6

Open
@e1nh4nd3r

Description

@e1nh4nd3r

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions