def get_course_milestones(course_id):
 if (not settings.FEATURES.get('MILESTONES_APP')):
  return []
 return milestones_api.get_course_milestones(course_id)

def get_course_milestones ( course_id ) : if ( not settings . FEATURES . get ( 'MILESTONES_APP' ) ) : return [ ] return milestones_api . get_course_milestones ( course_id )
client api operation adapter/wrapper .