sqlalchemy.exc.InvalidRequestError
sqlalchemy.exc.InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (sqlite3.IntegrityError) NOT NULL constraint failed: follows.follower_id [SQL: 'INSERT INTO follows (followed_id, timestamp) VALUES (?, ?)'] [parameters: (100, '2017-09-08 07:31:07.391094')]
小弟新手,哪位大牛给看看是为什么
parameters的值没有替换followed_id变量,仔细检查一下格式化传递值
谢谢