'Sets an instance attribute and tracks it in a list of dynamic attributes.
Args:
attr_name: string; The name of the attribute to be set
value: The value being set on the object and tracked in the dynamic cache.'

def _set_dynamic_attr(self, attr_name, value):

    self._dynamic_attrs.append(attr_name)
    self.__dict__[attr_name] = value
