w/r/t the code snippet you posted, that will not work. You have to do `self.__dict__[key] = value`