code: def show_qparams(qtype, stream=sys.stdout):
      
      for cls in all_subclasses(QueueAdapter):
          if cls.QTYPE == qtype: return stream.write(cls.QTEMPLATE)
  
      raise ValueError("Cannot find class associated to qtype %s" % qtype)
docs: Print to the given stream the template of the :class:`QueueAdapter` of type `qtype`.