mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-25 17:12:26 +02:00
refactor(langgraph): remove pep-604 syntax for ci
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user