jsonargparse icon indicating copy to clipboard operation
jsonargparse copied to clipboard

Resolve later when using parser_mode="omegaconf"

Open roytseng-tw opened this issue 4 months ago • 1 comments

🚀 Feature request

Provide an api like parser.resolve_omegaconf(...) to manually trigger the resolving on omegaconf node values.

Motivation

Current omegaconf mode has some limitations as described in the doc

The parser_mode='omegaconf' provides support for OmegaConf’s variable interpolation in a > single yaml file. It is not possible to do interpolation across multiple yaml files or in an isolated individual command line argument.

With the newly proposed api, after loading config from the file and command line, one can manually trigger value resolving across config file and command line arguments.

Pitch

Alternatives

roytseng-tw avatar Feb 29 '24 10:02 roytseng-tw