code: def save(self, obj):
          
          session = self.get_db_session()
          session.add(obj)
          session.commit()
  
          return obj
docs: Add ``obj`` to the SQLAlchemy session and commit the changes back to
          the database.
  
          :param obj: SQLAlchemy object being saved
          :returns: The saved object