code: def test_pickle_lazyframe_udf() -> None:
      df = pl.DataFrame({"a": [1, 2, 3]})
  
      q = df.lazy().map_batches(df_times2)
      b = pickle.dumps(q)
  
      q = pickle.loads(b)
      assert q.collect()["a"].to_list() == [2, 4, 6]
  
imports: from __future__ import annotations
  import io
  import pickle
  from datetime import datetime, timedelta
  import pytest
  import polars
  from polars import StringCache
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 15 for calling a global function with example usage: test_pickle_lazyframe_udf() without return types