diff --git a/python/ray/actor.py b/python/ray/actor.py index 9af6c6c36..ec983855b 100644 --- a/python/ray/actor.py +++ b/python/ray/actor.py @@ -841,7 +841,8 @@ class ActorHandle(object): return object.__getattribute__(self, attr) def __repr__(self): - return "Actor(" + self._ray_actor_id.hex() + ")" + return "Actor({}, {})".format(self._ray_class_name, + self._ray_actor_id.hex()) def __del__(self): """Kill the worker that is running this actor."""