code: def set_terminal_converted(self, attr, repr_value):
          
          value = self.converter_registry.convert_from_representation(
                                                              repr_value,
                                                              attr.value_type)
          self.data[attr.repr_name] = value
docs: Converts the given representation value and sets the specified
          attribute value to the converted value.
  
          :param attr: Attribute to set.
          :param str repr_value: String value of the attribute to set.