(self, item)
return SimpleMessagingTemplateParam(UNKNOWN_VALUE)
__getattr__ is what is called when an attribute of this object is
        accessed in a rendering, for example {object.attribute}. It should
        return the attribute, which will itself be rendered by its own
        __format__ method.

        So we return a SimpleMessagingTemplateParam that either renders to the
        item in the dictionary or to the unknown value if it doesn't exist.
__getattr__ is what is called when an attribute of this object is
        accessed in a rendering, for example {object.attribute}. It should
        return the attribute, which will itself be rendered by its own
        __format__ method.
__getattr__ is what is called when an attribute of this object is accessed in a rendering for example { object . attribute } . It should return the attribute which will itself be rendered by its own __format__ method .
def __getattr__(self, item):
        """
        __getattr__ is what is called when an attribute of this object is
        accessed in a rendering, for example {object.attribute}. It should
        return the attribute, which will itself be rendered by its own
        __format__ method.

        So we return a SimpleMessagingTemplateParam that either renders to the
        item in the dictionary or to the unknown value if it doesn't exist.
        """
        if item in self.__dict_of_values:
            return SimpleMessagingTemplateParam(self.__dict_of_values[item])

        return SimpleMessagingTemplateParam(UNKNOWN_VALUE)
def __getattr__ ( self , item ) : if item in self . __dict_of_values : return SimpleMessagingTemplateParam ( self . __dict_of_values [ item ] ) return SimpleMessagingTemplateParam ( UNKNOWN_VALUE )