def import_data(self, data):
        try:
            self.date = datetime_parser.parse(data['date']).astimezone(
                tzutc()).replace(tzinfo=None)
        except __HOLE__ as e:
            raise ValidationError('Invalid order: missing ' + e.args[0])
        return self
dataset/ETHPy150Open miguelgrinberg/oreilly-flask-apis-video/orders/app/models.py/Order.import_data