INNER CODE UNIT · Python

_load_run_experiment

chaostoolkit/chaostoolkit · chaostoolkit/commands/run.py:214

def _load_run_experiment(
    source: str,
    settings: Settings,
    control_file: list[str] | None,
    no_verify_tls: bool,
) -> Experiment:
    try:
        load_global_controls(settings, control_file)
    except TypeError:
        logger.debug("Failed to load controls", exc_info=True)
        logger.warning(
            "Passing control files only work with chaostoolkit-lib 1.33+, you "
            f"run {chaoslib_version}. The control files will be ignored."
            "Please upgrade with `pip install -U chaostoolkit-lib`"
        )
        load_global_controls(settings)

    return load_experiment(source, settings, verify_tls=not no_verify_tls)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…