Python Flask - TypeError: An Integer Is Required (got Type Str)
I'm building a simple web-app in Python Flask but when I am trying to submit the form, I am getting this error message - 'TypeError: an integer is required (got type str)' from fl
Solution 1:
In config parameters PORT must be an Integer you are here passing it in string
#Config MySQL
app.config['MYSQL_PORT'] = '8889' ##pass 8889 instead of '8889'
Post a Comment for "Python Flask - TypeError: An Integer Is Required (got Type Str)"