class_docstr: Wrapper around ``joblib``'s ``Parallel`` + ``delayed`` to integrate with ``Hydra``'s config
  and offer some syntactic sugar to the execution.
class_docstr_tok: ["Wrapper","around","``","joblib","``","'s","``","Parallel","``","+","``","delayed","``","to","integrate","with","``","Hydra","``","'s","config","and","offer","some","syntactic","sugar","to","the","execution","."]
code: def __init__(self, config: Optional[Union[Config, dict]] = None):
      if not config:
          self.config = asdict(self.Config())
      elif isinstance(config, self.Config):
          self.config = asdict(config)
      else:
          self.config = config
      self.parallel = TqdmParallel(**self.config)
  
file_path: tslumen/tslumen/scheduling.py
imports: from typing import Optional, Union, Callable, Any, Sequence
  from dataclasses import dataclass, asdict
  from joblib import Parallel, delayed
  from tqdm.auto import tqdm
label_desc: Use image node_id 1 to create a new Scheduler object  with example: obj = Scheduler(config)