dynaconf / dynaconf/dynaconf

[RFC] Strict Mode

Open
#1,373 0 comments 0 reactions 0 assignees View on GitHub
Not a Bug RFC
Dominant language
Python
Stars
4.3k
Forks
347
Avg merge
2d 2h
Merged PRs (30d)
1

Description

Add a strict mode to version 3.x
To be the default to True on 4.x

What this will do:

- Limit exposure of environment variables to the string interpolation (jinja, format, get)
- Expose only the specified list of vars

```
Dynaconf(
env={
"FOOBAR":"FOOBAR",
"THING": "ANOTHERNAME"
}
)
```

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the environment-variable exposure and string-interpolation paths for jinja, format, and get, then review how the env mapping is configured. Done should include a defined strict-mode behavior that exposes only the specified variables, with coverage for the planned v3.x mode and the v4.x default.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.