82297d0686d828f41856c71297364d39d32a2cd9,app/grandchallenge/workstations/models.py,Session,save,#Session#,146

Before Change



        if created:
            start_service.apply_async(
                kwargs={
                    "app_label": self._meta.app_label,
                    "model_name": self._meta.model_name,
                    "pk": self.pk,
                }
            )
        elif self.user_finished and self.status != self.STOPPED:
            stop_service.apply_async(
                kwargs={

After Change


        if created:
            start_service.apply_async(kwargs=self.task_kwargs)
        elif self.user_finished and self.status != self.STOPPED:
            stop_service.apply_async(kwargs=self.task_kwargs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: comic/grand-challenge.org
Commit Name: 82297d0686d828f41856c71297364d39d32a2cd9
Time: 2019-04-09
Author: code@jmsmkn.com
File Name: app/grandchallenge/workstations/models.py
Class Name: Session
Method Name: save


Project Name: geometalab/OSMDeepOD
Commit Name: 285dc85691241532cd976e04a089f409e44d7493
Time: 2016-08-12
Author: samuel.kurath@gmail.com
File Name: src/detection/tensor/detector.py
Class Name: Detector
Method Name: detect_multiple


Project Name: geometalab/OSMDeepOD
Commit Name: 59d84cd18324aa86373091c8a0c262e6536d32fe
Time: 2016-08-12
Author: samuel.kurath@gmail.com
File Name: src/detection/tensor/detector.py
Class Name: Detector
Method Name: detect