Skip to content

community[patch]: Fix missing protected_namespaces #27076

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

Conversation

tibor-reiss
Copy link
Contributor

Fixes #26861

Copy link

vercel bot commented Oct 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Oct 3, 2024 8:10pm

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. community Related to langchain-community 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Oct 3, 2024
@eyurtsev eyurtsev self-assigned this Oct 3, 2024
@eyurtsev eyurtsev self-requested a review October 3, 2024 20:09
@@ -382,6 +382,8 @@ class AzureMLBaseEndpoint(BaseModel):
model_kwargs: Optional[dict] = None
"""Keyword arguments to pass to the model."""

model_config = ConfigDict(protected_namespaces=())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved into the pydantic class so it's not inherited

Copy link
Collaborator

@eyurtsev eyurtsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Oct 3, 2024
@eyurtsev eyurtsev enabled auto-merge (squash) October 3, 2024 20:11
@eyurtsev eyurtsev changed the title community: Fix missing protected_namespaces community[patch]: Fix missing protected_namespaces Oct 3, 2024
@eyurtsev eyurtsev merged commit 47a9199 into langchain-ai:master Oct 3, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature community Related to langchain-community lgtm PR looks good. Use to confirm that a PR is ready for merging. size:S This PR changes 10-29 lines, ignoring generated files.
Projects
Archived in project
2 participants