code: def test_validate_without_labels_for_single_label(annotation):
      with pytest.raises(
          ValidationError,
          match="Annotation must include some label for validated records",
      ):
          ServiceTextClassificationRecord(
              inputs={"text": "The text"},
              status=TaskStatus.validated,
              prediction=TextClassificationAnnotation(
                  agent="test",
                  labels=[
                      ClassPrediction(class_label="C", score=0.3),
                  ],
              ),
              annotation=annotation,
          )
  
imports: import pytest
  from argilla.server.apis.v0.models.text_classification import TextClassificationAnnotation, TextClassificationQuery, TextClassificationRecord
  from argilla.server.commons.models import PredictionStatus, TaskStatus
  from argilla.server.daos.backend.search.query_builder import EsQueryBuilder
  from argilla.server.services.tasks.text_classification.model import ClassPrediction, ServiceTextClassificationRecord
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 14 for calling a global function with example usage: test_validate_without_labels_for_single_label(annotation) without return types