def get_in_process_course_actions(request):
 return [course for course in CourseRerunState.objects.find_all(exclude_args={'state': CourseRerunUIStateManager.State.SUCCEEDED}, should_display=True) if has_studio_read_access(request.user, course.course_key)]

def get_in_process_course_actions ( request ) : return [ course for course in CourseRerunState . objects . find_all ( exclude_args = { 'state' : CourseRerunUIStateManager . State . SUCCEEDED } , should_display = True ) if has_studio_read_access ( request . user , course . course_key ) ]
get all in-process course actions .