MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / delete

Method delete

apps/trigger/views/trigger.py:399–403  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str, source_type: str, source_id: str, trigger_id: str)

Source from the content-addressed store, hash-verified

397 get_operation_object=lambda r, k: get_trigger_operation_object(k.get('trigger_id')),
398 )
399 def delete(self, request: Request, workspace_id: str, source_type: str, source_id: str, trigger_id: str):
400 return result.success(TaskSourceTriggerOperateSerializer(
401 data={'trigger_id': trigger_id, 'workspace_id': workspace_id,
402 'source_id': source_id, 'source_type': source_type}
403 ).delete())

Callers

nothing calls this directly

Calls 3

successMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected