MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / gen_testing_engine

Method gen_testing_engine

lib/sqlalchemy/testing/fixtures/base.py:174–186  ·  view source on GitHub ↗
(
            url=None,
            options=None,
            asyncio=False,
        )

Source from the content-addressed store, hash-verified

172 from .. import engines
173
174 def gen_testing_engine(
175 url=None,
176 options=None,
177 asyncio=False,
178 ):
179 if options is None:
180 options = {}
181 options["scope"] = "fixture"
182 return engines.testing_engine(
183 url=url,
184 options=options,
185 asyncio=asyncio,
186 )
187
188 yield gen_testing_engine
189

Callers

nothing calls this directly

Calls 1

testing_engineMethod · 0.80

Tested by

no test coverage detected