MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / push_engine

Method push_engine

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

Source from the content-addressed store, hash-verified

389
390 @classmethod
391 def push_engine(cls, db, namespace):
392 assert _current, "Can't push without a default Config set up"
393 cls.push(
394 Config(
395 db, _current.db_opts, _current.options, _current.file_config
396 ),
397 namespace,
398 )
399
400 @classmethod
401 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