code: def log_tokenclassification_records(
      mocked_client,
      tokenclassification_records,
  ) -> str:
      dataset_name = "tokenclassification_records"
      mocked_client.delete(f"/api/datasets/{dataset_name}")
  
      mocked_client.post(
          f"/api/datasets/{dataset_name}/{TaskType.token_classification}:bulk",
          json=TokenClassificationBulkData(
              tags={
                  "env": "test",
                  "task": TaskType.token_classification,
              },
              records=[
                  CreationTokenClassificationRecord.from_client(rec)
                  for rec in tokenclassification_records
              ],
          ).dict(by_alias=True),
      )
  
      return dataset_name
  
imports: import datetime
  import random
  from typing import TYPE_CHECKING, Generator, List
  import pytest
  from argilla.client.api import log
  from argilla.client.datasets import read_datasets
  from argilla.client.feedback.dataset.local.dataset import FeedbackDataset
  from argilla.client.feedback.schemas import FeedbackRecord, LabelQuestion, MultiLabelQuestion, RankingQuestion, RatingQuestion, TextField, TextQuestion
  from argilla.client.feedback.schemas.metadata import FloatMetadataProperty, IntegerMetadataProperty, TermsMetadataProperty
  from argilla.client.feedback.schemas.vector_settings import VectorSettings
  from argilla.client.models import Text2TextRecord, TextClassificationRecord, TokenAttributions, TokenClassificationRecord
  from argilla.client.sdk.datasets.models import TaskType
  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
  from argilla.client.singleton import init
  from argilla.server.models import User
  from datasets import Dataset
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 7 for calling a global function with example usage: log_tokenclassification_records(mocked_client, tokenclassification_records) and returns: dataset_name