def show_instance(name, call=None):
    if call != 'action':
        raise SaltCloudSystemExit(
            'The show_instance action must be called with -a or --action.'
        )

    items = query(action='ve', command=name)

    ret = {}
    for item in items:
        if 'text' in item.__dict__:
            ret[item.tag] = item.text
        else:
            ret[item.tag] = item.attrib

        if item._children:
            ret[item.tag] = {}
            children = item._children
            for child in children:
                ret[item.tag][child.tag] = child.attrib

    salt.utils.cloud.cache_node(ret, __active_provider_name__, __opts__)
    return ret
Tests unused require with multi-part closurized namespaces.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/parallels.py/show_instance--crossover with--dataset/ETHPy150Open google/closure-linter/closure_linter/closurizednamespacesinfo_test.py/ClosurizedNamespacesInfoTest.testIsExtraRequire_notUsedMultiPartClosurizedNamespace