refactor GUI access to database
GUI accesses to the node's datasets DB table (TinyDB table is named Datasets
) currently are done:
- in part using
fedbiomed.node.dataset_manager.DatasetManager()
- in part using
fedbiomed.gui.server.db.Database()
All accesses should happen through fedbiomed.node.dataset_manager.DatasetManager()
to ensure consistency (and basic object paradigm).
-
rewrite GUI DB accesses to use only DatasetManager
This task could optionally be included in a wider redesign of the DatasetManager