code: def test_core_new_stmt_each_time_compiled_cache(n):
      """test core, creating a new statement each time, but using the cache."""
  
      compiled_cache = {}
      with engine.connect().execution_options(
          compiled_cache=compiled_cache
      ) as conn:
          for id_ in random.sample(ids, n):
              stmt = select(Customer.__table__).where(
                  Customer.id == id_
              )
              row = conn.execute(stmt).first()
              tuple(row)
  
imports: import random
  from sqlalchemy import bindparam
  from sqlalchemy import Column
  from sqlalchemy import create_engine
  from sqlalchemy import Identity
  from sqlalchemy import Integer
  from sqlalchemy import select
  from sqlalchemy import String
  from sqlalchemy.ext import baked
  from sqlalchemy.ext.declarative import declarative_base
  from sqlalchemy.future import select
  from sqlalchemy.orm import deferred
  from sqlalchemy.orm import Session
  from sqlalchemy.sql import lambdas
  from .None import Profiler
label_desc: Use image node_id 11 for calling a global function with example usage: test_core_new_stmt_each_time_compiled_cache(n) without return types