code: def _register_loader(what):
      def wrapper(func):
          for w in what:
              _loaders[_types_to_encoding[w]] = functools.partial(
                  func, w
              )
          return func
  
      return wrapper
  
imports: import base64
  import functools
  import pickle
  import sys
  from collections import OrderedDict, defaultdict, namedtuple
  from copy import copy
  from datetime import datetime, timedelta
label_desc: Use image node_id 2 for calling a global function with example usage: _register_loader(what) and returns: wrapper, func