pardata.init

pardata.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 all schemata loaded by high-level functions.

  • DATASET_SCHEMA_FILE_URL – The default dataset schema file URL.

  • FORMAT_SCHEMA_FILE_URL – The default format schema file URL.

  • LICENSE_SCHEMA_FILE_URL – The default license schema 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: ~/.pardata/data.

  • kwargs (Any) –

Return type

None