def validate_report_parameters(parameters, config):
    for parameter in parameters:
        if not parameter in config:
            raise KeyError(_("Parameter '%s' is missing" % parameter))
dataset/ETHPy150Open dimagi/commcare-hq/custom/m4change/reports/__init__.py/validate_report_parameters/original