class_docstr: Execute workflow with ipython
code: def _get_result(self, taskid):
      if taskid not in self.taskmap:
          raise ValueError("Task %d not in pending list" % taskid)
      if self.taskmap[taskid].ready():
          result, traceback, hostname = self.taskmap[taskid].get()
          result_out = dict(result=None, traceback=None)
          result_out["result"] = result
          result_out["traceback"] = traceback
          result_out["hostname"] = hostname
          return result_out
      else:
          return None
  
file_path: nipype/nipype/pipeline/plugins/ipython.py
imports: from pickle import dumps
  import sys
  from .base import DistributedPluginBase, logger, report_crash
label_desc: Use image node_id 3 for calling the IPythonPlugin obj's underlying member method code with example usage: obj._get_result(taskid) and returns: result_out, None