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.options
class.- 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
True
the json file will be overwritten if already existing. IfFalse
and the version is compatible, the data in the existing file will be updated. Default isFalse
.
- config_file
- Returns:
str
Exported config file.