def get(self, semester, decoded_payload):
     email = decoded_payload.get('email')
     response, code = HODService.get_courses(email=email, semester=semester)
     return response, code
Ejemplo n.º 2
0
 def get(self, semester, decoded_payload):
     ''' Get all courses in HOD's department filtered by provided semester '''
     email = decoded_payload.get('email')
     response, code = HODService.get_courses(email=email, semester=semester)
     return response, code