refactor(langgraph): remove pep-604 syntax for ci

This commit is contained in:
Caspar Broekhuizen
2025-09-29 20:53:29 -07:00
parent 98b0d89bbf
commit 1a0cfaf081
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8564,7 +8564,7 @@ def test_subgraph_resume_reexecutes_from_valid_checkpoint(
outer_model_calls = 0
def outer_model(state: OuterState) -> Command | None:
def outer_model(state: OuterState) -> Optional[Command]:
nonlocal outer_model_calls
outer_model_calls += 1
if "output" in state:
+1 -1
View File
@@ -9259,7 +9259,7 @@ async def test_subgraph_resume_reexecutes_from_valid_checkpoint(
outer_model_calls = 0
async def outer_model(state: OuterState) -> Command | None:
async def outer_model(state: OuterState) -> Optional[Command]:
nonlocal outer_model_calls
outer_model_calls += 1
if "output" in state: