618b5be27be985198bfe8c6c0a183348218cc401,optuna/storages/rdb/models.py,TrialSystemAttributeModel,where_trial,#Any#Any#Any#,260
 
Before Change
    def where_trial(cls, trial, session):
        // type: (TrialModel, orm.Session) -> List[TrialSystemAttributeModel]
        return session.query(cls).filter(cls.trial_id == trial.trial_id).all()
    @classmethod
    def all(cls, session):
        // type: (orm.Session) -> List[TrialSystemAttributeModel]
After Change
    def where_trial(cls, trial, session):
        // type: (TrialModel, orm.Session) -> List[TrialSystemAttributeModel]
        return cls.where_trial_id(trial.trial_id, session)
    @classmethod
    def where_trial_id(cls, trial_id, session):
        // type: (int, orm.Session) -> List[TrialSystemAttributeModel]

In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 9
Instances
 Project Name: pfnet/optuna
 Commit Name: 618b5be27be985198bfe8c6c0a183348218cc401
 Time: 2018-12-20
 Author: toshihiko.yanase@gmail.com
 File Name: optuna/storages/rdb/models.py
 Class Name: TrialSystemAttributeModel
 Method Name: where_trial
 Project Name: pfnet/optuna
 Commit Name: 56a302907b11391fdc5d6de13f11cca653b7013a
 Time: 2020-11-30
 Author: imamura@ms.k.u-tokyo.ac.jp
 File Name: optuna/storages/_rdb/models.py
 Class Name: TrialValueModel
 Method Name: where_trial
 Project Name: pfnet/optuna
 Commit Name: 618b5be27be985198bfe8c6c0a183348218cc401
 Time: 2018-12-20
 Author: toshihiko.yanase@gmail.com
 File Name: optuna/storages/rdb/models.py
 Class Name: TrialUserAttributeModel
 Method Name: where_trial
 Project Name: pfnet/optuna
 Commit Name: f0cfb8f97f7d93023c558018983eb4bc149fb3ba
 Time: 2020-12-02
 Author: imamura@ms.k.u-tokyo.ac.jp
 File Name: optuna/storages/_rdb/models.py
 Class Name: TrialParamModel
 Method Name: where_trial
 Project Name: pfnet/optuna
 Commit Name: 56a302907b11391fdc5d6de13f11cca653b7013a
 Time: 2020-11-30
 Author: imamura@ms.k.u-tokyo.ac.jp
 File Name: optuna/storages/_rdb/models.py
 Class Name: TrialIntermediateValueModel
 Method Name: where_trial
 Project Name: pfnet/optuna
 Commit Name: f0cfb8f97f7d93023c558018983eb4bc149fb3ba
 Time: 2020-12-02
 Author: imamura@ms.k.u-tokyo.ac.jp
 File Name: optuna/storages/_rdb/models.py
 Class Name: TrialValueModel
 Method Name: where_trial
 Project Name: pfnet/optuna
 Commit Name: 56a302907b11391fdc5d6de13f11cca653b7013a
 Time: 2020-11-30
 Author: imamura@ms.k.u-tokyo.ac.jp
 File Name: optuna/storages/_rdb/models.py
 Class Name: TrialParamModel
 Method Name: where_trial