I'm not sure what's the idea behind the duplicate db.session.add() calls.
db.session.add()
+1
rebased onto c0637efb9d06b0ba07312eb7b2b4e6eaea36c7f4
Pull-Request has been merged by lholecek