dynaconf / dynaconf/dynaconf

[RFC] Extend one enviroment with values from another

Open
#1,303 4 comments 2 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

**Is your feature request related to a problem? Please describe.**
I find it annoying that i have to duplicate environmental settings or secrets, and i want to be able to daisy chain settings together and extend other environments

**Describe the solution you'd like**
If i have multiple environments described in my settings or secrets.yaml files, i want to be able to extend other envirnments, via a key or similar.
```
default:
..

development:
key: ab

local:
_extends: development
env: local
```
here settings.local.key should be "ab"

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.