return super(DeleteQueueItem, self).put(**kwargs)
if not self.is_saved():
    return db.run_in_transaction(_tx)
else:
    return super(DeleteQueueItem, self).put(**kwargs)
How to use a custom __init__ of an app engine Python model class properly?