Example #1
0
    def _enqueue_report_finished_message(self, status):
        """Enqueue a report_finished ForwardMsg.

        Parameters
        ----------
        status : ReportFinishedStatus

        """
        msg = ForwardMsg()
        msg.report_finished = status
        self.enqueue(msg)
Example #2
0
def _create_report_finished_msg(status) -> ForwardMsg:
    msg = ForwardMsg()
    msg.report_finished = status
    return msg
Example #3
0
 def _enqueue_report_finished_message(self):
     msg = ForwardMsg()
     msg.report_finished = True
     self.enqueue(msg)