code: def test_log_records_with_empty_metadata_list(argilla_user: "User"):
      dataset = "test_log_records_with_empty_metadata_list"
  
      init(
          api_key=argilla_user.api_key, workspace=argilla_user.username
      )
  
      delete_ignoring_errors(dataset)
      expected_records = [
          TextClassificationRecord(
              text="The input text", metadata={"emptyList": []}
          ),
          TextClassificationRecord(
              text="The input text", metadata={"emptyTuple": ()}
          ),
          TextClassificationRecord(
              text="The input text", metadata={"emptyDict": {}}
          ),
          TextClassificationRecord(
              text="The input text", metadata={"none": None}
          ),
      ]
      log(expected_records, name=dataset)
  
      df = load(dataset)
      df = df.to_pandas()
      assert len(df) == len(expected_records)
  
      for meta in df.metadata.values.tolist():
          assert meta == {}
  
imports: from typing import TYPE_CHECKING
  import argilla
  import pytest
  from argilla.client.api import load, log
  from argilla.client.client import Argilla
  from argilla.client.datasets import read_datasets
  from argilla.client.models import TextClassificationRecord, TokenClassificationRecord
  from argilla.client.sdk.commons.errors import BadRequestApiError, GenericApiError, ValidationApiError
  from argilla.client.singleton import init
  from argilla.server.settings import settings
  from tests.factories import WorkspaceFactory
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 7 for calling a global function with example usage: test_log_records_with_empty_metadata_list(argilla_user) without return types