b98f36bb59333812f16eabb417258b41dedfec2c,src/syft/core/nodes/abstract/worker.py,Worker,recv_msg,#Worker#Any#,45

Before Change


    def recv_msg(self, msg: SyftMessage) -> SyftMessage:

        try:
            return self.msg_router[type(msg)].process(worker=self, msg=msg)
        except KeyError as e:
            if type(msg) not in self.msg_router:
                raise KeyError(
                    f"The worker {self.id} of type {type(self)} cannot process messages of type "

After Change


    def recv_msg(self, msg: SyftMessage) -> SyftMessage:

        try:
            processed = self.msg_router[type(msg)].process(worker=self, msg=msg)
        except KeyError as e:
            if type(msg) not in self.msg_router:
                raise KeyError(
                    f"The worker {self.id} of type {type(self)} cannot process messages of type "
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: OpenMined/PySyft
Commit Name: b98f36bb59333812f16eabb417258b41dedfec2c
Time: 2020-07-18
Author: rima@.com
File Name: src/syft/core/nodes/abstract/worker.py
Class Name: Worker
Method Name: recv_msg


Project Name: OpenMined/PySyft
Commit Name: 3df9270ea1ad0f5eaf2b8815f4d82009f9ced465
Time: 2020-07-21
Author: rima@.com
File Name: src/syft/core/nodes/abstract/worker.py
Class Name: Worker
Method Name: recv_msg


Project Name: Picovoice/porcupine
Commit Name: 6ea0b2b297af473ac73b98938f561a06b63a6bd9
Time: 2020-10-01
Author: alireza@picovoice.ai
File Name: binding/python/test_porcupine.py
Class Name: PorcupineTestCase
Method Name: test_process