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

Function edit_field

backend/apps/datasource/api/datasource.py:223–224  ·  view source on GitHub ↗
(session: SessionDep, field: CoreField)

Source from the content-addressed store, hash-verified

221@router.post("/editField", response_model=None, summary=f"{PLACEHOLDER_PREFIX}ds_edit_field")
222@require_permissions(permission=SqlbotPermission(role=['ws_admin']))
223async def edit_field(session: SessionDep, field: CoreField):
224 updateField(session, field)
225
226
227@router.post("/previewData/{id}", response_model=PreviewResponse, summary=f"{PLACEHOLDER_PREFIX}ds_preview_data")

Callers

nothing calls this directly

Calls 1

updateFieldFunction · 0.85

Tested by

no test coverage detected