

def __init__(self, mod, *args, **kwargs):
    super(Module, self).__init__(*args, **kwargs)
    if (not isinstance(mod, types.ModuleType)):
        raise TypeError('mod should be instance of module')
    self.module = mod

dataset/ETHPy150Open oleiade/etcaetera/etcaetera/adapter/module.py Module.__init__/original