code: def get_operator(operator_uri, enabled=True):
      """Gets the operator with the given URI.
  
      Args:
          operator_uri: the operator URI
          enabled (True): whether to include only enabled operators (True) or
              only disabled operators (False) or all operators ("all")
  
      Returns:
          an :class:`fiftyone.operators.Operator`
  
      Raises:
          ValueError: if the operator is not found
      """
      registry = OperatorRegistry(enabled=enabled)
      operator = registry.get_operator(operator_uri)
      if operator is None:
          raise ValueError(f"Operator '{operator_uri}' not found")
  
      return operator
  
file_path: fiftyone/fiftyone/operators/registry.py
imports: from .builtin import BUILTIN_OPERATORS
  import fiftyone.plugins.context
label_desc: Use image node_id 1 for calling a global function with example usage: get_operator(operator_uri, enabled) and returns: operator