code: def test_text_classification_input_string():
      record_id = str(uuid.uuid4())
      event_timestamp = datetime.datetime.now()
      assert TextClassificationRecord(
          id=record_id, text="A text", event_timestamp=event_timestamp
      ) == TextClassificationRecord(
          id=record_id,
          inputs=dict(text="A text"),
          event_timestamp=event_timestamp,
      )
  
      assert TextClassificationRecord(
          id=record_id,
          inputs=["A text", "another text"],
          event_timestamp=event_timestamp,
      ) == TextClassificationRecord(
          id=record_id,
          inputs=dict(text=["A text", "another text"]),
          event_timestamp=event_timestamp,
      )
  
imports: import datetime
  import json
  import uuid
  from typing import Any, Optional
  import numpy
  import pandas
  import pytest
  from argilla.client.models import Text2TextRecord, TextClassificationRecord, TokenClassificationRecord, _Validators
  from pydantic import ValidationError
label_desc: Use image node_id 2 for calling a global function with example usage: test_text_classification_input_string() without return types