dfb84aa20650e8c3a7ee46690767ee34bb630a1f,txtgen/data/database.py,PairedTextDataBase,__call__,#PairedTextDataBase#,411

Before Change


        return data_provider

    def __call__(self):
        data = self._data_provider.get(self._data_provider.list_items())
        data = dict(zip(self._data_provider.list_items(), data))

        num_threads = 1

After Change


        return data_provider

    def __call__(self):
        data = self._data_provider.get(list(self._data_provider.list_items()))
        data = dict(zip(list(self._data_provider.list_items()), data))

        num_threads = 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: asyml/texar
Commit Name: dfb84aa20650e8c3a7ee46690767ee34bb630a1f
Time: 2017-11-08
Author: shore@pku.edu.cn
File Name: txtgen/data/database.py
Class Name: PairedTextDataBase
Method Name: __call__


Project Name: asyml/texar
Commit Name: ffe1bfb91edce333b443dc17acef2d52b0d2d0b9
Time: 2017-11-09
Author: hunterhector@gmail.com
File Name: txtgen/data/database.py
Class Name: PairedTextDataBase
Method Name: list_items


Project Name: asyml/texar
Commit Name: dfb84aa20650e8c3a7ee46690767ee34bb630a1f
Time: 2017-11-08
Author: shore@pku.edu.cn
File Name: txtgen/data/database.py
Class Name: MonoTextDataBase
Method Name: list_items


Project Name: asyml/texar
Commit Name: 4337dec1bcbc32fa9d7a6a255280ee98bee8d158
Time: 2017-10-15
Author: diwang@cs.cmu.edu
File Name: txtgen/data/database.py
Class Name: MonoTextDataBase
Method Name: __call__


Project Name: asyml/texar
Commit Name: ffe1bfb91edce333b443dc17acef2d52b0d2d0b9
Time: 2017-11-09
Author: hunterhector@gmail.com
File Name: txtgen/data/database.py
Class Name: MonoTextDataBase
Method Name: list_items