class
CloudpickleWrapperWrapper that uses cloudpickle to pickle and unpickle the result.
Special methods
- def __call__(self, *args, **kwargs)
- Calls the function self.fn with no arguments.
- def __getstate__(self)
- Get the state using cloudpickle.dumps(self.fn).
- def __init__(self, fn: typing.Callable)
- Cloudpickle wrapper for a function.
- def __setstate__(self, ob)
- Sets the state with obs.