

def _get_value_for_keys(keys, obj, default):
    if (len(keys) == 1):
        return _get_value_for_key(keys[0], obj, default)
    else:
        return _get_value_for_keys(keys[1:], _get_value_for_key(keys[0], obj, default), default)

dataset/ETHPy150Open flask-restful/flask-restful/flask_restful/fields.py _get_value_for_keys/original