def log_next_batch(self):
        """Upload the next batch of items, return whether successful."""

        batch = self._next_batch()
        if len(batch) == 0:
            return False

        success = self._log_records(batch)
        # mark items as acknowledged from queue
        for _ in batch:
            self.queue.task_done()
        return success
Upload the next batch of items, return whether successful.
argilla-v1/src/argilla_v1/monitoring/base.py