class_docstr: Object for specifying the function/callable call to submit and process later.
  This is only syntactic sugar to make sure everything is well formatted:
  If what you want to compute later is func(*args, **kwargs), just instanciate:
  DelayedSubmission(func, *args, **kwargs).
  It also provides convenient tools for dumping and loading.
class_docstr_tok: ["Object","for","specifying","the","function\/callable","call","to","submit","and","process","later",".","This","is","only","syntactic","sugar","to","make","sure","everything","is","well","formatted",":","If","what","you","want","to","compute","later","is","func","(","*","args",",","*","*","kwargs",")",",","just","instanciate",":","DelayedSubmission","(","func",",","*","args",",","*","*","kwargs",")",".","It","also","provides","convenient","tools","for","dumping","and","loading","."]
code: def result(self) -> tp.Any:
      if self._done:
          return self._result
  
      self._result = self.function(*self.args, **self.kwargs)
      self._done = True
      return self._result
  
imports: import contextlib
  import io
  import itertools
  import os
  import pickle
  import select
  import shutil
  import subprocess
  import sys
  import tarfile
  import typing
  from pathlib import Path
  import cloudpickle
label_desc: Use image node_id 2 for calling the DelayedSubmission obj's underlying member method code with example usage: obj.result() and returns: self, self