private_xml – Private XML Storage support (XEP-0049)

This module provides support for storing and retrieving private XML data on the server as per Private XML Storage.

class aioxmpp.private_xml.PrivateXMLService(client, **kwargs)[source]

Service for handling server side private XML storage.

To register payload XSOs for private storage Query is exposed:

class aioxmpp.private_xml.Query(*args, **kwargs)[source]

The XSO for queries to private XML storage.

classmethod as_payload_class(xso_class)[source]

Register the given class xso_class as possible payload for private XML storage.

Return xso_class, to allow this to be used as a decorator.