MCPcopy Create free account
hub / github.com/cloudpipe/cloudpickle / UnpickleableObject

Class UnpickleableObject

tests/cloudpickle_test.py:627–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625 # the '__builtins__' key. In such cases, cloudpickle used to fail
626 # when pickling dynamic modules.
627 class UnpickleableObject:
628 def __reduce__(self):
629 raise ValueError("Unpicklable object")
630
631 mod = types.ModuleType("mod")
632

Calls

no outgoing calls