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

Adding extra="ignore" option to fix pydantic_settings.SettingsConfigDict issue with environement variables #800

Merged
merged 3 commits into from Mar 21, 2024

Conversation

imanshafiei540
Copy link
Contributor

Closes #799

Context:

pydantic-settings Released a new update (2.2.0) that breaks TiTiler API when using a .env file that contains variables inside.

This PR will solve the issue by adding extra="ignore" to the pydantic_settings.SettingsConfigDict object.

@vincentsarago vincentsarago merged commit 8f24f89 into developmentseed:main Mar 21, 2024
10 checks passed
@vincentsarago
Copy link
Member

🙏 thanks @imanshafiei540

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.

Issue with pydantic-settings, Extra inputs are not permitted
2 participants