<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def decompress_messages(self, offmsgs):
 """ Decompress pre-defined compressed fields for each message. Msgs should be unpacked before this step. """


        for offmsg in offmsgs:
            yield offmsg.message.key, self.decompress_fun(offmsg.message.value)