Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Probably it is throwing that error because you are using 'True' and 'False'. Those values are of type String. Remove the '' to use Boolean instead of String.
Probably it is throwing that error because you are using 'True' and 'False'. Those values are of type String. Remove the '' to use Boolean instead of String.