def post_load(self, data):
if (not 'id' in data) and (not 'email' in data):
raise ValidationError('Missing data for required \'email\' or \'id\' field', data)
def post_load(self, data):
if (not 'id' in data) and (not 'email' in data):
raise ValidationError('Missing data for required \'email\' or \'id\' field', data)