nourish.init¶
-
nourish.init(update_only=True, **kwargs)¶ (Re-)initialize high-level functions and their configurations.
- Parameters
update_only (bool) – If
True, only update in the global configs what config is specified; reuse schemata loaded by high-level functions if URLs do not change. Otherwise, reset everything to default in global configs except those specified as keyword arguments; clear the schemata loaded by high-level functions.DATASET_SCHEMATA_URL – The default dataset schemata file URL.
FORMAT_SCHEMATA_URL – The default format schemata file URL.
LICENSE_SCHEMATA_URL – The default license schemata file URL.
DATADIR – Default dataset directory to download/load to/from. The path can be either absolute or relative to the current working directory, but will be converted to the absolute path immediately in this function. Defaults to:
~/.nourish/data.kwargs (Any) –
- Return type