

def __init__(self, root, nav_class, apiname=None, default_curie=None, session=None, id_map=None):
    self.root = root
    self.nav_class = nav_class
    self.apiname = (utils.namify(root) if (apiname is None) else apiname)
    self.default_curie = default_curie
    self.session = (session or requests.Session())
    self.id_map = (id_map if (id_map is not None) else WeakValueDictionary())

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