UnsubscribeResult
zmqtt.client.UnsubscribeResult dataclass #
UnsubscribeResult(
*,
topic_filters: tuple[str, ...],
reason_codes: tuple[int, ...],
properties: UnsubAckProperties | None,
)
The broker's UNSUBACK for the filters sent in one UNSUBSCRIBE.
failures property #
failures: dict[str, int]
Rejected filters mapped to their reason codes (>= 0x80).
from_unsuback classmethod #
from_unsuback(
topic_filters: tuple[str, ...], unsuback: UnsubAck
) -> Self
Source code in zmqtt/client.py
211 212 213 | |