(self)
return dict(
            request=request,
            request_params=self.request_params,
            domain=self.domain,
            context={}
        )
For pickling the report when passing it to Celery.
For pickling the report when passing it to Celery.
For pickling the report when passing it to Celery .
def __getstate__(self):
        """
            For pickling the report when passing it to Celery.
        """
        request = request_as_dict(self.request)

        return dict(
            request=request,
            request_params=self.request_params,
            domain=self.domain,
            context={}
        )
def __getstate__ ( self ) : request = request_as_dict ( self . request ) return dict ( request = request , request_params = self . request_params , domain = self . domain , context = { } )