import inspect


def get_default_args(func):
    """Get default arguments of a function.
    """
    signature = inspect.signature(func)
    return {
        k: v.default
        for k, v in signature.parameters.items()
        if v.default is not inspect.Parameter.empty
    }

[(7, 'inspect.signature', 'inspect.signature', False, 'import inspect\n')]