From bee222848b05ea7d6bb0ce3ac19fc3a8a8fd6850 Mon Sep 17 00:00:00 2001 From: Daniel Bluhm Date: Wed, 4 Oct 2023 17:22:19 -0400 Subject: [PATCH] fix: timeout needs an int Signed-off-by: Daniel Bluhm --- controller/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/controller.py b/controller/controller.py index 0f9ed8d..96cada4 100644 --- a/controller/controller.py +++ b/controller/controller.py @@ -551,7 +551,7 @@ async def record_with_values( topic: str, *, record_type: Optional[Type[T]] = None, - timeout: Optional[int] = None, # seconds + timeout: int = 5, **values, ) -> Union[T, Mapping[str, Any]]: """Get a record from an event with values matching those passed in."""