langchain/libs
Nat Noordanus 8a3b74fe1f
community[patch]: Fix pydantic ForwardRef error in BedrockBase (#17416)
- **Description:** Fixes a type annotation issue in the definition of
BedrockBase. This issue was that the annotation for the `config`
attribute includes a ForwardRef to `botocore.client.Config` which is
only imported when `TYPE_CHECKING`. This can cause pydantic to raise an
error like `pydantic.errors.ConfigError: field "config" not yet prepared
so type is still a ForwardRef, ...`.
  - **Issue:** N/A
  - **Dependencies:** N/A
  - **Twitter handle:** `@__nat_n__`
2024-02-13 16:15:55 -08:00
..
cli infra: make .gitignore consistent with standard python gitignore (#16828) 2024-02-12 19:43:41 -08:00
community community[patch]: Fix pydantic ForwardRef error in BedrockBase (#17416) 2024-02-13 16:15:55 -08:00
core langchain.core : Use shallow copy for schema manipulation in JsonOutputParser.get_format_instructions (#17162) 2024-02-13 13:30:53 -08:00
experimental experimental[patch]: Release 0.0.51 (#17484) 2024-02-13 13:14:38 -08:00
langchain langchain.core : Use shallow copy for schema manipulation in JsonOutputParser.get_format_instructions (#17162) 2024-02-13 13:30:53 -08:00
partners pinecone[patch]: release 0.0.2 (#17477) 2024-02-13 12:01:45 -08:00