From cc978c3190875681232228347f0729b4426442f0 Mon Sep 17 00:00:00 2001 From: Aya Hassan Date: Tue, 7 Apr 2026 17:03:35 +0200 Subject: [PATCH] Fix review comment --- waku/wrapper.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/waku/wrapper.py b/waku/wrapper.py index d16937c..e2edcc0 100644 --- a/waku/wrapper.py +++ b/waku/wrapper.py @@ -97,7 +97,11 @@ def _new_cb_state(): } -def _wait_cb_raw(state, op_name: str, timeout_s: float = 20.0): +def _wait_cb_raw( + state, + op_name: str, + timeout_s: float = 20.0, +) -> Result[tuple[int, bytes], str]: ok = state["done"].wait(timeout_s) if not ok: return Err(f"{op_name}: timeout after {timeout_s}s")