def obj_update(self, bundle, request=None, **kwargs):
        # this try/except logging is more helpful than 500 / 404 errors on the
        # client side
        bundle = self.check_read_create(bundle)
        request = request or bundle.request
        try:
            bundle = super(MTResource, self).obj_update(
                bundle, **kwargs)
            bundle.obj.save(user=request.user)
            return bundle
        except Exception:  # pragma: no cover
            logger.exception("error updating %s", bundle)  # pragma: no cover
            raise  # pragma: no cover
Set the modified_by field for the object to the request's user
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/mtapi.py/MTResource.obj_update