MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / push_engine

Method push_engine

lib/sqlalchemy/testing/config.py:394–401  ·  view source on GitHub ↗
(cls, db, namespace)

Source from the content-addressed store, hash-verified

392
393 @classmethod
394 def push_engine(cls, db, namespace):
395 assert _current, "Can't push without a default Config set up"
396 cls.push(
397 Config(
398 db, _current.db_opts, _current.options, _current.file_config
399 ),
400 namespace,
401 )
402
403 @classmethod
404 def push(cls, config, namespace):

Callers 1

_setup_engineFunction · 0.80

Calls 2

ConfigClass · 0.85
pushMethod · 0.45

Tested by

no test coverage detected