goodconf icon indicating copy to clipboard operation
goodconf copied to clipboard

Transparently load variables from environment or JSON/YAML/TOML file.

Results 13 goodconf issues
Sort by recently updated
recently updated
newest added

We can currently generate `yml`, `json`, and `toml`, but `.env` style files are probably the most popular option for storing environment variables for local development. It'd be nice if we...

enhancement

If you happen to call `config.load()` twice, the latter fails to read from default_files. This leads to difficult to troubleshoot issues like: ``` pydantic_core._pydantic_core.ValidationError: 1 validation error for AppConfig SECRET_KEY...

The custom `initial` kwarg is a problem ``` /usr/local/lib/python3.11/site-packages/pydantic/fields.py:814: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'initial'). Deprecated in...