The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: Fix alternative name in deprecation notice for sql_database (#21144)
Harrison Chase4d1c21d97d0c
diff --git a/libs/community/langchain_community/utilities/sql_database.py b/libs/community/langchain_community/utilities/sql_database.pyindex bc98c9c693..015ae83be3 100644--- a/libs/community/langchain_community/utilities/sql_database.py+++ b/libs/community/langchain_community/utilities/sql_database.py@@ -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_name", removal="0.2.0")+ @deprecated("0.0.1", alternative="get_usable_table_names", removal="0.2.0")def get_table_names(self) -> Iterable[str]:"""Get names of tables available."""return self.get_usable_table_names()