from typing import Callable
from typing import Dict
from typing import Any
import inspect


def get_default_args(func: Callable) -> Dict[str, Any]:
    """
    Return all default arguments for the given function.

    :param func: The function for which to retrieve default arguments.
    :returns: A dictionary of default arguments.
    """
    result = dict()

    for (key, val) in inspect.signature(func).parameters.items():
        if val.default is not inspect.Parameter.empty:
            result[key] = val.default

    return result