admin管理员组文章数量:1566353
记一次报错:C:\Program Files\Python36\lib\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.
最近碰到的一个问题,pycharm运行程序时报错C:\Program Files\Python36\lib\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.
解决方案:
在C:\Program Files\Python36\lib\site-packages\flask_sqlalchemy\下修改__init__.py,ctrl+F搜索到SQLALCHEMY_TRACK_MODIFICATIONS,把none修改为True可解决
本文标签: significantaddsSQLALCHEMYTRACKMODIFICATIONSoverheadfutu
版权声明:本文标题:SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the futu 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1725721029a1038376.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论