def _make_embedded_from(self, doc):
        '''Creates embedded navigators from a HAL response doc'''
        ld = utils.CurieDict(self._core.default_curie, {})
        for rel, doc in doc.get('_embedded', {}).items():
            if isinstance(doc, list):
                ld[rel] = [self._recursively_embed(d) for d in doc]
            else:
                ld[rel] = self._recursively_embed(doc)
        return ld
def _make_embedded_from ( self , doc ) : ld = utils . CurieDict ( self . _core . default_curie , { } ) for rel , doc in doc . get ( '_embedded' , { } ) . items ( ) : if isinstance ( doc , list ) : ld [ rel ] = [ self . _recursively_embed ( d ) for d in doc ] else : ld [ rel ] = self . _recursively_embed ( doc ) return ld
Creates embedded navigators from a HAL response doc