vak.cli.prep.purpose_from_toml

vak.cli.prep.purpose_from_toml(config_dict: dict, toml_path: str | Path | None = None) str[source]

Determine “purpose” from toml config, i.e., the command that will be run after we prep the data.

By convention this is the other top-level table in the config file that correspond to a cli command besides [vak.prep], e.g. [vak.train].