def get_func_kwargs(func):
 return compat.inspect_getargspec(func)[0]

def get_func_kwargs ( func ) : return compat . inspect_getargspec ( func ) [ 0 ]
return the set of legal kwargs for the given func .