Mercurial > libervia-backend
comparison libervia/backend/plugins/plugin_xep_0060.py @ 4221:2b000790b197
plugin XEP-0060: fix incorrect type hint.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 05 Mar 2024 17:31:56 +0100 |
parents | 087902fbb77a |
children | 0d7bb4df2343 |
comparison
equal
deleted
inserted
replaced
4220:5a0bddfa34ac | 4221:2b000790b197 |
---|---|
742 max_items: Optional[int] = None, | 742 max_items: Optional[int] = None, |
743 item_ids: Optional[List[str]] = None, | 743 item_ids: Optional[List[str]] = None, |
744 sub_id: Optional[str] = None, | 744 sub_id: Optional[str] = None, |
745 rsm_request: Optional[rsm.RSMRequest] = None, | 745 rsm_request: Optional[rsm.RSMRequest] = None, |
746 extra: Optional[dict] = None | 746 extra: Optional[dict] = None |
747 ) -> Tuple[List[dict], dict]: | 747 ) -> Tuple[List[domish.Element], dict]: |
748 """Retrieve pubsub items from a node. | 748 """Retrieve pubsub items from a node. |
749 | 749 |
750 @param service (JID, None): pubsub service. | 750 @param service (JID, None): pubsub service. |
751 @param node (str): node id. | 751 @param node (str): node id. |
752 @param max_items (int): optional limit on the number of retrieved items. | 752 @param max_items (int): optional limit on the number of retrieved items. |