def query(scope, **kwargs):
    query = _("query")
    try:
        return query.Query(scope)(**kwargs)
    except InspectorQueryException as ex:
        raise CommandExecutionError(ex)
    except Exception as ex:
        log.error(_get_error_message(ex))
        raise Exception(ex)
Query the node for specific information.
dataset/ETHPy150Open saltstack/salt/salt/modules/node.py/query