def METHOD_NAME(callback: Callable) -> dict[str, inspect.Parameter]:
    """
    Gets all the parameters of a callback.
    Args:
        callback: The callback to get the parameters of
    Returns:
        A dictionary of parameters
    """
    return {p.name: p for p in inspect.signature(callback).parameters.values()}