plugin XEP-0060, tools (utils): doc/type hints

This commit is contained in:
Goffi 2022-07-20 17:18:17 +02:00
commit 6c170ef8cc

View file

@ -725,7 +725,9 @@ class XEP_0060(object):
@param node (str): node id.
@param max_items (int): optional limit on the number of retrieved items.
@param item_ids (list[str]): identifiers of the items to be retrieved (can't be
used with rsm_request).
used with rsm_request). If requested items don't exist, they won't be
returned, meaning that we can have an empty list as result (NotFound
exception is NOT raised).
@param sub_id (str): optional subscription identifier.
@param rsm_request (rsm.RSMRequest): RSM request data
@return: a deferred couple (list[dict], dict) containing: