def METHOD_NAME(self, *args: Any, **kwargs) -> Any:
    """
    Abstract method for flushing a metric.
    This method must be implemented in subclasses to add a metric and return a combined metrics dictionary.
    Parameters
    ----------
    *args:
        Positional arguments.
    *kwargs:
        Keyword arguments.
    Raises
    ----------
    NotImplementedError
        This method must be implemented in subclasses.
    """
    raise NotImplementedError