def __init__(self, config):
        if isinstance(config, basestring):
            config = imp.load_source('sqlstore_settings', config)
        self._default_params = config.default_params
        self.farms = config.farms
        self.configs = config.configs