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

Function build_attribute_groups_reference

shared/export/export_generation.py:290–306  ·  view source on GitHub ↗

Given a project builds reference to values...

(session: 'Session', project: Project)

Source from the content-addressed store, hash-verified

288
289
290def build_attribute_groups_reference(session: 'Session', project: Project):
291 """
292 Given a project builds reference to values...
293 """
294 group_list = Attribute_Template_Group.list(
295 session = session,
296 group_id = None,
297 project_id = project.id,
298 return_kind = "objects"
299 )
300
301 group_list_serialized = []
302
303 for group in group_list:
304 group_list_serialized.append(group.serialize_with_attributes_and_labels(session))
305
306 return group_list_serialized
307
308
309def build_packet(file,

Callers 1

annotation_export_coreFunction · 0.85

Calls 2

listMethod · 0.45

Tested by

no test coverage detected