mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-05 04:55:14 +00:00
community[patch]: deprecating remaining google_community integrations (#20471)
Deprecating remaining google community integrations
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
"""Util that calls Google Search."""
|
||||
|
||||
from typing import Any, Dict, List, Optional
|
||||
|
||||
from langchain_core._api.deprecation import deprecated
|
||||
from langchain_core.pydantic_v1 import BaseModel, Extra, root_validator
|
||||
from langchain_core.utils import get_from_dict_or_env
|
||||
|
||||
|
||||
@deprecated(
|
||||
since="0.0.33",
|
||||
removal="0.2.0",
|
||||
alternative_import="langchain_google_community.GoogleSearchAPIWrapper",
|
||||
)
|
||||
class GoogleSearchAPIWrapper(BaseModel):
|
||||
"""Wrapper for Google Search API.
|
||||
|
||||
|
Reference in New Issue
Block a user