multiget_cache/function_tools.py
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)))
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)))
def get_default_args ( func ) : 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
returns a dictionary of arg_name : default_values for the input function