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

Method get

apps/trigger/views/trigger.py:334–338  ·  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

332 RoleConstants.USER.get_workspace_role(),
333 RoleConstants.WORKSPACE_MANAGE.get_workspace_role())
334 def get(self, request: Request, workspace_id: str, source_type: str, source_id: str, trigger_id: str):
335 return result.success(TaskSourceTriggerOperateSerializer(
336 data={'trigger_id': trigger_id, 'workspace_id': workspace_id,
337 'source_id': source_id, 'source_type': source_type}
338 ).one())
339
340 @extend_schema(
341 methods=['PUT'],

Callers

nothing calls this directly

Calls 3

successMethod · 0.45
oneMethod · 0.45

Tested by

no test coverage detected