code: def test_too_long_metadata():
      record = ServiceTextClassificationRecord.parse_obj(
          {
              "inputs": {"text": "bogh"},
              "metadata": {"too_long": "a" * 1000},
          }
      )
  
      assert len(record.metadata["too_long"]) == 128
  
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 6 for calling a global function with example usage: test_too_long_metadata() without return types