Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-01 22:53:04 +00:00
parent b16fcc8468
commit 6fb8a0d96c
+15
View File
@@ -103,6 +103,20 @@ else:
_DC_KWARGS = {"frozen": True}
@dataclass(**_DC_KWARGS)
class PregelScratchpad:
step: int
stop: int
# call
call_counter: Callable[[], int]
# interrupt
interrupt_counter: Callable[[], int]
get_null_resume: Callable[[bool], Any]
resume: list[Any]
# subgraph
subgraph_counter: Callable[[], int]
class RetryPolicy(NamedTuple):
"""Configuration for retrying nodes.
@@ -524,3 +538,4 @@ def interrupt(value: Any) -> Any:
),
)
)