def save(self, * args, ** kwargs):
        if not self.expires or not self.modality or not self.preferences or not self.author:
            raise IntegrityError('Trip objects MUST have expires and content attributes.')
        super(Trip, self).save(*args, ** kwargs) # Call the "real" save() method.
Create the script to execute ``commands``.
dataset/ETHPy150Open dgraziotin/dycapo/server/models/trip.py/Trip.save--crossover with--dataset/ETHPy150Open ravello/testmill/lib/testmill/tasks.py/create_script