class_docstr: A class to Mock the Distributed Client class, in case
  Auto-Sklearn is meant to run in the current Thread.
class_docstr_tok: ["A","class","to","Mock","the","Distributed","Client","class",",","in","case","Auto-Sklearn","is","meant","to","run","in","the","current","Thread","."]
docstr: Note
  ----
  The keyword arguments caught in `dask.distributed.Client` need to
  be specified here so they don't get passed in as ``**kwargs`` to the
  ``func``.
docstr_tok: ["Note","--","--","The","keyword","arguments","caught","in","`","dask.distributed.Client","`","need","to","be","specified","here","so","they","do","n't","get","passed","in","as","``","*","*","kwargs","``","to","the","``","func","``","."]
code: def submit(
      self,
      func: typing.Callable,
      *args: typing.List,
      priority: int = 0,
      key: Any = None,
      workers: Any = None,
      resources: Any = None,
      retries: Any = None,
      fifo_timeout: Any = "100 ms",
      allow_other_workers: Any = False,
      actor: Any = False,
      actors: Any = False,
      pure: Any = None,
      **kwargs: Any,
  ) -> typing.Any:
      """
      Note
      ----
      The keyword arguments caught in `dask.distributed.Client` need to
      be specified here so they don't get passed in as ``**kwargs`` to the
      ``func``.
      """
      return DummyFuture(func(*args, **kwargs))
  
imports: import typing
  from typing import Any
  from pathlib import Path
  import dask.distributed
label_desc: Use image node_id 3 for calling the SingleThreadedClient obj's underlying member method code with example usage: obj.submit(func) and returns: DummyFuture