sf.configuration.save_config_to_file

save_config_to_file(config, filepath)[source]

Saves a configuration to a TOML file.

Parameters
  • config (dict[str, dict[str, Union[str, bool, int]]]) – the configuration to be saved

  • filepath (str) – path to the configuration file