def test_configured_filter_validation(self):
     source = self.config.to_json()
     config = RegistryDataSourceConfiguration.wrap(source)
     config.validate()
Beispiel #2
0
 def get_all_data_sources(self):
     active_ids = get_all_registry_data_source_ids(is_active=True)
     for result in iter_docs(RegistryDataSourceConfiguration.get_db(),
                             active_ids):
         yield RegistryDataSourceConfiguration.wrap(result)