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

Relax default protected_namespaces config setting (remove model_) #482

Open
EliasRas opened this issue Nov 26, 2024 · 2 comments · May be fixed by #483
Open

Relax default protected_namespaces config setting (remove model_) #482

EliasRas opened this issue Nov 26, 2024 · 2 comments · May be fixed by #483

Comments

@EliasRas
Copy link

Pydantic relaxed protected_namespaces default to get rid of warnings in e.g. AI/ML context (pydantic/pydantic#10441). Would it be possible to make a similar change here?

protected_namespaces=('model_', 'settings_'),

@hramezani
Copy link
Member

Thanks @EliasRas for reporting this.

Sure, we can do it here as well.

@hramezani hramezani linked a pull request Nov 26, 2024 that will close this issue
@hramezani
Copy link
Member

I created #483 as a fix

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 a pull request may close this issue.

3 participants