code: def _add(self, obj, data, **kwargs):
          
          if isinstance(obj, sqlalchemy.orm.query.Query):
              obj = obj.one()
          obj = self.preprocessing(obj=obj or self.table)\
              .add(self.session, data, self.table)
          self.session.add(obj)
          if kwargs.get('commit', self.commit) is True:
              try:
                  self.session.commit()
              except AssertionError:
                  transaction.commit()
          return obj
docs: Update the object directly.
  
          .. code-block:: python
  
              DBSession.sacrud(Users)._add(UserObj, {'name': 'Gennady'})