daa89397443da0d922dc0ee4b0e2a3128251f6c8,jarbas/core/management/commands/irregularities.py,Command,handle,#Command#,13
Before Change
def handle(self, *args, **options):
self.date = options.get("dataset_version")
self.source = options.get("source")
self.update(self.irregularities)
@property
def irregularities(self):
After Change
def handle(self, *args, **options):
self.path = options.get("irregularities_path", "irregularities.xz")
if not os.path.exists(self.path):
raise FileNotFoundError(os.path.abspath(self.path))
self.update(self.irregularities)
@property
def irregularities(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: okfn-brasil/serenata-de-amor
Commit Name: daa89397443da0d922dc0ee4b0e2a3128251f6c8
Time: 2016-12-14
Author: cuducos@gmail.com
File Name: jarbas/core/management/commands/irregularities.py
Class Name: Command
Method Name: handle
Project Name: facebookresearch/ParlAI
Commit Name: 2b413f234633124515a54d2aa4d798eff12dd9f7
Time: 2017-07-05
Author: willfeng@fb.com
File Name: parlai/mturk/core/handler_template.py
Class Name:
Method Name: chat_index
Project Name: studioml/studio
Commit Name: dd2ea56501293337ff8c7dc96b8041801e8b95d2
Time: 2020-01-29
Author: andrei.denissov@cognizant.com
File Name: studio/local_db_provider.py
Class Name: LocalDbProvider
Method Name: _get