docstr: Checks all records in batch have same multi-label configuration
code: def check_multi_label_integrity(
      cls, records: List[TextClassificationRecord]
  ):
      """Checks all records in batch have same multi-label configuration"""
      if records:
          multi_label = records[0].multi_label
          for record in records[1:]:
              assert (
                  multi_label == record.multi_label
              ), "All records must be single/multi labelled"
      return records
  
imports: from datetime import datetime
  from typing import Dict, List, Optional, Union
  from argilla.server.apis.v0.models.commons.model import BaseRecord, BaseRecordInputs, BaseSearchResults, ScoreRange, SortableField
  from argilla.server.commons.models import PredictionStatus
  from argilla.server.pydantic_v1 import BaseModel, Field, root_validator, validator
  from argilla.server.schemas.v0.datasets import UpdateDatasetRequest
  from argilla.server.services.search.model import ServiceBaseRecordsQuery, ServiceBaseSearchResultsAggregations
  from argilla.server.services.tasks.text_classification.model import DatasetLabelingRulesMetricsSummary
  from argilla.server.services.tasks.text_classification.model import LabelingRuleMetricsSummary
  from argilla.server.services.tasks.text_classification.model import ServiceTextClassificationDataset, TokenAttributions
  from argilla.server.services.tasks.text_classification.model import TextClassificationAnnotation
label_desc: Use image node_id 1 for calling the TextClassificationBulkRequest obj's underlying member method code with example usage: obj.check_multi_label_integrity(cls, records) and returns: records