def set(self, value, data):
        self.qstn_metadata[value] = data


    # -------------------------------------------------------------------------
This will store a single metadata value
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3QuestionTypeAbstractWidget.set