google / google/gin-config

TOML-like setting groups/sections [Enchancement]

Open
#91 5 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.2k
Forks
122
Avg merge
5d 10h
Merged PRs (30d)
2

Description

Right now adding and removing new config values is quite tedious as we need to repeat the class/function name for each field:
```
MyClass.batch_size = 100
MyClass.num_epochs = 100
...
```

If the `gin` format resemble TOML so much, it would seem natural to introduce the section headers, i.e.:
```
[MyClass]
batch_size = 100
num_epochs = 100
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.