code: def add_object(self, object):
          
          if object.id is None:
              object.get_id()
          self.db.engine.save(object)
docs: Add object to db session. Only for session-centric object-database mappers.