From 05f008cbfb32edf002d84e3e4def55826265e31e Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Wed, 23 Oct 2024 20:30:32 -0700 Subject: [PATCH] Lint --- libs/langgraph/langgraph/pregel/remote.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/pregel/remote.py b/libs/langgraph/langgraph/pregel/remote.py index 0d717f9e0..ae0f5d2f3 100644 --- a/libs/langgraph/langgraph/pregel/remote.py +++ b/libs/langgraph/langgraph/pregel/remote.py @@ -2,6 +2,7 @@ from typing import ( Any, AsyncIterator, Iterator, + Literal, Optional, Sequence, Union, @@ -470,7 +471,7 @@ class RemoteGraph(PregelProtocol): input: Any, config: Optional[RunnableConfig] = None, *, - version: All | All, + version: Literal["v1", "v2"], include_names: Optional[Sequence[All]] = None, include_types: Optional[Sequence[All]] = None, include_tags: Optional[Sequence[All]] = None,