def get_default_args(func):
    """
    returns a dictionary of arg_name:default_values for the input function
    """
    args, _, _, defaults, *rest = inspect.getfullargspec(func)
    return dict(zip(reversed(args), reversed(defaults)))
returns a dictionary of arg_name:default_values for the input function