How to Solve NameError: name 'Integer' is not defined -- sqlalchemy

Solution: Import the 'Integer' module

To Solve the error, add the following line to the top of your code.

from sqlalchemy import Integer

 

For more information:
Python sqlalchemy Integer