MCPcopy Index your code
hub / github.com/diffgram/diffgram / get_sequence_from_label_using_task

Function get_sequence_from_label_using_task

default/methods/video/sequence.py:54–63  ·  view source on GitHub ↗
(task_id, label_file_id)

Source from the content-addressed store, hash-verified

52 methods = ['GET'])
53@Permission_Task.by_task_id(apis_user_list = ["builder_or_trainer"])
54def get_sequence_from_label_using_task(task_id, label_file_id):
55 with sessionMaker.session_scope() as session:
56 task = Task.get_by_id(
57 session = session,
58 task_id = task_id)
59
60 project = task.project
61
62 return get_sequence_from_label_shared(
63 session, task.file_id, label_file_id)
64
65
66@routes.route('/api/project/<string:project_string_id>' +

Callers

nothing calls this directly

Calls 2

get_by_idMethod · 0.45

Tested by

no test coverage detected