code: def test_from_dicts_struct() -> None:
      assert pl.from_dicts([{"a": 1, "b": {"a": 1, "b": 2}}]).to_series(
          1
      ).to_list() == [{"a": 1, "b": 2}]
  
      assert pl.from_dicts(
          [
              {
                  "a": 1,
                  "b": {"a_deep": 1, "b_deep": {"a_deeper": [1, 2, 4]}},
              }
          ]
      ).to_series(1).to_list() == [
          {"a_deep": 1, "b_deep": {"a_deeper": [1, 2, 4]}}
      ]
  
      data = [
          {"a": [{"b": 0, "c": 1}]},
          {"a": [{"b": 1, "c": 2}]},
      ]
  
      assert pl.from_dicts(data).to_series().to_list() == [
          [{"b": 0, "c": 1}],
          [{"b": 1, "c": 2}],
      ]
  
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 14 for calling a global function with example usage: test_from_dicts_struct() without return types