Binding to same value from multiple files
Open
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 122
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Description
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
```
def myfunc(mylist):
print(mylist)
```
### Gin-config file ```config1.gin```:
```
myfunc.mylist += 'apples'
```
### Gin-config file ```config2.gin```:
```
myfunc.mylist += 'oranges'
````
### Running the app
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'
Contributor guide
Assessment
This issue has not been assessed yet.