code: def test_log_record_that_makes_me_cry(api: Argilla):
      dataset = "test_log_record_that_makes_me_cry"
      record = TokenClassificationRecord(
          text="'Secret Story : Última hora' debuta con un pobre 8.7% en el access de Telecinco.. . "
          "PROGRAMAS CON MEJOR CUOTA DEL LUNES (POR CADENAS). . ",
          tokens=[
              "'",
              "Secret",
              "Story",
              ":",
              "Última",
              "hora",
              "'",
              "debuta",
              "con",
              "un",
              "pobre",
              "8.7%",
              "en",
              "el",
              "access",
              "de",
              "Telecinco",
              "..",
              ".",
              "PROGRAMAS",
              "CON",
              "MEJOR",
              "CUOTA",
              "DEL",
              "LUNES",
              "(",
              "POR",
              "CADENAS",
              ")",
              ".",
              ".",
          ],
          prediction=[("ENG", 60, 66)],
          annotation=None,
          prediction_agent=None,
          annotation_agent=None,
          id=None,
          metadata={"section": "television", "newspaper": "eldiario"},
          status="Default",
          event_timestamp=None,
      )
      delete_ignoring_errors(dataset)
      api.log(record, name=dataset)
  
      records = api.load(dataset)
      assert len(records) == 1
      assert records[0].text == record.text
      assert records[0].tokens == record.tokens
      assert records[0].metrics == {
          "tokens": [
              {"value": "'"},
              {"capitalness": "FIRST", "value": "Secret"},
              {"capitalness": "FIRST", "value": "Story"},
              {"value": ":"},
              {"capitalness": "FIRST", "value": "Última"},
              {"capitalness": "LOWER", "value": "hora"},
              {"value": "'"},
              {"capitalness": "LOWER", "value": "debuta"},
              {"capitalness": "LOWER", "value": "con"},
              {"capitalness": "LOWER", "value": "un"},
              {"capitalness": "LOWER", "value": "pobre"},
              {"value": "8.7%"},
              {"capitalness": "LOWER", "value": "en"},
              {"capitalness": "LOWER", "value": "el"},
              {"capitalness": "LOWER", "value": "access"},
              {"capitalness": "LOWER", "value": "de"},
              {"capitalness": "FIRST", "value": "Telecinco"},
              {"value": ".."},
              {"value": "."},
              {"capitalness": "UPPER", "value": "PROGRAMAS"},
              {"capitalness": "UPPER", "value": "CON"},
              {"capitalness": "UPPER", "value": "MEJOR"},
              {"capitalness": "UPPER", "value": "CUOTA"},
              {"capitalness": "UPPER", "value": "DEL"},
              {"capitalness": "UPPER", "value": "LUNES"},
              {"value": "("},
              {"capitalness": "UPPER", "value": "POR"},
              {"capitalness": "UPPER", "value": "CADENAS"},
              {"value": ")"},
              {"value": "."},
              {"value": "."},
          ],
          "text_length": 137,
          "predicted": {
              "mentions": [
                  {
                      "capitalness": "LOWER",
                      "score": 0.0,
                      "label": "ENG",
                      "value": "access",
                  }
              ]
          },
          "annotated": {"mentions": []},
      }
  
file_path: argilla/tests/integration/test_log_for_token_classification.py
imports: import argilla
  import pytest
  from argilla import TokenClassificationRecord
  from argilla.client import api
  from argilla.client.client import Argilla
  from argilla.client.sdk.commons.errors import NotFoundApiError
  from argilla.client.singleton import ArgillaSingleton
  from argilla.metrics import __all__
  from argilla.metrics import entity_consistency
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 4 for calling a global function with example usage: test_log_record_that_makes_me_cry(api) without return types