MCPcopy Create free account
hub / github.com/celery/celery / get_pickled_exception

Function get_pickled_exception

celery/utils/serialization.py:185–189  ·  view source on GitHub ↗

Reverse of :meth:`get_pickleable_exception`.

(exc)

Source from the content-addressed store, hash-verified

183
184
185def get_pickled_exception(exc):
186 """Reverse of :meth:`get_pickleable_exception`."""
187 if isinstance(exc, UnpickleableExceptionWrapper):
188 return exc.restore()
189 return exc
190
191
192def b64encode(s):

Callers 4

on_timeoutMethod · 0.90
on_failureMethod · 0.90
exception_to_pythonMethod · 0.90
_log_errorMethod · 0.90

Calls 1

restoreMethod · 0.45

Tested by

no test coverage detected