code: def resolve_operator(name):
      
      if name.lower() in ALL_OPERATORS:
          return ALL_OPERATORS[name.lower()]
      else:
          raise ValueError(f"Operator {name} not recognised.")
docs: Get the :namedtuple:`wily.operators.Operator` for a given name.
  
      :param name: The name of the operator
      :return: The operator type