ensure_flags_supported#
- scikitplot.mlflow.ensure_flags_supported(args, *, supported_flags, context)[source]#
Validate that all long-form CLI flags in
argsare supported.- Parameters:
- argsSequence[str]
CLI argument list.
- supported_flagsfrozenset[str]
Set of supported long flags.
- contextstr
Context string used in error messages.
- Raises:
- MlflowCliIncompatibleError
If an unsupported flag is found.
- Parameters:
- Return type:
None
Notes
Deterministic rules: - Any token starting with “–” is treated as a flag token. - If the token contains “=”, only the part before “=” is the flag name. - Unknown flags raise immediately (fail-fast).