

def get_user(self, userPk):
    'Return an user speficied with userPk'
    r = self._request(('user/' + userPk))
    if r:
        u = User()
        u.pk = u.id = userPk
        u.__dict__.update(r.json())
        return u
    return None

dataset/ETHPy150Open ebu/radiodns-plugit/RadioDns-PlugIt/plugit/api.py PlugItAPI.get_user/original