INNER CODE UNIT · Python
run
chaostoolkit/chaostoolkit · chaostoolkit/commands/run.py:148
def run(
ctx: click.Context,
source: str,
journal_path: str = "./journal.json",
dry: str | None = None,
no_validation: bool = False,
no_exit: bool = False,
no_verify_tls: bool = False,
rollback_strategy: str | None = None,
var: dict[str, Any] | None = None,
var_file: list[str] | None = None,
control_file: list[str] | None = None,
hypothesis_strategy: str | None = None,
hypothesis_frequency: float = 1.0,
fail_fast: bool = False,
) -> Journal:
"""Run the experiment loaded from SOURCE, either a local file or a
HTTP resource. SOURCE can be formatted as JSON or YAML."""