mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
Update 2 more pydantic imports (#9203)
Update two more pydantic imports to use v1 explicitly
This commit is contained in:
parent
c172f972ea
commit
72f9150a50
@ -1,7 +1,7 @@
|
||||
# flake8: noqa
|
||||
from typing import Any, Dict, Optional, List
|
||||
|
||||
from pydantic import root_validator
|
||||
from pydantic_v1 import root_validator
|
||||
|
||||
from langchain.callbacks.manager import CallbackManagerForLLMRun
|
||||
from langchain.llms.base import LLM
|
||||
|
@ -2,7 +2,7 @@
|
||||
from typing import Any, Dict, List, Optional
|
||||
|
||||
import requests
|
||||
from pydantic import Extra, root_validator
|
||||
from pydantic_v1 import Extra, root_validator
|
||||
|
||||
from langchain.tools.base import BaseModel
|
||||
from langchain.utils import get_from_dict_or_env
|
||||
|
Loading…
Reference in New Issue
Block a user