MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / run_thin_mode

Function run_thin_mode

test/dialect/oracle/_oracledb_mode.py:17–22  ·  view source on GitHub ↗
(url, queue, **kw)

Source from the content-addressed store, hash-verified

15
16
17def run_thin_mode(url, queue, **kw):
18 e = create_engine(url, **kw)
19 with e.connect() as conn:
20 res = _get_version(conn)
21 queue.put((res, e.dialect.is_thin_mode(conn)))
22 e.dispose()
23
24
25def run_thick_mode(url, queue, **kw):

Callers

nothing calls this directly

Calls 6

create_engineFunction · 0.90
_get_versionFunction · 0.85
is_thin_modeMethod · 0.80
connectMethod · 0.45
putMethod · 0.45
disposeMethod · 0.45

Tested by

no test coverage detected