diff options
Diffstat (limited to 'slixmpp/features/feature_mechanisms')
-rw-r--r-- | slixmpp/features/feature_mechanisms/mechanisms.py | 5 | ||||
-rw-r--r-- | slixmpp/features/feature_mechanisms/stanza/abort.py | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/slixmpp/features/feature_mechanisms/mechanisms.py b/slixmpp/features/feature_mechanisms/mechanisms.py index dfdca010..db2d73d0 100644 --- a/slixmpp/features/feature_mechanisms/mechanisms.py +++ b/slixmpp/features/feature_mechanisms/mechanisms.py @@ -1,4 +1,3 @@ - # Slixmpp: The Slick XMPP Library # Copyright (C) 2011 Nathanael C. Fritz # This file is part of Slixmpp. @@ -15,6 +14,8 @@ from slixmpp.xmlstream.matcher import MatchXPath from slixmpp.xmlstream.handler import Callback from slixmpp.features.feature_mechanisms import stanza +from typing import ClassVar, Set + log = logging.getLogger(__name__) @@ -23,7 +24,7 @@ class FeatureMechanisms(BasePlugin): name = 'feature_mechanisms' description = 'RFC 6120: Stream Feature: SASL' - dependencies = set() + dependencies: ClassVar[Set[str]] = set() stanza = stanza default_config = { 'use_mech': None, diff --git a/slixmpp/features/feature_mechanisms/stanza/abort.py b/slixmpp/features/feature_mechanisms/stanza/abort.py index afa75cde..a430fa0f 100644 --- a/slixmpp/features/feature_mechanisms/stanza/abort.py +++ b/slixmpp/features/feature_mechanisms/stanza/abort.py @@ -1,9 +1,9 @@ - # Slixmpp: The Slick XMPP Library # Copyright (C) 2011 Nathanael C. Fritz # This file is part of Slixmpp. # See the file LICENSE for copying permission. from slixmpp.xmlstream import StanzaBase +from typing import ClassVar, Set class Abort(StanzaBase): @@ -13,7 +13,7 @@ class Abort(StanzaBase): name = 'abort' namespace = 'urn:ietf:params:xml:ns:xmpp-sasl' - interfaces = set() + interfaces: ClassVar[Set[str]] = set() plugin_attrib = name def setup(self, xml): |