

@classmethod
def parse(cls, api, json):
    relationship = json['relationship']
    source = cls(api)
    for (k, v) in k['source'].items():
        setattr(source, k, v)
    target = cls(api)
    for (k, v) in relationship['target'].items():
        setattr(target, k, v)
    return (source, target)

dataset/ETHPy150Open balanced/status.balancedpayments.com/situation/tweepy/models.py Friendship.parse/VarMisuse@38/41 `relationship`->`k`