

def set_data(self, name, desc=''):
    'Set the name and desc programmatically'
    data2 = self.data.copy()
    data2[self.add_prefix('name')] = name
    data2[self.add_prefix('desc')] = desc
    self.data = data2

dataset/ETHPy150Open cloudera/hue/apps/beeswax/src/beeswax/forms.py SaveForm.set_data/original