diff --git a/nats/js/kv.py b/nats/js/kv.py index 071205aa..916dc586 100644 --- a/nats/js/kv.py +++ b/nats/js/kv.py @@ -318,7 +318,7 @@ async def stop(self): """ await self._sub.unsubscribe() - async def updates(self, timeout=5.0): + async def updates(self, timeout: Optional[float] = 5.0): """ updates fetches the next update from a watcher. """