MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / get_sqlite_engine

Function get_sqlite_engine

test/test_db_sync.py:40–43  ·  view source on GitHub ↗

Create and return a SQLite database engine

()

Source from the content-addressed store, hash-verified

38 return create_engine(conn_str)
39
40def get_sqlite_engine():
41 """Create and return a SQLite database engine"""
42 conn_str = f"sqlite:///{sqlite_db_config['db_path']}"
43 return create_engine(conn_str)
44
45def get_db_schema(engine):
46 """Get current table structure of the database"""

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected