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)
Parse a string that consists of a integer number and an optional unit.
dataset/ETHPy150Open saltstack/salt/salt/modules/node.py/query--crossover with--dataset/ETHPy150Open sosy-lab/benchexec/benchexec/util.py/split_number_and_unit