dqm_ml_job.cli
Command-line interface for DQM job execution.
This module provides CLI functions for parsing arguments and running data quality assessment jobs from YAML configuration files.
logger = logging.getLogger(__name__)
module-attribute
execute(arg_list: list[str] | None = None) -> None
Main CLI entry point for executing DQM jobs from YAML configurations. Args: arg_list: List of command line arguments (default: sys.argv[1:]).
Source code in packages/dqm-ml-job/src/dqm_ml_job/cli.py
parse_args(arg_list: list[str] | None) -> Any
Parse command line arguments for the DQM job.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
arg_list
|
list[str] | None
|
List of arguments (default: sys.argv[1:]). |
required |
Returns:
| Type | Description |
|---|---|
Any
|
The parsed Namespace object. |
Source code in packages/dqm-ml-job/src/dqm_ml_job/cli.py
run(config: dict[str, Any]) -> None
Execute a job from a validated configuration dictionary.
The config is validated against JobConfig and must follow the v2 structure: - dataloaders: Contains loaders list and optional storage. - features: Optional interface with outputs and processors list. - metrics: Optional interface with outputs and processors list. - gap: Optional interface with outputs and processors list.