def harvest(self, start_date=None, end_date=None):
        start_date = start_date or date.today() - timedelta(settings.DAYS_BACK)
        end_date = end_date or date.today()

        return [
            RawDocument({
                'doc': json.dumps(record),
                'source': record['source'],
                'docID': record['docID'],
                'filetype': 'json'
            }) for record in self.get_records(start_date, end_date)
        ]
dataset/ETHPy150Open CenterForOpenScience/scrapi/scrapi/harvesters/push_api.py/PushApiHarvester.harvest/original