from abc import ABC, abstractmethod

class BaseOperator(ABC):
    """Base class for all operators in the AIForge pipeline."""

    @abstractmethod
    def run(self, data, **kwargs):
        """Execute the operation on the provided data."""
        raise NotImplementedError("Subclasses must implement the 'run' method.")
