1f54acd27488f089f3211c08aef5d9927183d1c6,python/ray/actor.py,ActorHandle,__repr__,#ActorHandle#,773

Before Change


    def __repr__(self):
        return "Actor({}, {})".format(
            self._ray_actor_creation_function_descriptor.class_name,
            self._actor_id.hex())

    @property
    def _actor_id(self):

After Change


        return self._ray_method_signatures.keys()

    def __repr__(self):
        return (f"Actor("
                f"{self._ray_actor_creation_function_descriptor.class_name},"
                f"{self._actor_id.hex()})")

    @property
    def _actor_id(self):
        return self._ray_actor_id
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: 1f54acd27488f089f3211c08aef5d9927183d1c6
Time: 2020-08-23
Author: rkooo567@gmail.com
File Name: python/ray/actor.py
Class Name: ActorHandle
Method Name: __repr__


Project Name: ray-project/ray
Commit Name: 1f54acd27488f089f3211c08aef5d9927183d1c6
Time: 2020-08-23
Author: rkooo567@gmail.com
File Name: python/ray/exceptions.py
Class Name: UnreconstructableError
Method Name: __str__


Project Name: ray-project/ray
Commit Name: d7c95a4a9065cbad73901b4c1de087837e260316
Time: 2020-11-17
Author: simon.mo@hey.com
File Name: python/ray/serve/api.py
Class Name: Client
Method Name: get_handle