<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_comments(self, sharekey=None):
 """ Retrieve comments on a SharedFile Args: sharekey (str):
 Sharekey for the file from which you want to return the set of comments. Returns: List of Comment objects. """

        if not sharekey:
            raise Exception(
                "You must specify a sharekey of the file you"
                "want to 'like'.")

        endpoint = '/api/sharedfile/{0}/comments'.format(sharekey)

        data = self._make_request("GET", endpoint=endpoint)

        return [Comment.NewFromJSON(c) for c in data['comments']]