def get_preference(self, notification):
response = self._requester.request(<EOL>'<STR_LIT:GET>',<EOL>'<STR_LIT>'.format(<EOL>self.user_id,<EOL>self.id,<EOL>notification<EOL>)<EOL>)<EOL>data = response.json()['<STR_LIT>'][<NUM_LIT:0>]<EOL>return NotificationPreference(self._requester, data)<EOL>
Fetch the preference for the given notification for the given
communication channel.

:calls: `GET
    /api/v1/users/:user_id/communication_channels/ \
        :communication_channel_id/notification_preferences/:notification \
<https://canvas.instructure.com/doc/api/notification_preferences.html#method.notification_preferences.show>`_

:param notification: The name of the notification.
:type notification: str
:rtype: :class:`canvasapi.notification_preference.NotificationPreference`