def description(self, description): """Set the description for the Range.""" CCAPI.set_product_description( product_ids=[p.id for p in self.products], description=description ) self._description = description
def description(self, value): """Set the description of the product.""" if value is None or value == "": value = self.name CCAPI.set_product_description(product_ids=[self.id], description=value) self._description = value