{"record":{"id":"e7b5f7c1a3382e7a","repo":"langchain-ai/langgraph","slug":"importing-from-langgraph-pregel-types-is-deprecate","errorCode":null,"errorMessage":"Importing from langgraph.pregel.types is deprecated. Please use 'from langgraph.types import ...' instead.","messagePattern":"Importing from langgraph\\.pregel\\.types is deprecated\\. Please use 'from langgraph\\.types import \\.\\.\\.' instead\\.","errorType":"console","errorClass":"LangGraphDeprecatedSinceV10","httpStatus":null,"severity":"error","filePath":"libs/langgraph/langgraph/pregel/types.py","lineNumber":33,"sourceCode":"\n__all__ = [\n    \"All\",\n    \"StateUpdate\",\n    \"CachePolicy\",\n    \"PregelExecutableTask\",\n    \"PregelTask\",\n    \"RetryPolicy\",\n    \"StateSnapshot\",\n    \"StreamMode\",\n    \"StreamWriter\",\n    \"default_retry_on\",\n]\n\nfrom warnings import warn\n\nfrom langgraph.warnings import LangGraphDeprecatedSinceV10\n\nwarn(\n    \"Importing from langgraph.pregel.types is deprecated. \"\n    \"Please use 'from langgraph.types import ...' instead.\",\n    LangGraphDeprecatedSinceV10,\n    stacklevel=2,\n)\n","sourceCodeStart":15,"sourceCodeEnd":39,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/langgraph/langgraph/pregel/types.py#L15-L39","documentation":"Error \"Importing from langgraph.pregel.types is deprecated. Please use 'from langgraph.types import ...' instead.\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/langgraph/langgraph/pregel/types.py:33 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"38031739e551638e373fb553453256c23feeb41f","analyzedAt":"2026-08-26T18:02:49.312Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}