MCPcopy
hub / github.com/ray-project/ray / from_bytes

Method from_bytes

python/ray/exceptions.py:41–44  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

39
40 @staticmethod
41 def from_bytes(b):
42 ray_exception = RayException()
43 ray_exception.ParseFromString(b)
44 return RayError.from_ray_exception(ray_exception)
45
46 @staticmethod
47 def from_ray_exception(ray_exception):

Callers

nothing calls this directly

Calls 2

RayExceptionClass · 0.85
from_ray_exceptionMethod · 0.80

Tested by

no test coverage detected