def METHOD_NAME(self) -> Direction:
    """Return the direction of the metric: < or >."""
    return cast(
        Direction,
        self.get("direction") or self.__data_model["metrics"][self.type()]["direction"],
    )