Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudpipe/cloudpickle
/ RaiserOnPickle
Class
RaiserOnPickle
tests/cloudpickle_test.py:62–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
61
62
class
RaiserOnPickle:
63
def
__init__(self, exc):
64
self.exc = exc
65
66
def
__reduce__(self):
67
raise
self.exc
68
69
70
def
pickle_depickle(obj, protocol=cloudpickle.DEFAULT_PROTOCOL):
Callers
1
test_pickle_reraise
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_pickle_reraise
Method · 0.68