MCPcopy Create free account
hub / github.com/dataease/SQLBot / datasource_list

Function datasource_list

backend/apps/datasource/api/datasource.py:48–49  ·  view source on GitHub ↗
(session: SessionDep, user: CurrentUser)

Source from the content-addressed store, hash-verified

46@router.get("/list", response_model=List[CoreDatasource], summary=f"{PLACEHOLDER_PREFIX}ds_list",
47 description=f"{PLACEHOLDER_PREFIX}ds_list_description")
48async def datasource_list(session: SessionDep, user: CurrentUser):
49 return get_datasource_list(session=session, user=user)
50
51
52@router.post("/get/{id}", response_model=CoreDatasource, summary=f"{PLACEHOLDER_PREFIX}ds_get")

Callers

nothing calls this directly

Calls 1

get_datasource_listFunction · 0.85

Tested by

no test coverage detected