

def _make_links_from(self, body):
    'Creates linked navigators from a HAL response body'
    ld = utils.CurieDict(self._core.default_curie, {
        
    })
    for (rel, link) in body.get('_links', {
        
    }).items():
        if (rel != 'curies'):
            if isinstance(link, list):
                ld[rel] = utils.LinkList(((self._navigator_or_thunk(lnk), lnk) for lnk in link))
            else:
                ld[rel] = self._navigator_or_thunk(link)
    return ld

dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py HALNavigatorBase._make_links_from/original