export_config#

Configurations.export_config(config_file=None, overwrite=False)[source]#

Export current design properties to a JSON or TOML file. The sections to be exported are defined with configuration.options class.

Parameters:
config_filestr, 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. If False and the version is compatible, the data in the existing file will be updated. Default is False.

Returns:
str

Exported config file.