def METHOD_NAME(self) -> None:
    """Prepare to process a batch of results"""
    if not self.supports_batch:
        return
    if self.doing_batch:
        self.logger_logger.error(
            "starting a batch while one was already in progress"
        )
    self.batch_data = {}
    self.doing_batch = True