def rerun_operation(self, doc_id):
        """Reruns the specified delegated operation.

        Args:
            doc_id: the ID of the delegated operation

        Returns:
            a :class:`fiftyone.factory.repos.DelegatedOperationDocument`
        """
        doc = self._repo.get(_id=doc_id)
        if doc is None:
            raise ValueError(f"No delegated operation with {doc_id=} found")
        if doc.group_id:
            raise ValueError("Cannot rerun a child delegated operation.")
        return self._repo.queue_operation(**doc.__dict__)
Reruns the specified delegated operation.

        Args:
            doc_id: the ID of the delegated operation

        Returns:
            a :class:`fiftyone.factory.repos.DelegatedOperationDocument`
        
fiftyone/operators/delegated.py