Replies: 2 comments 7 replies
-
Hello, I'm not sure what you are trying to do.
Can you please give an example output? What is the yaml output that you want to achieve? |
Beta Was this translation helpful? Give feedback.
6 replies
-
Do read about the Defaults List in the docs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have this example where I have this structure:
And I can use the command line to swap between t=a and t=b using
python TestHydra.py t=a
orpython TestHydra.py t=b
Now I would like to have this
t
as a field in the dataclass Params2 with a default value and be able to swap between configuration a or b for it.How can I do that, just swapping the variable and the default list does not works for me?
Beta Was this translation helpful? Give feedback.
All reactions