swh.scheduler.cli.config module#

swh.scheduler.cli.config.read_config(config_file: Any | None = None) Dict[source]#

Read configuration from config_file if provided, from the SWH_CONFIG_FILENAME if set or fallback to the DEFAULT_CONFIG.