code: def perform_create(self, data):
          
  
          instance = self.model(**data)
          self.request.dbsession.add(instance)
          self.request.dbsession.flush()
          return instance
docs: Hook for controlling the creation of an model instance. Override this if you need to do more with your
          data before saving your object than just mapping the deserialized data to a new instance of ``self.model``.