

@classmethod
def parse(cls, api, json):
    user = cls(api)
    for (k, v) in json.items():
        if (k == 'created_at'):
            setattr(user, k, parse_datetime(v))
        elif (k == 'status'):
            setattr(user, k, Status.parse(api, v))
        elif (k == 'following'):
            if (v is True):
                setattr(user, k, True)
            else:
                setattr(user, k, False)
        else:
            setattr(user, k, v)
    return user

dataset/ETHPy150Open balanced/status.balancedpayments.com/situation/tweepy/models.py User.parse/original