code: def insert(self, **kwargs):
          
          if len(kwargs['values']) == 0:
              config.logger.warning('No values to insert.')
              return
          values = kwargs['values']
          if isinstance(values, self):
              values = values.attributes.copy()
          if isinstance(values, dict):
              for (k, v) in values.items():
                  if v is None:
                      del kwargs['values'][k]
          kwargs['stack'] = self.stack_mark(inspect.stack())
          kwargs['primary_key'] = self.primary_key
          column_names = self.table_schema().keys()
          now = datetime.utcnow()
          for field in ('created_at', 'updated_at'):
              if field in column_names:
                  kwargs['values'][field] = now
          results = self.db_adapter(role='master').insert(**kwargs)
          return self.record_or_model(results)
docs: Performs an INSERT statement on the model's table in the master database.
  
          :param values: A dictionary containing the values to be inserted. ``datetime``, ``dict`` and ``bool`` objects can be passed as is and will be correctly serialized by psycopg2.
          :type values: dict