(config_file: str)
| 41 | |
| 42 | |
| 43 | def get_search_config(config_file: str): |
| 44 | config_file = os.path.abspath(os.path.expanduser(config_file)) |
| 45 | config = load_base_config(config_file) |
| 46 | search_config = config.get('SEARCH_ENGINE', {}) |
| 47 | return search_config |
| 48 | |
| 49 | |
| 50 | def load_base_config(file_path: str) -> Dict[str, Any]: |
no test coverage detected