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

Function getTablesByDs

backend/apps/datasource/crud/datasource.py:151–154  ·  view source on GitHub ↗
(session: SessionDep, ds: CoreDatasource)

Source from the content-addressed store, hash-verified

149
150
151def getTablesByDs(session: SessionDep, ds: CoreDatasource):
152 # check_status(session, ds, True)
153 tables = get_tables(ds)
154 return tables
155
156
157def getFields(session: SessionDep, id: int, table_name: str):

Callers 2

innerFunction · 0.85
sync_single_fieldsFunction · 0.85

Calls 1

get_tablesFunction · 0.90

Tested by

no test coverage detected