class_docstr: Wraps a partial function to act as a Future
class_docstr_tok: ["Wraps","a","partial","function","to","act","as","a","Future"]
code: def get(self, timeout=None):
      start = time.time()
      self.wait(timeout)
  
      if timeout and time.time() - start > timeout:
          raise TimeoutError()
  
      if self.result is not NOT_SET:
          return self.result
  
      else:
          raise self.exception
  
imports: import functools
  import time
  import traceback
  from orion.executor.base import AsyncException, AsyncResult, BaseExecutor, ExecutorClosed, Future
label_desc: Use image node_id 2 for calling the _Future obj's underlying member method code with example usage: obj.get(timeout) and returns: self