From 6f5d6d99930e1f29e65bab8bf1def5d495e18fa6 Mon Sep 17 00:00:00 2001 From: Sarthak Gupta Date: Fri, 20 Dec 2024 01:55:27 +0530 Subject: [PATCH] docs: remove Literal as it is not being used (#2149) This PR removes the use of `from typing import Literal` since it is not being used in the code implementation --- docs/docs/tutorials/introduction.ipynb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/docs/tutorials/introduction.ipynb b/docs/docs/tutorials/introduction.ipynb index 2139b6d46..c7bf12940 100644 --- a/docs/docs/tutorials/introduction.ipynb +++ b/docs/docs/tutorials/introduction.ipynb @@ -553,9 +553,6 @@ "metadata": {}, "outputs": [], "source": [ - "from typing import Literal\n", - "\n", - "\n", "def route_tools(\n", " state: State,\n", "):\n", @@ -2653,7 +2650,7 @@ "metadata": {}, "outputs": [], "source": [ - "from typing import Annotated, Literal\n", + "from typing import Annotated\n", "\n", "from langchain_anthropic import ChatAnthropic\n", "from langchain_community.tools.tavily_search import TavilySearchResults\n",