From 26fb0d1f91e52b26b9c6fee65ad5858696d6b499 Mon Sep 17 00:00:00 2001 From: nicoco Date: Tue, 22 Nov 2022 10:32:59 +0100 Subject: [PATCH 1/2] add BasePlugin to plugins.__all__ --- slixmpp/plugins/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slixmpp/plugins/__init__.py b/slixmpp/plugins/__init__.py index be01b06e..95a8582f 100644 --- a/slixmpp/plugins/__init__.py +++ b/slixmpp/plugins/__init__.py @@ -114,4 +114,6 @@ __all__ = [ 'xep_0441', # Message Archive Management Preferences 'xep_0444', # Message Reactions 'xep_0461', # Message Replies + # Meant to be imported by plugins + 'BasePlugin' ] From 3725177d0b2581a9159fc53d7aad8244b62b4e2b Mon Sep 17 00:00:00 2001 From: nicoco Date: Tue, 22 Nov 2022 10:33:23 +0100 Subject: [PATCH 2/2] add OptJidStr to types.__all__ --- slixmpp/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixmpp/types.py b/slixmpp/types.py index 336ab7d8..99492062 100644 --- a/slixmpp/types.py +++ b/slixmpp/types.py @@ -84,7 +84,7 @@ MAMDefault = Literal['always', 'never', 'roster'] FilterString = Literal['in', 'out', 'out_sync'] __all__ = [ - 'Protocol', 'TypedDict', 'Literal', 'OptJid', 'JidStr', 'MAMDefault', + 'Protocol', 'TypedDict', 'Literal', 'OptJid', 'OptJidStr', 'JidStr', 'MAMDefault', 'PresenceTypes', 'PresenceShows', 'MessageTypes', 'IqTypes', 'MucRole', 'MucAffiliation', 'FilterString', ]