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

Function edit_local

backend/apps/datasource/api/datasource.py:211–212  ·  view source on GitHub ↗
(session: SessionDep, data: TableObj)

Source from the content-addressed store, hash-verified

209@router.post("/editLocalComment", include_in_schema=False)
210@require_permissions(permission=SqlbotPermission(role=['ws_admin']))
211async def edit_local(session: SessionDep, data: TableObj):
212 update_table_and_fields(session, data)
213
214
215@router.post("/editTable", response_model=None, summary=f"{PLACEHOLDER_PREFIX}ds_edit_table")

Callers

nothing calls this directly

Calls 1

update_table_and_fieldsFunction · 0.85

Tested by

no test coverage detected