class_docstr: A setting representing a range between two values
class_docstr_tok: ["A","setting","representing","a","range","between","two","values"]
docstr: Set the value of this range using either a string or a two-tuple
docstr_tok: ["Set","the","value","of","this","range","using","either","a","string","or","a","two-tuple"]
code: def set_value(self, value):
      """Set the value of this range using either a string or a two-tuple"""
      if isinstance(value, str):
          self.set_value_text(value)
      elif hasattr(value, "__getitem__") and len(value) == 2:
          self.set_value_text(
              ",".join([self.value_to_str(v) for v in value])
          )
      else:
          raise ValueError(
              "Value for range must be a string or two-tuple"
          )
  
imports: import logging
  from .._setting import Setting
  from .._validation_error import ValidationError
label_desc: Use image node_id 5 for calling the Range obj's underlying member method code with example usage: obj.set_value(value) without return types