What is the proper way to insert an object with a foreign key in SQLAlchemy?,transaction.commit()