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

Method get

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

Source from the content-addressed store, hash-verified

304 RoleConstants.USER.get_workspace_role(),
305 RoleConstants.WORKSPACE_MANAGE.get_workspace_role())
306 def get(self, request: Request, workspace_id: str, source_type: str, source_id: str):
307 return result.success(TaskSourceTriggerListSerializer(data={
308 'workspace_id': workspace_id,
309 'source_id': source_id,
310 'source_type': source_type,
311 }).list())
312
313 class Operate(APIView):
314 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 3

successMethod · 0.45
listMethod · 0.45

Tested by

no test coverage detected