

def __init__(self, link, core, response=None, state=None, curies=None, _links=None, _embedded=None):
    'Internal constructor. If you want to create a new\n        HALNavigator, use the factory `Navigator.hal`\n        '
    if core.is_cached(link):
        return
    else:
        self.self = link
        self.response = response
        self.state = state
        self.fetched = (response is not None)
        self.curies = curies
        self._core = core
        self._links = (_links or utils.CurieDict(core.default_curie, {
            
        }))
        self._embedded = (_embedded or utils.CurieDict(core.default_curie, {
            
        }))
        core.cache(link, self)

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