code: def test_streaming_nested_categorical() -> None:
      assert (
          pl.LazyFrame(
              {"numbers": [1, 1, 2], "cat": [["str"], ["foo"], ["bar"]]}
          )
          .with_columns(pl.col("cat").cast(pl.List(pl.Categorical)))
          .group_by("numbers")
          .agg(pl.col("cat").first())
          .sort("numbers")
      ).collect(streaming=True).to_dict(as_series=False) == {
          "numbers": [1, 2],
          "cat": [["str"], ["bar"]],
      }
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_streaming_nested_categorical() without return types