'Set the name and desc programmatically'

def set_data(self, name, desc=''):

    data2 = self.data.copy()
    data2[self.add_prefix('name')] = name
    data2[self.add_prefix('desc')] = desc
    self.data = data2
