

@classmethod
def parse(cls, api, json):
    result = cls(api)
    for (k, v) in json.items():
        if ((k == 'value') and (json['kind'] in ['Tweet', 'LookedupStatus'])):
            setattr(result, k, Status.parse(api, v))
        elif (k == 'results'):
            setattr(result, api, Relation.parse_list(api, v))
        else:
            setattr(result, k, v)
    return result

dataset/ETHPy150Open balanced/status.balancedpayments.com/situation/tweepy/models.py Relation.parse/VarMisuse@93/111 `k`->`api`