from typing import Callable
import inspect


def get_first_parameter(function: Callable) -> str:
    """Get the name of the first parameter of a function.

    Args:
        function: The function whose first parameter name we want.

    Returns:
        The name of the first parameter.
    """
    sig = inspect.signature(function)
    return list(sig.parameters.keys())[0]