[go: nahoru, domu]

Skip to content

Commit

Permalink
Fix typos in envvars docs (#840)
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Rocha <rochacbruno@users.noreply.github.com>
  • Loading branch information
bryanwweber and rochacbruno committed Mar 1, 2023
1 parent 828787a commit 5b57745
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/envvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can override any setting key by exporting an environment variable prefixed b

!!! info
When loading environment variables, dynaconf will parse the value using `toml` language
so it will try to automatic convert to the proper data type.
so it will try to automatically convert to the proper data type.

```bash
export DYNACONF_NAME=Bruno # str: "Bruno"
Expand All @@ -33,7 +33,7 @@ export DYNACONF_PERSON__IS_ADMIN=true # bool: True (neste
```

!!! warning
When exporting datastructures sych as `dict` and `list` you have to use one of:
When exporting data structures such as `dict` and `list` you have to use one of:
```
export DYNACONF_TOML_DICT={key="value"}
export DYNACONF_TOML_LIST=["item"]
Expand All @@ -43,7 +43,7 @@ export DYNACONF_PERSON__IS_ADMIN=true # bool: True (neste
Those 2 ways are the only ways for dynaconf to load `dicts` and `lists` from envvars.


with the above it is now possible to read the settings from your `program.py` using.
With the above it is now possible to read the settings in your `program.py` using:

```python
from dynaconf import Dynaconf
Expand Down

0 comments on commit 5b57745

Please sign in to comment.