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

avoid settings bleed #883

Merged
merged 1 commit into from
Mar 25, 2024
Merged

avoid settings bleed #883

merged 1 commit into from
Mar 25, 2024

Conversation

zzstoatzz
Copy link
Collaborator

@zzstoatzz zzstoatzz commented Mar 25, 2024

fixes #882

because MarvinSettings looks at .env files and has extra="allow" to allow bootlegged top level settings and we do **settings.some.domain.model_dump(), we need extra="ignore" on domain specific settings to avoid dumping unexpected kwargs

@zzstoatzz zzstoatzz merged commit 0da9680 into main Mar 25, 2024
14 checks passed
@zzstoatzz zzstoatzz deleted the fix-settings-bleed branch March 25, 2024 01:03
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.

audio.speak: unexpected keyword argument 'openai_api_key'
1 participant