fix root import (#11072)

pull/11074/head
Bagatur 11 months ago committed by GitHub
parent a2f7246f0e
commit 487611521d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save