class_docstr: Lightweight class that maintains a basic queue of operations, in addition
  to metadata annotations.
docstr: Remove this instance from the global list of active contexts.
docstr_tok: ["Remove","this","instance","from","the","global","list","of","active","contexts","."]
code: def __exit__(self, exception_type, exception_value, traceback):
      """Remove this instance from the global list of active contexts."""
      QueuingManager.remove_active_queue()
      AnnotatedQueue._lock.release()
  
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 2 for calling the AnnotatedQueue obj's underlying member method code with example usage: obj.__exit__(exception_type, exception_value, traceback) without return types