mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-22 11:00:37 +00:00
(all): update removal in deprecation warnings from 0.2 to 0.3 (#21265)
We are pushing out the removal of these to 0.3. `find . -type f -name "*.py" -exec sed -i '' 's/removal="0\.2/removal="0.3/g' {} +`
This commit is contained in:
@@ -10,7 +10,7 @@ from langchain_core.utils import get_from_dict_or_env
|
||||
|
||||
@deprecated(
|
||||
since="0.0.33",
|
||||
removal="0.2.0",
|
||||
removal="0.3.0",
|
||||
alternative_import="langchain_google_community.GooglePlacesAPIWrapper",
|
||||
)
|
||||
class GooglePlacesAPIWrapper(BaseModel):
|
||||
|
@@ -9,7 +9,7 @@ from langchain_core.utils import get_from_dict_or_env
|
||||
|
||||
@deprecated(
|
||||
since="0.0.33",
|
||||
removal="0.2.0",
|
||||
removal="0.3.0",
|
||||
alternative_import="langchain_google_community.GoogleSearchAPIWrapper",
|
||||
)
|
||||
class GoogleSearchAPIWrapper(BaseModel):
|
||||
|
@@ -283,7 +283,7 @@ class SQLDatabase:
|
||||
return sorted(self._include_tables)
|
||||
return sorted(self._all_tables - self._ignore_tables)
|
||||
|
||||
@deprecated("0.0.1", alternative="get_usable_table_names", removal="0.2.0")
|
||||
@deprecated("0.0.1", alternative="get_usable_table_names", removal="0.3.0")
|
||||
def get_table_names(self) -> Iterable[str]:
|
||||
"""Get names of tables available."""
|
||||
return self.get_usable_table_names()
|
||||
|
Reference in New Issue
Block a user