langchain: fix deprecation decorators on extraction chains (#21276)

Calling any of these raises
```
ValueError: A pending deprecation cannot have a scheduled removal
```
pull/21123/head^2
ccurme 3 weeks ago committed by GitHub
parent ee1adaacaa
commit c9e9470c5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -59,7 +59,6 @@ Passage:
"https://github.com/langchain-ai/langchain/discussions/18154"
),
removal="0.3.0",
pending=True,
alternative=(
"""
from langchain_core.pydantic_v1 import BaseModel, Field
@ -130,7 +129,6 @@ def create_extraction_chain(
"https://github.com/langchain-ai/langchain/discussions/18154"
),
removal="0.3.0",
pending=True,
alternative=(
"""
from langchain_core.pydantic_v1 import BaseModel, Field

@ -30,7 +30,6 @@ If a property is not present and is not required in the function parameters, do
"https://github.com/langchain-ai/langchain/discussions/18154"
),
removal="0.3.0",
pending=True,
alternative=(
"""
from langchain_core.pydantic_v1 import BaseModel, Field

@ -41,7 +41,6 @@ from langchain_core.utils.function_calling import (
"https://github.com/langchain-ai/langchain/discussions/18154"
),
removal="0.3.0",
pending=True,
alternative=(
"""
from langchain_core.pydantic_v1 import BaseModel, Field
@ -160,7 +159,6 @@ def create_openai_fn_runnable(
"https://github.com/langchain-ai/langchain/discussions/18154"
),
removal="0.3.0",
pending=True,
alternative=(
"""
from langchain_core.pydantic_v1 import BaseModel, Field

Loading…
Cancel
Save