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

Add documentation about compatibility with pydantic 1.x BaseSettings when using dotenv #127

Merged
merged 5 commits into from
Jul 13, 2023

Conversation

SthPhoenix
Copy link
Contributor

@SthPhoenix SthPhoenix commented Jul 13, 2023

…when using dotenv

This PR adds more info about compatibility with old behavior, since in current version extra seems to be defaulted to forbid, which broke behavior expected in pydantic 1.x BaseSettings.

More info: #125

@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (2572a18) 97.44% compared to head (22c5201) 97.44%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #127   +/-   ##
=======================================
  Coverage   97.44%   97.44%           
=======================================
  Files           5        5           
  Lines         313      313           
  Branches       68       68           
=======================================
  Hits          305      305           
  Misses          6        6           
  Partials        2        2           

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

@hramezani hramezani changed the title Add documentation about compatibility with pydantic 1.x BaseSettings... Add documentation about compatibility with pydantic 1.x BaseSettings when using dotenv Jul 13, 2023
docs/index.md Outdated Show resolved Hide resolved
docs/index.md Outdated Show resolved Hide resolved
@hramezani hramezani enabled auto-merge (squash) July 13, 2023 21:20
@hramezani
Copy link
Member

Thanks @SthPhoenix

@hramezani hramezani merged commit 5acbdeb into pydantic:main Jul 13, 2023
20 checks passed
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.

None yet

2 participants