MCPcopy
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 2

_single_testFunction · 0.70
reflect_whole_tablesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected