code: def test_baked_query_cols_only(n):
      """test a baked query of only the entity columns."""
      bakery = baked.bakery()
      s = Session(bind=engine)
      for id_ in random.sample(ids, n):
          q = bakery(
              lambda s: s.query(
                  Customer.id, Customer.name, Customer.description
              )
          )
          q += lambda q: q.filter(Customer.id == bindparam("id"))
          q(s).params(id=id_).one()
  
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 9 for calling a global function with example usage: test_baked_query_cols_only(n) without return types