code: def get_transcript_preferences(course_id):
      
      try:
          transcript_preference = TranscriptPreference.objects.get(course_id=course_id)
      except TranscriptPreference.DoesNotExist:
          return
  
      return TranscriptPreferenceSerializer(transcript_preference).data
docs: Retrieves course wide transcript preferences
  
      Arguments:
          course_id (str): course id