a7e7fdd82c9d248189ec9e86884f677fcc16551c,apps/domain/src/main/core/services/infra_service.py,,get_workers_msg,#Any#Any#Any#,164
Before Change
envs = node.environments.get_environments(user=_current_user_id)
_msg = {
node.environments.first(id=env.id).name: model_to_json(
node.environments.first(id=env.id)
)
for env in envs
}
return GetWorkersResponse(
address=msg.reply_to,
status_code=200,
After Change
envs = node.environments.get_environments(user=_current_user_id)
_msg = [model_to_json(node.environments.first(id=env.id)) for env in envs]
return GetWorkersResponse(
address=msg.reply_to,
status_code=200,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: OpenMined/Grid
Commit Name: a7e7fdd82c9d248189ec9e86884f677fcc16551c
Time: 2021-02-25
Author: ionesiojr@gmail.com
File Name: apps/domain/src/main/core/services/infra_service.py
Class Name:
Method Name: get_workers_msg
Project Name: OpenMined/Grid
Commit Name: c36e80b75165ec7755dbea4c185edc9f9419bd6e
Time: 2021-02-25
Author: ionesiojr@gmail.com
File Name: apps/domain/src/main/core/services/group_service.py
Class Name:
Method Name: get_all_groups_msg
Project Name: OpenMined/Grid
Commit Name: ded931f834bd58b932e8c5bd1e688a796ef6f89a
Time: 2021-02-25
Author: ionesiojr@gmail.com
File Name: apps/domain/src/main/core/services/user_service.py
Class Name:
Method Name: get_all_users_msg