code: def test_entity_label_too_long():
      text = "On one ones o no"
      with pytest.raises(
          ValidationError,
          match="ensure this value has at most 128 character",
      ):
          ServiceTokenClassificationRecord(
              text=text,
              tokens=text.split(),
              prediction=TokenClassificationAnnotation(
                  agent="test",
                  entities=[
                      EntitySpan(
                          start=9,
                          end=len(text),
                          label="a" * 1000,
                      ),
                  ],
              ),
          )
  
imports: import pytest
  from argilla.server.apis.v0.models.token_classification import TokenClassificationAnnotation, TokenClassificationQuery, TokenClassificationRecord
  from argilla.server.commons.models import PredictionStatus
  from argilla.server.daos.backend.search.query_builder import EsQueryBuilder
  from argilla.server.services.tasks.token_classification.model import EntitySpan, ServiceTokenClassificationRecord
  from tests.pydantic_v1 import ValidationError
label_desc: Use image node_id 7 for calling a global function with example usage: test_entity_label_too_long() without return types