MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / go

Function go

test/perf/many_table_reflection.py:202–210  ·  view source on GitHub ↗
(bind)

Source from the content-addressed store, hash-verified

200 singe_fn = getattr(Inspector, singe_fn_name)
201
202 def go(bind):
203 insp = sa.inspect(bind)
204 single = {}
205 with timing(singe_fn.__name__):
206 for t in table_names:
207 single[(schema_name, t)] = singe_fn(
208 insp, t, schema=schema_name
209 )
210 return single
211
212 if USE_CONNECTION:
213 with engine.connect() as c:

Callers 15

_single_testFunction · 0.70
reflect_whole_tablesFunction · 0.70
test_order_byMethod · 0.50
test_global_trackingMethod · 0.50
test_execute_booleanMethod · 0.50
test_in_expressionsMethod · 0.50
test_in_expr_compileMethod · 0.50
test_bind_typeMethod · 0.50

Calls

no outgoing calls

Tested by 15

test_order_byMethod · 0.40
test_global_trackingMethod · 0.40
test_execute_booleanMethod · 0.40
test_in_expressionsMethod · 0.40
test_in_expr_compileMethod · 0.40
test_bind_typeMethod · 0.40