(self)
return self.__host_result
memoized doesn't seem to work with overriding __getattr__ at the same time,
        so we cache the result using a private attribute.
memoized doesn't seem to work with overriding __getattr__ at the same time,
        so we cache the result using a private attribute.
memoized doesn t seem to work with overriding __getattr__ at the same time so we cache the result using a private attribute .
def __get_host_result(self):
        """
        memoized doesn't seem to work with overriding __getattr__ at the same time,
        so we cache the result using a private attribute.
        """
        if self.__host_result:
            return self.__host_result

        host_case = self.__case.host
        if host_case:
            self.__host_result = CaseMessagingTemplateParam(host_case)
        else:
            self.__host_result = SimpleMessagingTemplateParam(UNKNOWN_VALUE)

        return self.__host_result
def __get_host_result ( self ) : if self . __host_result : return self . __host_result host_case = self . __case . host if host_case : self . __host_result = CaseMessagingTemplateParam ( host_case ) else : self . __host_result = SimpleMessagingTemplateParam ( UNKNOWN_VALUE ) return self . __host_result