def arg_lookup(fun):
    ret = {'kwargs': {}}
    aspec = salt.utils.args.get_function_argspec(fun)
    if aspec.defaults:
        ret['kwargs'] = dict(zip(aspec.args[::-1], aspec.defaults[::-1]))
    ret['args'] = [arg for arg in aspec.args if arg not in ret['kwargs']]
    return ret
Manage a Dell Chassis.
dataset/ETHPy150Open saltstack/salt/salt/utils/__init__.py/arg_lookup--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/dellchassis.py/chassis