You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe this is already possible and i just don't know how to use it.
Is there a way for a config file to include another config file, i.e. split and reuse config files partially?
Multiple config files can be configured and they are recognized when they're all passed through command line, but whatever i try, i cannot specify the same or another config file within a existing config file.
I am also looking for the same functionality. Perhaps support for the !includes directive is a worthy feature? Something as in this stackoverflow example could be very useful.
Maybe this is already possible and i just don't know how to use it.
Is there a way for a config file to include another config file, i.e. split and reuse config files partially?
Multiple config files can be configured and they are recognized when they're all passed through command line, but whatever i try, i cannot specify the same or another config file within a existing config file.
Here's what i tried:
Parser fragment:
Works, i.e. reads both config files:
test.py --configFile "test.yaml" --configFile2 "test2.yaml"
Doesn't read "test2.yaml":
test.py --configFile "test.yaml"
test.yaml:
configFile: "test2.yaml"
Also doesn't read "test2.yaml":
test.py --configFile "test.yaml"
test.yaml:
configFile2: "test2.yaml"
The text was updated successfully, but these errors were encountered: