from typing import Callable
from typing import Any


def get_display_name(function: Callable[..., Any]):
    """
    Get the display name for a step function based on the function name.

    Underscores will be replaced by spaces and each word will be capitalized.

    :param call: The calable for the step function
    :return: The presentation name as a string
    """
    name = function.__name__
    return name.replace("_", " ").title()