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

Before Change


        return self._ray_method_signatures.keys()

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

    @property
    def _actor_id(self):
        return self._ray_actor_id

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: 4

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: pgmpy/pgmpy
Commit Name: fdaeca971143d2d8ff2423765accf34a0801795d
Time: 2020-06-30
Author: ankurankan@gmail.com
File Name: pgmpy/factors/discrete/JointProbabilityDistribution.py
Class Name: JointProbabilityDistribution
Method Name: __repr__