Similar to the existing config_path and config_name parameters, add an overrides keyword argument to @hydra.main to allow hydra.main to accept either a
Path to overrides.yaml serialized from a previous Hydra run
ListConfig object
There should also be a corresponding --overrides CLI flag included with the Hydra-specific options
Motivation
Is your feature request related to a problem? Please describe.
Several use-cases currently require hacking sys.argv to provide overrides in a hydra.main() context. This isn't very safe or clean from a code quality perspective
🚀 Feature Request
Similar to the existing
config_path
andconfig_name
parameters, add anoverrides
keyword argument to@hydra.main
to allowhydra.main
to accept either aoverrides.yaml
serialized from a previous Hydra runListConfig
objectThere should also be a corresponding
--overrides
CLI flag included with the Hydra-specific optionsMotivation
Is your feature request related to a problem? Please describe.
Several use-cases currently require hacking
sys.argv
to provide overrides in ahydra.main()
context. This isn't very safe or clean from a code quality perspective