code: def test_repeat_duckdb():
      """
      Tests for hang reported in https://github.com/hex-inc/vegafusion/issues/268
      """
      vf.runtime.set_connection("duckdb")
      movies = pd.read_json(
          "https://raw.githubusercontent.com/vega/vega-datasets/main/data/movies.json"
      )
      spec = gh_268_hang_spec()
      for i in range(2):
          vf.runtime.pre_transform_datasets(
              spec,
              ["data_3"],
              inline_datasets=dict(movies_clean=movies),
          )
  
imports: import pandas
  import pytest
  from pandas import Timestamp, NaT
  import pyarrow
  import vegafusion
  import json
  import polars
  from datetime import date
  import decimal
  import base64
label_desc: Use image node_id 27 for calling a global function with example usage: test_repeat_duckdb() without return types