Jump to content

Recommended Posts

import gom

getInspectionsByLabelName = lambda label_name: [insp for insp in gom.app.project.inspection if insp.label.name == label_name]

if __name__ == "__main__":
	inspections_with_label_template_results = getInspectionsByLabelName ("Results")
	print (inspections_with_label_template_results)

 

×
×
  • Create New...