@frappe.whitelist()
def get_evaluation_criterias(course):
 return frappe.get_list(u'Course Evaluation Criteria', fields=[u'evaluation_criteria', u'weightage'], filters={u'parent': course}, order_by=u'idx')

@ frappe . whitelist ( ) def get_evaluation_criterias ( course ) : return frappe . get_list ( u'Course Evaluation Criteria' , fields = [ u'evaluation_criteria' , u'weightage' ] , filters = { u'parent' : course } , order_by = u'idx' )
returns evaluation criterias and their weightage from course master .