MCPcopy
hub / github.com/Tencent/CodeAnalysis / get

Method get

server/projects/main/apps/job/apis/v1.py:226–227  ·  view source on GitHub ↗
(self, request, node_id)

Source from the content-addressed store, hash-verified

224 return task_request
225
226 def get(self, request, node_id):
227 return Response(self._get_task(request, node_id, occupy=False))
228
229 def post(self, request, node_id):
230 return Response(self._get_task(request, node_id, occupy=True))

Callers 15

has_permissionMethod · 0.45
has_permissionMethod · 0.45
after_job_closedMethod · 0.45
revoke_jobMethod · 0.45
close_scanMethod · 0.45
close_jobMethod · 0.45
save_task_resultMethod · 0.45
check_closing_jobMethod · 0.45
set_node_busy_stateMethod · 0.45
putMethod · 0.45
postMethod · 0.45

Calls 1

_get_taskMethod · 0.95

Tested by

no test coverage detected