mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-06 09:47:51 +02:00
[Docs] Add ruff linting to .ipynb files (#645)
This commit is contained in:
@@ -39,10 +39,12 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import random\n",
|
||||
"from typing import Annotated, Literal\n",
|
||||
"\n",
|
||||
"from typing_extensions import TypedDict\n",
|
||||
"\n",
|
||||
"from langgraph.graph import StateGraph\n",
|
||||
"from langgraph.graph.message import add_messages\n",
|
||||
"from typing_extensions import TypedDict\n",
|
||||
"from typing import Annotated, Literal\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"class State(TypedDict):\n",
|
||||
@@ -265,8 +267,8 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from langchain_core.runnables.graph import CurveStyle, NodeColors, MermaidDrawMethod\n",
|
||||
"from IPython.display import display, HTML, Image\n",
|
||||
"from IPython.display import Image, display\n",
|
||||
"from langchain_core.runnables.graph import CurveStyle, MermaidDrawMethod, NodeColors\n",
|
||||
"\n",
|
||||
"display(\n",
|
||||
" Image(\n",
|
||||
|
||||
Reference in New Issue
Block a user