code: def __init__(self, n_jobs: int | None = None) -> None:
      self.n_jobs = n_jobs
      self._client: Client | None = None
      self._cluster: LocalCluster | None = None
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import Any
  import tempfile
  from dask.distributed import Client, LocalCluster
  from autosklearn.util.single_thread_client import SingleThreadedClient
label_desc: Use image node_id 1 to create a new LocalDask object from inherited base classes: Dask with example: obj = LocalDask(n_jobs)