def to_dict(self):
        """Returns the properties of the execution context as a dict."""
        return {
            k: v for k, v in self.__dict__.items() if not k.startswith("_")
        }
Returns the properties of the execution context as a dict.
fiftyone/operators/executor.py