def add_module(self, name):
        d = self.modules_dict()
        if name in d: return d[name]
        d[name] = m = self.new_module(name)
        return m

    # sys interface
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/ihooks.py/Hooks.add_module/original