MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / creator

Function creator

lib/sqlalchemy/ext/asyncio/engine.py:117–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 )
116
117 def creator() -> Any:
118 # note that to send adapted arguments like
119 # prepared_statement_cache_size, user would use
120 # "creator" and emulate this form here
121 return sync_engine.dialect.dbapi.connect( # type: ignore
122 async_creator_fn=async_creator
123 )
124
125 kw["creator"] = creator
126 sync_engine = _create_engine(url, **kw)

Callers 15

setMethod · 0.85
createMethod · 0.85
mock_createMethod · 0.85
_test_adapterMethod · 0.85
_test_empty_initMethod · 0.85
_test_listMethod · 0.85
invalidMethod · 0.85
_test_list_bulkMethod · 0.85

Calls 1

connectMethod · 0.45

Tested by 15

createMethod · 0.68
mock_createMethod · 0.68
_test_adapterMethod · 0.68
_test_empty_initMethod · 0.68
_test_listMethod · 0.68
invalidMethod · 0.68
_test_list_bulkMethod · 0.68
_test_set_wo_mutationMethod · 0.68