MCPcopy Create free account
hub / github.com/dot-agent/nextpy / get_db_engine

Method get_db_engine

nextpy/data/model.py:121–127  ·  view source on GitHub ↗

Get the database engine. Returns: The database engine.

()

Source from the content-addressed store, hash-verified

119
120 @staticmethod
121 def get_db_engine():
122 """Get the database engine.
123
124 Returns:
125 The database engine.
126 """
127 return get_engine()
128
129 @staticmethod
130 def _alembic_config():

Callers 4

makemigrationsFunction · 0.80
setup_admin_dashMethod · 0.80
migrateMethod · 0.80
test_automigrationFunction · 0.80

Calls 1

get_engineFunction · 0.85

Tested by 1

test_automigrationFunction · 0.64