-
-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Append to a list from command line #1547
Comments
Thanks for the feature request. As a side note: adding support for += operator is a pretty big deal. e.g:
It's a bit odd but will not introduce a change to something very fundamental. |
any updates on this? |
Thanks for the ping @yunfanjiang. No updates yet. |
Thumbs up for this feature Something like |
The feature requests this for the command line, but that's not possible through configuration files either right? The use case I'm looking for is tags very much like @ashleve mentioned. |
Currently there is no elegant solution. There are some clunky solutions, usually involving OmegaConf's See the comments here and here for an example of how to apply such a recipe using the defaults list. |
Would be a cool feature to have e.g. if you conduct a test run and want to tag them to just be able to |
up on this ! |
🚀 Feature Request
I don't think there's a way to do this currently, but it would be great if we could append to a list from the command line. For example say my
config.yaml
hasIt would be great if we could do something like:
extras.tags+="[another_tag, yet_another_tag]"
in the command line interface instead of having to retype the old entries in the list:extras.tags="[experiment, trial_1, another_tag, yet_another_tag]"
The text was updated successfully, but these errors were encountered: