class_docstr: Wrapper around the dask client.
  
  .. warning::
  
     The Dask executor can be pickled and used inside a subprocess,
     the pickled client will use the main client that was spawned in the main process,
     but you cannot spawn clients inside a subprocess.
class_docstr_tok: ["Wrapper","around","the","dask","client",".","..","warning",":",":","The","Dask","executor","can","be","pickled","and","used","inside","a","subprocess",",","the","pickled","client","will","use","the","main","client","that","was","spawned","in","the","main","process",",","but","you","can","not","spawn","clients","inside","a","subprocess","."]
code: def submit(self, function, *args, **kwargs):
      try:
          return _Future(
              self.client.submit(function, *args, **kwargs, pure=False)
          )
      except Exception as e:
          if str(e).startswith(
              "Tried sending message after closing.  Status: closed"
          ):
              raise ExecutorClosed() from e
  
          raise
  
imports: import traceback
  from orion.executor.base import AsyncException, AsyncResult, BaseExecutor, ExecutorClosed, Future
label_desc: Use image node_id 7 for calling the Dask obj's underlying member method code with example usage: obj.submit(function) and returns: _Future