code: def test_struct_empty_list_creation() -> None:
      payload = [
          [],
          [{"a": 1, "b": 2}, {"a": 3, "b": 4}, {"a": 5, "b": 6}],
          [],
      ]
  
      assert pl.DataFrame({"list_struct": payload}).to_dict(
          as_series=False
      ) == {
          "list_struct": [
              [],
              [{"a": 1, "b": 2}, {"a": 3, "b": 4}, {"a": 5, "b": 6}],
              [],
          ]
      }
  
      # pop first
      payload = payload[1:]
      assert pl.DataFrame({"list_struct": payload}).to_dict(
          as_series=False
      ) == {
          "list_struct": [
              [{"a": 1, "b": 2}, {"a": 3, "b": 4}, {"a": 5, "b": 6}],
              [],
          ]
      }
  
imports: from __future__ import annotations
  from dataclasses import dataclass
  from datetime import datetime, time
  from typing import TYPE_CHECKING
  import pandas
  import pyarrow
  import pytest
  import polars
  import polars.selectors
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 19 for calling a global function with example usage: test_struct_empty_list_creation() without return types