def configure(self, cd): NodeDecorator.configure(self, cd) for attr_name, conv, def_val in self.ATTR_NAMES: self.set_attribute(attr_name, def_val, cd, conv) return
def configure(self, cd): NodeDecorator.configure(self, cd) self.set_attribute('mmafmt_channel_id', self.REQUIRED, cd, str) self.set_attribute('mmafmt_channel_label', self.REQUIRED, cd, str) self.set_attribute('mmafmt_channel_pos', '', cd, stripped_str) return
def configure(self, cd): NodeDecorator.configure(self, cd) for attr_name,conv,def_val in self.ATTR_NAMES: self.set_attribute(attr_name, def_val, cd, conv) return