class_docstr: Lightweight class that maintains a basic queue of operations, in addition
  to metadata annotations.
docstr: Retrieve the metadata for ``obj``.  Raises a ``QueuingError`` if obj is not in the queue.
docstr_tok: ["Retrieve","the","metadata","for","``","obj","``",".","Raises","a","``","QueuingError","``","if","obj","is","not","in","the","queue","."]
code: def get_info(self, obj):
      """Retrieve the metadata for ``obj``.  Raises a ``QueuingError`` if obj is not in the queue."""
      obj = obj if isinstance(obj, WrappedObj) else WrappedObj(obj)
      if obj not in self:
          raise QueuingError(f"Object {obj.obj} not in the queue.")
  
      return self[obj]
  
imports: import copy
  from collections import OrderedDict
  from contextlib import contextmanager
  from threading import RLock
  from typing import Optional
label_desc: Use image node_id 6 for calling the AnnotatedQueue obj's underlying member method code with example usage: obj.get_info(obj) and returns: self