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

Method put

apps/trigger/views/trigger.py:191–194  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str)

Source from the content-addressed store, hash-verified

189 get_operation_object=lambda r, k: get_trigger_operation_object_batch(r.data.get('id_list')),
190 )
191 def put(self, request: Request, workspace_id: str):
192 return result.success(TriggerSerializer.Batch(
193 data={'workspace_id': workspace_id, 'user_id': request.user.id}
194 ).batch_delete(request.data))
195
196 class BatchActivate(APIView):
197 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
batch_deleteMethod · 0.45

Tested by

no test coverage detected