mirror of
https://github.com/hwchase17/langchain
synced 2024-11-02 09:40:22 +00:00
8a3b74fe1f
- **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__` |
||
---|---|---|
.. | ||
cli | ||
community | ||
core | ||
experimental | ||
langchain | ||
partners |