So as the title describes, python is not committing to the database even if I ask it to
The following code is the one I use for inserting into the database: