code: def from_api_response(cls, reddit_session, json_dict):
          
          # The Multireddit response contains the Subreddits attribute as a list
          # of dicts of the form {'name': 'subredditname'}.
          # We must convert each of these into a Subreddit object.
          json_dict['subreddits'] = [Subreddit(reddit_session, item['name'])
                                     for item in json_dict['subreddits']]
          return cls(reddit_session, None, None, json_dict)
docs: Return an instance of the appropriate class from the json dict.