code: def inheritance_patch(attrs):
      
      for key, obj in attrs.items():
          if isinstance(obj, attribute):
              if getattr(obj, 'attr_write', None) == AttrWriteType.READ_WRITE:
                  if not getattr(obj, 'fset', None):
                      method_name = obj.write_method_name or "write_" + key
                      obj.fset = attrs.get(method_name)
docs: Patch tango objects before they are processed by the metaclass.