def __init__(self, config): ResourceLocator.__init__(self, config) fpath = os.path.dirname(__file__) + "/" + self._get_config_value('aws_config') f = open(fpath) self._dataMap = yaml.safe_load(f) # todo: error handling of this file loading # todo: move to file loading utility f.close()
def __init__(self, config): ResourceLocator.__init__(self, config) fpath = os.path.dirname(__file__) + "/" + self._get_config_value( 'aws_config') f = open(fpath) self._dataMap = yaml.safe_load(f) # todo: error handling of this file loading # todo: move to file loading utility f.close()
def __init__(self, config): ResourceLocator.__init__(self, config)