code: def test_token_classification_record(
      annotation, status, expected_status, expected_iob
  ):
      """Just testing its dynamic defaults"""
      record = TokenClassificationRecord(
          text="test text",
          tokens=["test", "text"],
          annotation=annotation,
          status=status,
      )
      assert record.status == expected_status
      assert record.spans2iob(record.annotation) == expected_iob
  
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 4 for calling a global function with example usage: test_token_classification_record(annotation, status, expected_status, expected_iob) without return types