(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:
ccurme
2024-05-03 14:29:36 -04:00
committed by GitHub
parent d6e34f9ee5
commit 6da3d92b42
81 changed files with 127 additions and 127 deletions

View File

@@ -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):

View File

@@ -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):

View File

@@ -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()