people-api
people-api copied to clipboard
Windows pycharm not create the database
When run the command python .\build_database.py
the final result ma = Marshmallow(app) File "C:\Users\Yuliana_Saavedra.virtualenvs\people-api-H27KOUgq\lib\site-packages\flask_marshmallow_init_.py", line 103, in init self.init_app(app) File "C:\Users\Yuliana_Saavedra.virtualenvs\people-api-H27KOUgq\lib\site-packages\flask_marshmallow_init_.py", line 116, in init_app self.SQLAlchemySchema.OPTIONS_CLASS.session = db.session AttributeError: '_SQLAlchemyState' object has no attribute 'session'