types: add __all__

This commit is contained in:
mathieui 2021-07-03 11:12:48 +02:00
parent df963542c1
commit 20e4c2c257

View file

@ -80,3 +80,11 @@ JidStr = Union[str, JID]
OptJidStr = Optional[Union[str, JID]] OptJidStr = Optional[Union[str, JID]]
MAMDefault = Literal['always', 'never', 'roster'] 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',
]