class_docstr: Wrapper that uses cloudpickle to pickle and unpickle the result.
docstr: Get the state using `cloudpickle.dumps(self.fn)`.
docstr_tok: ["Get","the","state","using","`","cloudpickle.dumps","(","self.fn",")","`","."]
code: def __getstate__(self):
      """Get the state using `cloudpickle.dumps(self.fn)`."""
      import cloudpickle
  
      return cloudpickle.dumps(self.fn)
  
imports: import contextlib
  import os
label_desc: Use image node_id 2 for calling the CloudpickleWrapper obj's underlying member method code with example usage: obj.__getstate__() and returns: cloudpickle