code: def bulk_textclass_data():
      explanation = {
          "text": [
              TokenAttributions(
                  token="test", attributions={"test": 0.5}
              )
          ]
      }
      records = [
          TextClassificationRecord(
              text="test",
              prediction=[("test", 0.5)],
              prediction_agent="agent",
              annotation="test1",
              annotation_agent="agent",
              multi_label=False,
              explanation=explanation,
              id=i,
              metadata={"mymetadata": "str"},
              event_timestamp=datetime(2020, 1, 1),
              status="Validated",
          )
          for i in range(3)
      ]
  
      return TextClassificationBulkData(
          records=[
              CreationTextClassificationRecord.from_client(rec)
              for rec in records
          ],
          tags={"Mytag": "tag"},
          metadata={"MyMetadata": 5},
      )
  
file_path: argilla/tests/integration/client/sdk/conftest.py
imports: import logging
  from datetime import datetime
  from typing import Any, Dict, List
  import argilla
  import pytest
  from argilla._constants import DEFAULT_API_KEY
  from argilla.client.models import Text2TextRecord, TextClassificationRecord, TokenAttributions, TokenClassificationRecord
  from argilla.client.sdk.client import AuthenticatedClient
  from argilla.client.sdk.text2text.models import CreationText2TextRecord, Text2TextBulkData
  from argilla.client.sdk.text_classification.models import CreationTextClassificationRecord, TextClassificationBulkData
  from argilla.client.sdk.token_classification.models import CreationTokenClassificationRecord, TokenClassificationBulkData
label_desc: Use image node_id 2 for calling a global function with example usage: bulk_textclass_data() and returns: TextClassificationBulkData