Skip to content

Commit 21d6349

Browse files
committed
fix(types): declare narrowed bound Todo adapter row
Signed-off-by: huangruiteng <huangrt01@163.com>
1 parent 8a23f6a commit 21d6349

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎loopx/control_plane/quota/unsettled_host_turn.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def apply_receipt_bound_wait_recovery(
276276
)
277277
# Transport one coherent source read, narrowed by its typed dependency
278278
# reference. TS revalidates the wait; unrelated Todo bodies never cross RPC.
279-
bound = next((row for row in source["todos"] if row.get("todo_id") == todo_id), {})
279+
bound: dict[str, Any] = next((row for row in source["todos"] if row.get("todo_id") == todo_id), {})
280280
target_id = (bound.get("resume_condition") or {}).get("target_todo_id")
281281
items = [row for row in source["todos"] if row.get("todo_id") in {todo_id, target_id}]
282282
verdict = effect_runtime_result("quota.settlement.read", {

0 commit comments

Comments
 (0)