biothings / discovery-app

The Data Discovery Engine project by the CD2H Data working-group
http://discovery.biothings.io
Apache License 2.0
4 stars 12 forks source link

Compartmentalize the `backup_from_file()`method #242

Open NikkiBytes opened 10 months ago

NikkiBytes commented 10 months ago

Update the discovery.utils.backup_from_file function to allow for updating indexes separately, i.e. discover_schema, discover_schema_class, and discover_dataset.

Currently the function is set up to input a backup file that is loaded will all index data.

This new upgrade will allow for the current functionality, and add the functionality of adding indexes individually.