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 __getstate__(self):
      state = super().__getstate__()
      state["address"] = self.client.cluster.scheduler_address
      return state
  
imports: import traceback
  from orion.executor.base import AsyncException, AsyncResult, BaseExecutor, ExecutorClosed, Future
label_desc: Use image node_id 2 for calling the Dask obj's underlying member method code with example usage: obj.__getstate__() and returns: state