@classmethod
    def parse(cls, api, json):
        result = cls(api)
        for k,v in json.items():
            if k == 'connections':
                setattr(result, 'is_following', 'following' in v)
                setattr(result, 'is_followed_by', 'followed_by' in v)
            else:
                setattr(result, k, v)
        return result
dataset/ETHPy150Open balanced/status.balancedpayments.com/situation/tweepy/models.py/Relationship.parse/original