MCPcopy Index your code
hub / github.com/dataease/SQLBot / get_data_engine

Function get_data_engine

backend/apps/db/engine.py:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32def get_data_engine():
33 engine = get_engine_conn()
34 session_maker = sessionmaker(bind=engine)
35 session = session_maker()
36 return session
37
38
39def create_table(session, table_name: str, fields: List[any]):

Callers

nothing calls this directly

Calls 1

get_engine_connFunction · 0.85

Tested by

no test coverage detected