export_config#
- Configurations.export_config(config_file=None, overwrite=False)#
Export current design properties to a JSON or TOML file.
The sections to be exported are defined with
configuration.optionsclass.- Parameters:
- config_file
str,optional Full path to json file. If
None, then the config file will be saved in working directory.- overwritebool,
optional If
Truethe json file will be overwritten if already existing. IfFalseand the version is compatible, the data in the existing file will be updated. Default isFalse.
- config_file
- Returns:
strExported config file.