def update_run_state(
        self,
        _id: ObjectId,
        run_state: ExecutionRunState,
        result: ExecutionResult = None,
        run_link: str = None,
        log_path: str = None,
        progress: ExecutionProgress = None,
        required_state: ExecutionRunState = None,
    ) -> DelegatedOperationDocument:
        """Update the run state of an operation."""
        raise NotImplementedError("subclass must implement update_run_state()")
Update the run state of an operation.
fiftyone/factory/repos/delegated_operation.py