We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wonder if it is/would be possible to bind multiple values to the same parameter via different config files. For instance:
def myfunc(mylist): print(mylist)
config1.gin
myfunc.mylist += 'apples'
config2.gin
myfunc.mylist += 'oranges'
Then, when running the app, it should print:
['apples', 'oranges']
with the binding order based on the order of including 'config1.gin' and 'config2.gin'
The text was updated successfully, but these errors were encountered:
Because I find this to be really valuable, I've made an implementation supporting dictionaries and lists here. I can make a PR if interested.
Sorry, something went wrong.
No branches or pull requests
I wonder if it is/would be possible to bind multiple values to the same parameter via different config files. For instance:
File main.py
Gin-config file
config1.gin
:Gin-config file
config2.gin
:Running the app
Then, when running the app, it should print:
with the binding order based on the order of including 'config1.gin' and 'config2.gin'
The text was updated successfully, but these errors were encountered: