# HG changeset patch # User Goffi # Date 1709656316 -3600 # Node ID 2b000790b197faad12153360cb9402f5500027e7 # Parent 5a0bddfa34ac09d54f8998f0fac1e461ba39bf7b plugin XEP-0060: fix incorrect type hint. diff -r 5a0bddfa34ac -r 2b000790b197 libervia/backend/plugins/plugin_pubsub_cache.py --- a/libervia/backend/plugins/plugin_pubsub_cache.py Tue Mar 05 17:31:49 2024 +0100 +++ b/libervia/backend/plugins/plugin_pubsub_cache.py Tue Mar 05 17:31:56 2024 +0100 @@ -405,8 +405,8 @@ conf = await self._p.getConfiguration(client, service, node) except Exception as e: log.warning( - f"Can't retrieve configuration for node {node!r} at service {service} " - f"for {client.profile}: {e}" + f"Can't retrieve configuration for node {node!r} at service " + f"{service} for {client.profile}: {e}" ) else: analyse["conf"] = conf diff -r 5a0bddfa34ac -r 2b000790b197 libervia/backend/plugins/plugin_xep_0060.py --- a/libervia/backend/plugins/plugin_xep_0060.py Tue Mar 05 17:31:49 2024 +0100 +++ b/libervia/backend/plugins/plugin_xep_0060.py Tue Mar 05 17:31:56 2024 +0100 @@ -744,7 +744,7 @@ sub_id: Optional[str] = None, rsm_request: Optional[rsm.RSMRequest] = None, extra: Optional[dict] = None - ) -> Tuple[List[dict], dict]: + ) -> Tuple[List[domish.Element], dict]: """Retrieve pubsub items from a node. @param service (JID, None): pubsub service.