def create_task(self, date=None): # pylint: disable=arguments-differ """Allow arguments to be passed to the task constructor.""" if not date: date = self.DEFAULT_DATE self.task = PerDateTrackingEventRecordDataTask( date=luigi.DateParameter().parse(date), output_root='/fake/output', event_record_type=self.EVENT_RECORD_TYPE, ) self.task.init_local()
class PerDateTrackingJsonEventRecordTaskMapTest(TrackingJsonEventRecordTaskMapTest): def create_task(self, date=None): # pylint: disable=arguments-differ """Allow arguments to be passed to the task constructor.""" if not date: date = self.DEFAULT_DATE self.task = PerDateTrackingEventRecordDataTask( date=luigi.DateParameter().parse(date), output_root='/fake/output', event_record_type=self.EVENT_RECORD_TYPE, ) self.task.init_local()