def __init__(self, config=None): logging.basicConfig(level=logging.DEBUG) ComponentManager.__init__(self) load_components(self) self.config = Configuration(self) self.config.load(config) logger.debug("Configuration loaded: %s", repr(self.config._data))
def __init__(self, config=None): logging.basicConfig(level=logging.DEBUG) ComponentManager.__init__(self) load_components(self, 'cydra.config') self.config = Configuration(self) self.config.load(config) logger.debug("Configuration loaded: %s", repr(self.config._data)) load_components(self) # Update last instance to allow instance reusing Cydra._last_instance = self
def __init__(self, config=None): logging.basicConfig(level=logging.DEBUG) ComponentManager.__init__(self) load_components(self, "cydra.config") self.config = Configuration(self) self.config.load(config) logger.debug("Configuration loaded: %s", repr(self.config._data)) load_components(self) # Update last instance to allow instance reusing Cydra._last_instance = self