code: def option_completer(cls, k, v):
      raw_line = v.text_until_cursor
  
      line = raw_line.replace("%output", "")
  
      # Find the last element class mentioned
      completion_key = None
      tokens = [
          t for els in reversed(line.split("=")) for t in els.split()
      ]
  
      for token in tokens:
          if token.strip() in Store.output_settings.allowed:
              completion_key = token.strip()
              break
  
      values = [
          val
          for val in Store.output_settings.allowed.get(
              completion_key, []
          )
          if val
          not in Store.output_settings.hidden.get(completion_key, [])
      ]
      vreprs = [repr(el) for el in values if not isinstance(el, tuple)]
      return vreprs + [
          el + "=" for el in Store.output_settings.allowed.keys()
      ]
  
imports: import sys
  import time
  from IPython.core.magic import Magics, line_cell_magic, line_magic, magics_class
  from IPython.display import HTML, display
  from ..core.options import Options, Store, StoreOptions, options_policy
  from ..core.pprint import InfoPrinter
  from ..operation import Compositor
  from IPython.core import page
label_desc: Use image node_id 3 for calling the OutputMagic obj's underlying member method code with example usage: obj.option_completer(cls, k, v) and returns: unknown