code: def repr_setattr(self, class_data):
          
          def get_indexable_attributes(class_data):
              def isvalid(text):
                  for char in r"""~`!#%^&*()+=[]{}|\:;"'/.,<> """:
                      if char in text:
                          return False
                  return True
              
              indexable_attributes = list()
              for key, value in class_data.get("metadata", dict()).items():
                  if isinstance(value, _int_type):
                      indexable_attributes.append(key)
                  elif isinstance(value, _str_type):
                      if isvalid(value):
                           indexable_attributes.append(key)
                          
              return indexable_attributes
          
          if "subclass" in class_data:
              for subclass_data in class_data["subclass"]:
                  instancename = self.formatted_instancename(subclass_data["classname"])
                  self.lines.append(self.Tab2 + self.repr_new_instance(subclass_data))
                  indexable_attributes = get_indexable_attributes(subclass_data)
                  for key, value in self.sorted_dict(subclass_data.get("metadata", dict())):
                      if key in indexable_attributes:
                          if isinstance(value, _int_type):
                              if value < 0:
                                  self.lines.append(self.Tab2 + "self.%s____neg%s = %s" % (
                                      key, -value, instancename))
                              else:
                                  self.lines.append(self.Tab2 + "self.%s____%s = %s" % (
                                      key, value, instancename))
                          else:
                              self.lines.append(self.Tab2 + "self.%s____%s = %s" % (
                                  key, value, instancename))
                  self.lines.append(self.Tab2)
docs: Create code like this::
          
                  person = Person(name='Jack', person_id=1)
                  self.name____Jack = person
                  self.person_id____1 = person
                  
                  person = Person(name='Paul', person_id=2)
                  self.name____Paul = person
                  self.person_id____2 = person