MCPcopy Index your code
hub / github.com/modelscope/modelscope / get_task_by_subtask_name

Function get_task_by_subtask_name

modelscope/utils/task_utils.py:89–94  ·  view source on GitHub ↗
(group_key)

Source from the content-addressed store, hash-verified

87
88
89def get_task_by_subtask_name(group_key):
90 if group_key in INVERTED_TASKS_LEVEL:
91 return INVERTED_TASKS_LEVEL[group_key][
92 PARENT_TASK], INVERTED_TASKS_LEVEL[group_key][TASK_MODEL]
93 else:
94 return group_key, None

Callers 1

build_modelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…