From 20e4c2c25749a8c94bea6ad029398049d8f15305 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 3 Jul 2021 11:12:48 +0200 Subject: [PATCH] types: add __all__ --- slixmpp/types.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/slixmpp/types.py b/slixmpp/types.py index 2a25f7ad..336ab7d8 100644 --- a/slixmpp/types.py +++ b/slixmpp/types.py @@ -80,3 +80,11 @@ JidStr = Union[str, JID] OptJidStr = Optional[Union[str, JID]] MAMDefault = Literal['always', 'never', 'roster'] + +FilterString = Literal['in', 'out', 'out_sync'] + +__all__ = [ + 'Protocol', 'TypedDict', 'Literal', 'OptJid', 'JidStr', 'MAMDefault', + 'PresenceTypes', 'PresenceShows', 'MessageTypes', 'IqTypes', 'MucRole', + 'MucAffiliation', 'FilterString', +]