community[patch]: Fix missing protected_namespaces(). (#27610)

- [x] **PR message**:
- **Description:** Fixes warning messages raised due to missing
`protected_namespaces` parameter in `ConfigDict`.
    - **Issue:** https://github.com/langchain-ai/langchain/issues/27609
    - **Dependencies:** No dependencies
    - **Twitter handle:** @gawbul
This commit is contained in:
Steve Moss
2024-10-25 03:16:26 +01:00
committed by GitHub
parent 7667ee126f
commit 24605bcdb6
15 changed files with 35 additions and 10 deletions

View File

@@ -102,6 +102,7 @@ For more information, please visit:
model_config = ConfigDict(
extra="allow",
protected_namespaces=(),
)
def _embed(self, inputs: Any) -> Any: