def _make_links_from(self, 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
Get port from id
dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py/HALNavigatorBase._make_links_from--crossover with--dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvincontrol.py/CalvinControl.handle_get_port_state