code: def test_group_by_agg_bad_input_types(input: Any) -> None:
      df = pl.LazyFrame({"a": [1, 1, 2, 2], "b": [1, 2, 3, 4]})
      with pytest.raises(TypeError):
          df.group_by("a").agg(input)
  
imports: from __future__ import annotations
  from collections import OrderedDict
  from datetime import datetime, timedelta
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 9 for calling a global function with example usage: test_group_by_agg_bad_input_types(input) without return types