def _get_timeout_from_message(self, orig_message_raw, callback_id,
                               headers):
     timeout_from_message = SmartAppFromMessage(
         orig_message_raw,
         headers=headers,
         masking_fields=self.masking_fields)
     timeout_from_message.callback_id = callback_id
     return timeout_from_message
 def _get_timeout_from_message(self, orig_message_raw, callback_id,
                               headers):
     orig_message_raw = json.dumps(orig_message_raw)
     timeout_from_message = SmartAppFromMessage(
         orig_message_raw,
         headers=headers,
         masking_fields=self.masking_fields,
         validators=self.from_msg_validators)
     timeout_from_message.callback_id = callback_id
     return timeout_from_message