client.cli.config.set
Config set command.
Functions
|
Update a configuration value. |
Module Contents
- client.cli.config.set.set_config(key: str, value: str, config_file: str | None) None
Update a configuration value.
Updates a configuration value in the config file using dot notation.
b :param KEY Configuration key in dot notation: :type KEY Configuration key in dot notation: e.g., ‘http.retries_attempts’ :param VALUE New value to set:
b .. rubric:: Examples
# Update HTTP retries jobmon config set http.retries_attempts 15
# Update distributor poll interval jobmon config set distributor.poll_interval 5
# Update specific config file jobmon config set http.retries_attempts 15 –config-file ~/my_config.yaml