code: def __getattr__(self, item):
      def _caller(*args, **kwargs):
          # if we already completed the background initialization, call functions immediately
          # noinspection PyProtectedMember
          if (
              not self.__queue
              or self.__future_caller._FutureTaskCaller__executor
              is None
          ):
              return self.__nested_caller(item, args, kwargs)
  
          # noinspection PyBroadException
          try:
              # if pool is still active call async
              self.__queue.put(
                  (
                      item,
                      deepcopy(args) if args else args,
                      deepcopy(kwargs) if kwargs else kwargs,
                  )
              )
          except Exception:
              # assume we wait only if self.__pool was nulled between the if and now, so just call directly
              return self.__nested_caller(item, args, kwargs)
  
          # let's hope it is the right one
          return True
  
      return _caller
  
imports: import os
  from copy import deepcopy
  from time import sleep
  from concurrent.futures import ThreadPoolExecutor
  from typing import Any, Callable, Optional, Union, Generator, List, Type
  from zipfile import ZipFile, ZIP_DEFLATED
  from six.moves.queue import PriorityQueue, Queue, Empty
  from pathlib2 import Path
  from tempfile import mkstemp
  from collections import deque
  from threading import Thread
  from ..debugging.log import LoggerRoot
  from ..storage.util import format_size
label_desc: Use image node_id 5 for calling the _DeferredClass obj's underlying member method code with example usage: obj.__getattr__(item) and returns: _caller, True, self, self