code: def __init__(self, *args, **kwargs):
      maxtasksperchild = kwargs.pop("maxtasksperchild", None)
      super(ParallelExt, self).__init__(*args, **kwargs)
      if isinstance(self._backend, MultiprocessingBackend):
          self._backend_args["maxtasksperchild"] = maxtasksperchild
  
imports: from functools import partial
  from threading import Thread
  from typing import Callable, Text, Union
  from joblib import Parallel, delayed
  from joblib._parallel_backends import MultiprocessingBackend
  import pandas
  from queue import Queue
  import concurrent
  from qlib.config import C, QlibConfig
label_desc: Use image node_id 1 to create a new ParallelExt object from inherited base classes: Parallel with example: obj = ParallelExt()