class_docstr: Decode key/data sets using a list of handlers.
  
  For each key/data item, this iterates through the list of
  handlers until some handler returns something other than None.
class_docstr_tok: ["Decode","key\/data","sets","using","a","list","of","handlers",".","For","each","key\/data","item",",","this","iterates","through","the","list","of","handlers","until","some","handler","returns","something","other","than","None","."]
code: def __init__(self, *handler, key_fn=extension_extract_fn):
      self.handlers = list(handler) if handler else []
      self.key_fn = key_fn
  
imports: import io
  import json
  import os.path
  import pickle
  import tempfile
  import torch
  from torch.utils.data.datapipes.utils.common import StreamWrapper
label_desc: Use image node_id 1 to create a new Decoder object  with example: obj = Decoder()