From 4e0892aa50d1d45c7378d9c1eac3638097803c63 Mon Sep 17 00:00:00 2001 From: Brad Chernauskas Date: Tue, 3 Nov 2026 16:56:24 -0700 Subject: [PATCH] Fix matching_status return types Signed-off-by: Brad Chernauskas --- zenoh/__init__.pyi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zenoh/__init__.pyi b/zenoh/__init__.pyi index b0ea070b..9838e5f4 100644 --- a/zenoh/__init__.pyi +++ b/zenoh/__init__.pyi @@ -731,8 +731,8 @@ class Publisher: """The reliability applied when routing data.""" @property - def matching_status(self) -> bool: - """Whether there are subscribers matching this publisher's key expression.""" + def matching_status(self) -> MatchingStatus: + """Returns the matching status of this Publisher.""" def put( self, @@ -987,8 +987,8 @@ class Querier: """Returns the :class:`ReplyKeyExpr` setting of this querier.""" @property - def matching_status(self) -> bool: - """Returns true if there are :class:`Queryable`\\s matching the Querier's key expression and target, false otherwise.""" + def matching_status(self) -> MatchingStatus: + """Returns the matching status of this Querier.""" @overload def get(