semantique.processor.core.QueryProcessor.get_operator

semantique.processor.core.QueryProcessor.get_operator#

QueryProcessor.get_operator(name)[source]#

Obtain a supported operator function.

Parameters:

name (str) – Name of the operator function.

Returns:

callable – The operator function corresponding to the given name.

Raises:

exceptions.UnknownOperatorError – If an operator function corresponding to the given name cannot be found.