mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-17 15:35:14 +00:00
community[patch]: deprecating remaining google_community integrations (#20471)
Deprecating remaining google community integrations
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
from typing import Optional, Type
|
||||
|
||||
from langchain_core._api.deprecation import deprecated
|
||||
from langchain_core.callbacks import CallbackManagerForToolRun
|
||||
from langchain_core.pydantic_v1 import BaseModel, Field
|
||||
from langchain_core.tools import BaseTool
|
||||
@@ -15,6 +16,11 @@ class GooglePlacesSchema(BaseModel):
|
||||
query: str = Field(..., description="Query for google maps")
|
||||
|
||||
|
||||
@deprecated(
|
||||
since="0.0.33",
|
||||
removal="0.2.0",
|
||||
alternative_import="langchain_google_community.GooglePlacesTool",
|
||||
)
|
||||
class GooglePlacesTool(BaseTool):
|
||||
"""Tool that queries the Google places API."""
|
||||
|
||||
|
Reference in New Issue
Block a user