(self)
Commit changes to DB.
Commit changes to DB.
Commit changes to DB .
def commit(self):
        """Commit changes to DB."""
        self.group.orientation = self._orientation
        self.group.parameters = self._parameters
        db_session.add(self.group)
        db_session.commit()
def commit ( self ) : self . group . orientation = self . _orientation self . group . parameters = self . _parameters db_session . add ( self . group ) db_session . commit ( )