def _ack(self, sub: str, messages: list) -> None:
    receipt_handle_list = [message['ReceiptHandle'] for message in messages]
    for receipt_handle in receipt_handle_list:
        self._client.delete_message(QueueUrl=sub, ReceiptHandle=receipt_handle)
def _ack(self, sub: str, messages: list) -> None:
    receipt_handle_list = [message['ReceiptHandle'] for message in messages]
    for receipt_handle in receipt_handle_list:
        self._client.delete_message(QueueUrl=sub, ReceiptHandle=receipt_handle)