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(

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,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: estnltk/estnltk
Commit Name: 18ac84177e0905c92b87efa5ba9ad515e125bb0d
Time: 2015-06-03
Author: tpetmanson@gmail.com
File Name: estnltk/dividing.py
Class Name:
Method Name: lists_collect_spans


Project Name: estnltk/estnltk
Commit Name: 18ac84177e0905c92b87efa5ba9ad515e125bb0d
Time: 2015-06-03
Author: tpetmanson@gmail.com
File Name: estnltk/dividing.py
Class Name:
Method Name: lists_collect_lists