Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate decoding of complex values into specific method #128

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

dbendall
Copy link
Contributor

@dbendall dbendall commented Jul 14, 2023

Change Summary

Separates decoding of complex values into a specific method in settings sources to allow for easier customisation of complex environment variable parsing whilst retaining the ability to parse nested and non-complex fields.

Related issue number

Feature request #126

Selected Reviewer: @hramezani

@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 🎉

Comparison is base (2572a18) 97.44% compared to head (bad9c81) 97.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #128      +/-   ##
==========================================
+ Coverage   97.44%   97.46%   +0.01%     
==========================================
  Files           5        5              
  Lines         313      315       +2     
  Branches       68       68              
==========================================
+ Hits          305      307       +2     
  Misses          6        6              
  Partials        2        2              
Impacted Files Coverage Δ
pydantic_settings/sources.py 97.71% <100.00%> (+0.01%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dbendall
Copy link
Contributor Author

please review

@hramezani hramezani merged commit 7ebb3bf into pydantic:main Jul 14, 2023
20 checks passed
@hramezani
Copy link
Member

Thanks @dbendall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants