Skip to content

Commit 2d5312c

Browse files
committed
Drop unhelpful comments
1 parent ce739ec commit 2d5312c

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

tests/contrib/langgraph/e2e_functional_entrypoints.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,6 @@ async def interrupt_entrypoint(value: str) -> dict:
134134

135135
@task
136136
async def slow_task(x: int) -> int:
137-
# Wait forever; the only exit is the start_to_close_timeout configured
138-
# by tests that exercise this task's timeout path, or worker-shutdown
139-
# cancellation. A finite sleep would race with the server processing the
140-
# activity's completion vs. processing the timeout.
141137
await asyncio.Event().wait()
142138
return x
143139

tests/contrib/langgraph/test_timeout.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ class State(TypedDict):
1919

2020

2121
async def node(state: State) -> dict[str, str]: # pyright: ignore[reportUnusedParameter]
22-
# Wait forever; the only exit is the start_to_close_timeout below or
23-
# worker-shutdown cancellation. A finite sleep would race with the server
24-
# processing the activity's completion vs. processing the timeout.
2522
await asyncio.Event().wait()
2623
return {"value": "done"}
2724

0 commit comments

Comments
 (0)