gin-config icon indicating copy to clipboard operation
gin-config copied to clipboard

Gin provides a lightweight configuration framework for Python

Results 60 gin-config issues
Sort by recently updated
recently updated
newest added

Hello to the gin-config team 👋 Thanks for the great tool. Because I am using gin in many of my projects and reading all white text hurts my eyes I...

@gin.configurable(whitelist=[]) when added to the code TypeError: configurable() got an unexpected keyword argument 'whitelist'

There are instances where we may want to pass an enum class as argument of a parameter in a gin config. However because in most cases, enums are not derivable...

Hi guys, First of all, I really like your work! 👏. I have a question regarding documentation and transparency. If I have multiple places in my code that use `@gin.configurable`,...

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) ``` ###...

We can use the `gin.operative_config_str()`, which prints a useful overview. However, for logging the saved parameters, some people (me included) like to query the internal dictionary. We can access it...

Initial checkin of `gin.Config` class and required utilities.

cla: yes

Currently if you include other gin files with a statement `include path/to/file` the path can be either absolute or relative to the folder the code is running in. The config...

Currently, if a `@gin.configurable` is imported twice (e.g. through `importlib.reload()`), it raises an error. This can be fixed by `gin.enter_interactive_mode()`, but interactive mode does not clear the previous scopes, which...