3445b5d800148a4a9f252ecbdf4cd54b2fbdf3c8,apps/domain/src/main/core/services/infra_service.py,,del_worker_msg,#Any#Any#Any#,203

Before Change


        ]
        if int(_worker_id) in envs:
            node.environments.delete_associations(environment_id=_worker_id)
            node.environments.delete(id=_worker_id)
        else:
            raise AuthorizationError(
                "You"re not allowed to delete this environment information!"
            )

After Change


        )
    except Exception as e:
        return DeleteWorkerResponse(
            address=msg.reply_to, status_code=False, content={"error": str(e)}
        )


// def update_worker_msg(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: OpenMined/Grid
Commit Name: 3445b5d800148a4a9f252ecbdf4cd54b2fbdf3c8
Time: 2021-03-14
Author: sachinkumar04428@gmail.com
File Name: apps/domain/src/main/core/services/infra_service.py
Class Name:
Method Name: del_worker_msg


Project Name: comic/grand-challenge.org
Commit Name: 4272398c0f1aebc3e21df81beba69c3a171fa567
Time: 2012-11-27
Author: w.s.kerkstra@gmail.com
File Name: django/filetransfers/views.py
Class Name:
Method Name: delete_handler


Project Name: regel/loudml
Commit Name: 090858eb1abd759d5b08c343b914e475e370f7b1
Time: 2020-04-13
Author: sebastien.regel@gmail.com
File Name: loudml/opentsdb.py
Class Name: OpenTSDBClient
Method Name: drop


Project Name: comic/grand-challenge.org
Commit Name: 099b3eab0b64801e0a0bb54c5a7c8189baad0222
Time: 2012-11-27
Author: w.s.kerkstra@gmail.com
File Name: django/filetransfers/views.py
Class Name:
Method Name: delete_handler