Skip to content

Support for multidoc yaml files#825

Merged
pedro-psb merged 7 commits intodynaconf:masterfrom
mganisin:yaml-multidoc
Jul 18, 2023
Merged

Support for multidoc yaml files#825
pedro-psb merged 7 commits intodynaconf:masterfrom
mganisin:yaml-multidoc

Conversation

@mganisin
Copy link
Copy Markdown
Contributor

This adds safe_load_all to possible yaml loaders and enables
processing multidoc yaml files.

This can be handy in case more configs are need but it's difficult or
impossible to pass multiple files.

fixes #824

@netlify
Copy link
Copy Markdown

netlify bot commented Oct 30, 2022

Deploy Preview for dynaconf ready!

Name Link
🔨 Latest commit e401a03
🔍 Latest deploy log https://app.netlify.com/sites/dynaconf/deploys/64b01f34e8fe170008c35144
😎 Deploy Preview https://deploy-preview-825--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 configuration.

Marian Ganisin and others added 4 commits November 15, 2022 10:18
This adds `safe_load_all` to possible yaml loaders and enables
processing multidoc yaml files.

This can be handy in case more configs are need but it's difficult or
impossible to pass multiple files.

fixes #824
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 17, 2023

Codecov Report

❌ Patch coverage is 71.42857% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.26%. Comparing base (cebaac1) to head (e7f2e7e).
⚠️ Report is 130 commits behind head on master.

Files with missing lines Patch % Lines
dynaconf/loaders/yaml_loader.py 71.42% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #825      +/-   ##
==========================================
- Coverage   99.65%   99.26%   -0.39%     
==========================================
  Files          22       22              
  Lines        2003     2030      +27     
==========================================
+ Hits         1996     2015      +19     
- Misses          7       15       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pedro-psb
Copy link
Copy Markdown
Member

CI error is a PyYAML issue and has to do with yaml/pyyaml#724

@pedro-psb pedro-psb merged commit 678d29b into dynaconf:master Jul 18, 2023
rochacbruno added a commit that referenced this pull request Aug 11, 2023
Shortlog of commits since last release:

    Bruno Rocha (5):
          Ignore docs build without a tag
          Cancel any running CI job when a Push is made to an existing PR or branch (#952)
          Fix #959 cli get will exit code 1 in case of KeyError. (#960)
          add tech preview note to inspect docs (#961)
          Build docs

    Hugo Prudente (1):
          Doc advanced usage for cli overrides dynaconf settings fix #967 (#970)

    Marian Ganisin (1):
          Feat: Support for multidoc yaml files (#825)

    Pedro Pessoa (11):
          Docs - Update envvar.md custom token e.g. to use add_converter (#941)
          Feature - Inspect and CLI (#939)
          Fix - Template substitution with variable update (#944)
          Assert #658 works (#945)
          fix infinite recursions in special case of django app #867 (#947)
          Fix - Django functions with `add_converter` (#951)
          Fix hooks not re-running on reload #850 (#953)
          update vault and redis warning recommendations. fix #950 (#954)
          Fix - Enable merge equal False (#957)
          CI - Test docker-compose pyyaml issue (#964)
          Fix: unexpected _bypass_evaluation in BoxList (#966)

    pedro-psb (1):
          Release version 3.2.0
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.

[RFC] Support multidoc yaml files

4 participants