fix root import (#11072)

This commit is contained in:
Bagatur 2023-09-26 08:11:16 -07:00 committed by GitHub
parent a2f7246f0e
commit 487611521d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,7 +298,7 @@ def __getattr__(name: str) -> Any:
return ElasticVectorSearch return ElasticVectorSearch
# For backwards compatibility # For backwards compatibility
elif name == "SerpAPIChain": elif name == "SerpAPIChain" or name == "SerpAPIWrapper":
from langchain.utilities import SerpAPIWrapper from langchain.utilities import SerpAPIWrapper
_warn_on_import(name) _warn_on_import(name)