diff --git a/language_indexing/config/load_configs.py b/language_indexing/config/load_configs.py index 8a3de6e..41394cd 100644 --- a/language_indexing/config/load_configs.py +++ b/language_indexing/config/load_configs.py @@ -13,7 +13,6 @@ def load_external_resource_airtable_config(config: LanguageIndexingConfiguration) -> ExternalResourceDataStore: - config_external_resource_table = config["airtable_external_resources_table"] # TODO check base_id and api_key are valid before creating the objects. @@ -39,7 +38,6 @@ def load_external_resource_airtable_config(config: LanguageIndexingConfiguration def load_languages_airtable_config(config: LanguageIndexingConfiguration) -> LanguageDataStore: - config_languages_table = config["airtable_languages_table"] # Get a LanguageDataStore instance # fake=True will give us a fake data store that returns a sample set of diff --git a/language_indexing/language_indexing_config.py b/language_indexing/language_indexing_config.py index c507ab8..0b46291 100644 --- a/language_indexing/language_indexing_config.py +++ b/language_indexing/language_indexing_config.py @@ -17,7 +17,6 @@ def __getitem__(self, key): # Read in default properties def load_config(config: LanguageIndexingConfiguration, default_config_file_name: Optional[str] = None) -> None: - # Default case: when nothing is passed, program reads the default config if default_config_file_name is None: config_file = open(os.path.join(os.path.dirname(__file__), "config/indexing.cfg"), "r")