1542abe1e397f328be4532a60d542021aa43cc46,jarbas/chamber_of_deputies/twitter.py,Twitter,queryset,#Twitter#,33

Before Change


                .values_list("congressperson_id", flat=True)
            )

        return Reimbursement.objects \
            .filter(**kwargs) \
            .exclude(congressperson_id=None)

    @property
    def reimbursement(self):
        if self._reimbursement:

After Change


    @property
    def queryset(self):
        kwargs = {
            "issue_date__gte": datetime.now() - timedelta(days=356 * 2),
            "suspicions__meal_price_outlier": True,
            "tweet": None,
        }
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 1542abe1e397f328be4532a60d542021aa43cc46
Time: 2019-02-27
Author: cuducos@users.noreply.github.com
File Name: jarbas/chamber_of_deputies/twitter.py
Class Name: Twitter
Method Name: queryset


Project Name: tensorflow/tensorboard
Commit Name: 28d22c53391208375727b80f0a45b08512930ee9
Time: 2019-03-25
Author: wchargin@gmail.com
File Name: tensorboard/notebook.py
Class Name:
Method Name: _time_delta_from_info


Project Name: KaiyangZhou/deep-person-reid
Commit Name: cb0cfa3e197a6a6ea793645284c914a8c76a200c
Time: 2018-03-11
Author: k.zhou@qmul.ac.uk
File Name: train_img_model_xent.py
Class Name:
Method Name: main