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

Function edit_table

backend/apps/datasource/api/datasource.py:217–218  ·  view source on GitHub ↗
(session: SessionDep, table: CoreTable)

Source from the content-addressed store, hash-verified

215@router.post("/editTable", response_model=None, summary=f"{PLACEHOLDER_PREFIX}ds_edit_table")
216@require_permissions(permission=SqlbotPermission(role=['ws_admin']))
217async def edit_table(session: SessionDep, table: CoreTable):
218 updateTable(session, table)
219
220
221@router.post("/editField", response_model=None, summary=f"{PLACEHOLDER_PREFIX}ds_edit_field")

Callers

nothing calls this directly

Calls 1

updateTableFunction · 0.85

Tested by

no test coverage detected