d2aa4b41cbb13cd54eda5582c2d50a86932ba131,grid/clients/base.py,BaseClient,found_task,#BaseClient#Any#,176
Before Change
def found_task(self, message):
tasks = json.loads(message["data"])
for task in tasks:
// utils.store_task(task["name"], task["address"])
name = task["name"]
addr = task["address"]
After Change
def found_task(self, message):
tasks = utils.unpack(message)
for task in tasks:
// utils.store_task(task["name"], task["address"])
name = task["name"]
addr = task["address"]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: OpenMined/Grid
Commit Name: d2aa4b41cbb13cd54eda5582c2d50a86932ba131
Time: 2018-03-31
Author: jvmancuso87@gmail.com
File Name: grid/clients/base.py
Class Name: BaseClient
Method Name: found_task
Project Name: OpenMined/Grid
Commit Name: d2aa4b41cbb13cd54eda5582c2d50a86932ba131
Time: 2018-03-31
Author: jvmancuso87@gmail.com
File Name: grid/services/whoami.py
Class Name: WhoamiService
Method Name: get_stats
Project Name: OpenMined/Grid
Commit Name: d2aa4b41cbb13cd54eda5582c2d50a86932ba131
Time: 2018-03-31
Author: jvmancuso87@gmail.com
File Name: grid/clients/keras.py
Class Name: KerasClient
Method Name: receive_model