def _parse_typed_parameter_typed_value(values):
    type_, value = _expand_one_key_dictionary(values)

    _current_parameter_value.type = type_
    if _is_simple_type(value):
        arg = Argument(value)
        _current_parameter_value.add_argument(arg)
    elif isinstance(value, list):
        for idx in value:
            arg = Argument(idx)
            _current_parameter_value.add_argument(arg)
Creates Arguments in a TypedParametervalue.
dataset/ETHPy150Open saltstack/salt/salt/modules/syslog_ng.py/_parse_typed_parameter_typed_value