sepal_ui.scripts.utils.set_config#

sepal_ui.scripts.utils.set_config(key, value, section='sepal-ui')[source]#

Set a config variable.

Set the provided value to the given key for the given section in the sepal-ui config file.

Parameters:
  • key (str) – key configuration name

  • value (str) – value to be referenced by the configuration key

  • section (str) – configuration section, defaults to sepal-ui.

Return type:

None