1eb369ae3a1865789f5809bec59f066ac1cbe58d,syft/workers/base.py,BaseWorker,__init__,#BaseWorker#Any#Any#Any#Any#Any#Any#Any#Any#,97

Before Change


            WorkerCommandMessage: self.execute_worker_command,
            ObjectMessage: self.handle_object_msg,
            ObjectRequestMessage: self.respond_to_obj_req,
            ForceObjectDeleteMessage: self.handle_force_delete_object_msg,
            IsNoneMessage: self.is_object_none,
            GetShapeMessage: self.handle_get_shape_message,
            SearchMessage: self.respond_to_search,

After Change


        self.hook = hook

        self.object_store = ObjectStore(owner=self)
        self.message_handlers = []
        self.message_handlers.append(BaseMessageHandler(self.object_store, self))

        self.id = id
        self.is_client_worker = is_client_worker
        self.log_msgs = log_msgs
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: OpenMined/PySyft
Commit Name: 1eb369ae3a1865789f5809bec59f066ac1cbe58d
Time: 2020-06-03
Author: kmhigley@gmail.com
File Name: syft/workers/base.py
Class Name: BaseWorker
Method Name: __init__


Project Name: chainer/chainercv
Commit Name: 515aeca78379b6577974a78cd0df4eed78f5bfae
Time: 2017-07-06
Author: yuyuniitani@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 8ef90a03b37b03a3d4b88b958462fa200be99d7b
Time: 2015-06-27
Author: francois.chollet@gmail.com
File Name: keras/layers/convolutional.py
Class Name: Convolution2D
Method Name: __init__