MCPcopy Create free account
hub / github.com/diffgram/diffgram / rebuild_label_map

Function rebuild_label_map

shared/utils/job_launch_utils.py:9–14  ·  view source on GitHub ↗
(label_file_list)

Source from the content-addressed store, hash-verified

7from shared.database.task.job.job import Job
8
9def rebuild_label_map(label_file_list):
10 colour_map = {}
11 for label_file in label_file_list:
12 colour_map[label_file.id] = label_file.colour
13
14 return colour_map
15
16
17def task_template_label_attach(session,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected