(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

@@ -756,6 +756,6 @@ def _lc_tool_calls_to_anthropic_tool_use_blocks(
return blocks
@deprecated(since="0.1.0", removal="0.2.0", alternative="ChatAnthropic")
@deprecated(since="0.1.0", removal="0.3.0", alternative="ChatAnthropic")
class ChatAnthropicMessages(ChatAnthropic):
pass

View File

@@ -145,7 +145,7 @@ def _xml_to_tool_calls(elem: Any, tools: List[Dict]) -> List[Dict[str, Any]]:
@deprecated(
"0.1.5",
removal="0.2.0",
removal="0.3.0",
alternative="ChatAnthropic",
message=(
"Tool-calling is now officially supported by the Anthropic API so this "

View File

@@ -360,6 +360,6 @@ class AnthropicLLM(LLM, _AnthropicCommon):
return self.count_tokens(text)
@deprecated(since="0.1.0", removal="0.2.0", alternative="AnthropicLLM")
@deprecated(since="0.1.0", removal="0.3.0", alternative="AnthropicLLM")
class Anthropic(AnthropicLLM):
pass

View File

@@ -494,7 +494,7 @@ class PineconeVectorStore(VectorStore):
return None
@deprecated(since="0.0.3", removal="0.2.0", alternative="PineconeVectorStore")
@deprecated(since="0.0.3", removal="0.3.0", alternative="PineconeVectorStore")
class Pinecone(PineconeVectorStore):
"""Deprecated. Use PineconeVectorStore instead."""

View File

@@ -110,7 +110,7 @@ class UpstageGroundednessCheck(BaseTool):
@deprecated(
since="0.1.3",
removal="0.2.0",
removal="0.3.0",
alternative_import="langchain_upstage.UpstageGroundednessCheck",
)
class GroundednessCheck(UpstageGroundednessCheck):