MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _AdaptedDialect

Class _AdaptedDialect

test/engine/test_pool.py:360–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358 mock_dc = object()
359
360 class _AdaptedDialect(_ConnDialect):
361 def get_driver_connection(self, connection):
362 return mock_dc
363
364 p1 = pool.Pool(
365 creator=lambda: dbapi.connect("foo.db"), dialect=_AdaptedDialect()

Callers 1

Calls

no outgoing calls

Tested by 1