code: def selected_course(func):
      
      @wraps(func)
      def inner(*args, **kwargs):
          course = Course.get_selected()
          return func(course, *args, **kwargs)
      return inner
docs: Passes the selected course as the first argument to func.