mafw.steering.cli_operations
Reusable steering schema editing operations.
- author:
Bulgheroni Antonio
- exception mafw.steering.cli_operations._SteeringOperationError[source]
Bases:
ValueErrorDescribe an invalid processor selection or schema default.
- mafw.steering.cli_operations._create_default_steering_file(filename: str, db_engine: str, db_url: str) None[source]
Write a steering file using defaults from every discovered processor.
- mafw.steering.cli_operations._edit_steering_file(filename: str, operation: str, names: tuple[str, ...], all_processors: bool = False) None[source]
Stage schema changes in the steering model and persist them once validated.
- mafw.steering.cli_operations._load_steering_processors(names: tuple[str, ...], all_processors: bool = False) dict[str, tuple[list[ParameterSchema], str | None]][source]
Resolve requested base processor names and schemas before any file is written.
- mafw.steering.cli_operations._validate_steering_file(filename: str, level: str) list[ValidationIssue][source]
Load required plugins and validate a steering file without modifying it.