dplutils.cli.set_config_from_args#
- dplutils.cli.set_config_from_args(pipeline: PipelineExecutor, args: Namespace)[source]#
Configure pipeline using config from arguments
Set context from the
set-contextargument and config fromset-configand both from config file given infile. Config file will be applied first so that specific context and config settings on the command line will override settings in the file. Each will be parsed asname=valuepair, where the value is parsed as a JSON object, falling back to string.For
set-config, thenameis of the formtask.param[.subparam[...]]wheretaskis the taskname,paramis a parameter ofPipelineTaskandsubparamis a key within a dictionary of such a parameter (where applicable).