Skip to content

fix: envvars.md get HOME environment variable#831

Merged
rochacbruno merged 1 commit intodynaconf:masterfrom
mic1on:master
Nov 9, 2022
Merged

fix: envvars.md get HOME environment variable#831
rochacbruno merged 1 commit intodynaconf:masterfrom
mic1on:master

Conversation

@mic1on
Copy link
Copy Markdown
Contributor

@mic1on mic1on commented Nov 9, 2022

Old:

export PREFIX_PATH='@format {env{"HOME"}/.config/{this.DB_NAME}'

Error:
ValueError: unexpected '{' in field name

Fixed:

export PREFIX_PATH='@format {env[HOME]}/.config/{this.DB_NAME}'

@netlify
Copy link
Copy Markdown

netlify bot commented Nov 9, 2022

Deploy Preview for dynaconf ready!

Name Link
🔨 Latest commit 220b768
🔍 Latest deploy log https://app.netlify.com/sites/dynaconf/deploys/636baa1b2172a60009521b46
😎 Deploy Preview https://deploy-preview-831--dynaconf.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@rochacbruno rochacbruno merged commit 0439bf8 into dynaconf:master Nov 9, 2022
rochacbruno added a commit that referenced this pull request Mar 2, 2023
Shortlog of commits since last release:

    André "decko" de Brito (2):
          Removes Codacy Coverage Reporter (#871)
          Add a namespace property for VAULT_FOR_DYNACONF dict (#870)

    Bruno Rocha (8):
          Release version 3.1.11
          bump dev version to 3.1.12
          Ensure `dynaconf get` returns a valid json string. (#813)
          [bugfix] Fix access of keys with spaces (#815)
          hotfix func tests (#816)
          Add Python 3.11 to CI (#830)
          fix lint error
          Fix casting on Validator and improve docs (#873)

    Bryan Weber (1):
          Fix typos in envvars docs (#840)

    Florian Apolloner (1):
          Small typo fix. (#822)

    Maxwell G (1):
          Include license files for vendored deps (#841)

    MicLon (1):
          fix: envvars.md get `HOME` environment variable (#831)

    Otávio Dantas (1):
          doc(pt-br): translate flask extension to pt-br (#852)

    Sergio Kef (1):
          Fix code snippet in docs (#843)

    Tetiana (1):
          #817 Add note about defining root_path when testing (#818)

    jctanner (1):
          Handle all failures when pwd does not exist. (#857)

    jmeichle (1):
          Add support for VAULT_NAMESPACE_FOR_DYNACONF (#854)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants