def finish(self, message_id):
        """Finish a message (indicate successful processing)."""
        self.send(nsq.finish(message_id))
        self.finish_inflight()
        self.on_finish.send(self, message_id=message_id)
def finish ( self , message_id ) : self . send ( nsq . finish ( message_id ) ) self . finish_inflight ( ) self . on_finish . send ( self , message_id = message_id )
Finish a message (indicate successful processing).