langchain-ai/langgraph · error · LangGraphDeprecatedSinceV05
`input` is deprecated and will be removed. Please use `input
Error message
`input` is deprecated and will be removed. Please use `input_schema` instead.
What it means
Error "`input` is deprecated and will be removed. Please use `input_schema` instead." thrown in langchain-ai/langgraph.
Source
Thrown at libs/langgraph/langgraph/graph/state.py:235
self,
state_schema: type[StateT],
context_schema: type[ContextT] | None = None,
*,
input_schema: type[InputT] | None = None,
output_schema: type[OutputT] | None = None,
**kwargs: Unpack[DeprecatedKwargs],
) -> None:
if (config_schema := kwargs.get("config_schema", MISSING)) is not MISSING:
warnings.warn(
"`config_schema` is deprecated and will be removed. Please use `context_schema` instead.",
category=LangGraphDeprecatedSinceV10,
stacklevel=2,
)
if context_schema is None:
context_schema = cast(type[ContextT], config_schema)
if (input_ := kwargs.get("input", MISSING)) is not MISSING:
warnings.warn(
"`input` is deprecated and will be removed. Please use `input_schema` instead.",
category=LangGraphDeprecatedSinceV05,
stacklevel=2,
)
if input_schema is None:
input_schema = cast(type[InputT], input_)
if (output := kwargs.get("output", MISSING)) is not MISSING:
warnings.warn(
"`output` is deprecated and will be removed. Please use `output_schema` instead.",
category=LangGraphDeprecatedSinceV05,
stacklevel=2,
)
if output_schema is None:
output_schema = cast(type[OutputT], output)
self.nodes = {}
self.edges = set()View on GitHub (pinned to 38031739e5)
When it happens
Trigger: Thrown at libs/langgraph/langgraph/graph/state.py:235 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of langchain-ai/langgraph@38031739e5 (2026-08-26).
Data as JSON: /api/errors/1ddf914d39bbdb41.
Report an issue: GitHub.