We were testing one of the modules from LiteDispatch.com and realized that the boolean values read with the SQLAlchemy models were always true. A few tests and a short search on internet led us to the short solution of changing the fields (in Mysql database) from BIT to TINYINT.
Flask, when boolean is always true
- Post author:gabriel
- Post published:January 3, 2019
- Post category:Flask / software development