Answer by Bleeding Fingers for SQLAlchemy primary key assignement
You don't need to worry about the primary-key to create the Notification just pass the Event object to the Notification, and commit. You're good to go.SQLAlchemy doesn't assign the primary-key, it is...
View ArticleSQLAlchemy primary key assignement
I'm wondering where in the process of creating objects and storing them in the database the primary key gets assigned by SQLAlchemy. In my app, when something happens I create an Event for that...
View Article