docs: def _import(klass):
          '''1) Get a reference to the module
             2) Check the file that module's imported from
             3) If that file's been updated, force a reload of that module
                  return it'''
          mod = __import__(klass.rpartition('.')[0])
          for segment in klass.split('.')[1:-1]:
              mod = getattr(mod, segment)
  
          # Alright, now check the file associated with it. Note that clases
          # defined in __main__ don't have a __file__ attribute
          if klass not in BaseJob._loaded:
              BaseJob._loaded[klass] = time.time()
          if hasattr(mod, '__file__'):
              try:
                  mtime = os.stat(mod.__file__).st_mtime
                  if BaseJob._loaded[klass] < mtime:
                      mod = reload_module(mod)
              except OSError:
                  logger.warn('Could not check modification time of %s',
                      mod.__file__)
  
          return getattr(mod, klass.rpartition('.')[2])