class_docstr: dask-compatible wrapper that executes a batch of tasks
class_docstr_tok: ["dask-compatible","wrapper","that","executes","a","batch","of","tasks"]
code: def __call__(self, tasks=None):
      results = []
      with parallel_config(backend="dask"):
          for func, args, kwargs in tasks:
              results.append(func(*args, **kwargs))
          return results
  
imports: from __future__ import print_function, division, absolute_import
  import asyncio
  import concurrent.futures
  import contextlib
  import time
  from uuid import uuid4
  import weakref
  from .parallel import parallel_config
  from .parallel import AutoBatchingMixin, ParallelBackendBase
label_desc: Use image node_id 2 for calling the Batch obj's underlying member method code with example usage: obj.__call__(tasks) and returns: results