def serialize(self):
        """Serializes the execution context.

        Returns:
            a JSON dict
        """
        return {
            "request_params": self.request_params,
            "params": self.params,
        }
Serializes the execution context.

        Returns:
            a JSON dict
        
fiftyone/operators/executor.py