MCPcopy Index your code
hub / github.com/ray-project/ray / dumps_debug

Function dumps_debug

python/ray/cloudpickle/__init__.py:37–47  ·  view source on GitHub ↗
(obj, *args, **kwargs)

Source from the content-addressed store, hash-verified

35
36
37def dumps_debug(obj, *args, **kwargs):
38 try:
39 return dumps(obj, *args, **kwargs)
40 except (TypeError, PicklingError) as exc:
41 if os.environ.get("RAY_PICKLE_VERBOSE_DEBUG"):
42 from ray.util.check_serialize import inspect_serializability
43 inspect_serializability(obj)
44 raise
45 else:
46 msg = _warn_msg(obj, "ray.cloudpickle.dumps", exc)
47 raise type(exc)(msg)

Callers 1

Calls 4

inspect_serializabilityFunction · 0.90
dumpsFunction · 0.85
_warn_msgFunction · 0.85
getMethod · 0.65

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…