def check_required_params(self):
        """ Check if all required parameters are set"""
        for param in self.REQUIRED_FIELDS:
            if param not in self.params:
                raise ValidationError("Missing parameter: {}".format(param))
def check_required_params ( self ) : for param in self . REQUIRED_FIELDS : if param not in self . params : raise ValidationError ( "Missing parameter: {}" . format ( param ) )
Check if all required parameters are set