missing import: sqlalchemy.exc.IntegrityError