code: def test_variable_list_records(
      self,
  ):  # checks if the type can be inferred from the second record
      list_records = [{"col_1": []}, {"col_1": [1, 2]}]
      dset = Dataset.from_list(list_records)
      self.assertEqual(
          dset.info.features["col_1"], Sequence(Value("int64"))
      )
  
file_path: datasets/tests/test_dataset_list.py
imports: from unittest import TestCase
  from datasets import Sequence, Value
  from datasets.arrow_dataset import Dataset
label_desc: Use image node_id 6 for calling the DatasetListTest obj's underlying member method code with example usage: obj.test_variable_list_records() without return types