eradiate.data.init_data_store#
- eradiate.data.init_data_store(offline=None, production=None)[source]#
Initialize the global data store.
- Parameters:
offline (
bool
, optional) – IfTrue
, replace all online data stores with blind directory data stores. If unset, the global offline configuration is used.production (
bool
, optional) – IfTrue
, replace all development data stores providing files from the current local source folder with online safe data stores. If set toTrue
withoffline
flag set toTrue
, then the data must be provided by the user before accessing it. If unset, the global production configuration is used.
Notes
This function is called automatically when the
eradiate.data
package is imported.