Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad ListLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr ClassDef bases body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad ListLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Return Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults NameLoad body Return ListLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults NameLoad body Return ListLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults NameLoad body Return ListLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults NameLoad body Return ListLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults NameLoad body Return ListLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Return Dict Str Str NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases body Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Dict Str Str NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Str Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases body Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str NameLoad NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str decorator_list Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str NameLoad ClassDef bases body Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str Str NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr ListLoad NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad NameLoad Index Str attr decorator_list Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr Num decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Return decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Dict Str NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Dict Str NameLoad SubscriptLoad NameLoad Index Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Dict Str Str Dict Str Str Str Str Dict Str Str Str Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str NameLoad NameLoad Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
Tests for L{idavoll.backend}.
 zope.interface implements zope.interface.verify verifyObject twisted.internet defer twisted.trial unittest twisted.words.protocols.jabber jid twisted.words.protocols.jabber.error StanzaError wokkel iwokkel pubsub idavoll backend error iidavoll N/A OWNER N/A N/A jid JID owner@example.com N/A OWNER_FULL N/A N/A jid JID owner@example.com/home N/A SERVICE N/A N/A jid JID test.example.org N/A NS_PUBSUB http://jabber.org/protocol/pubsub BackendTest N/A N/A unittest TestCase N/A test_interfaceIBackend N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A verifyObject N/A iidavoll IBackendService N/A N/A backend BackendService None N/A test_deleteNode N/A N/A self N/A N/A TestNode N/A N/A N/A nodeIdentifier to-be-deleted getAffiliation N/A N/A self entity N/A N/A N/A N/A N/A N/A entity userhostJID OWNER N/A N/A N/A N/A defer succeed owner N/A N/A TestStorage N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self deleteCalled N/A N/A getNode N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A TestNode N/A deleteNode N/A N/A self nodeIdentifier N/A N/A N/A N/A nodeIdentifier N/A to-be-deleted N/A N/A N/A N/A N/A self deleteCalled append nodeIdentifier N/A N/A N/A defer succeed None N/A N/A N/A N/A defer fail N/A N/A error NodeNotFound N/A N/A preDelete N/A N/A data N/A N/A N/A N/A N/A self assertFalse N/A N/A self storage deleteCalled N/A N/A N/A preDeleteCalled append data N/A N/A N/A defer succeed None N/A cb N/A N/A result N/A N/A N/A N/A N/A self assertEquals 1 N/A len preDeleteCalled N/A data N/A preDeleteCalled N/A -1 N/A N/A N/A self assertEquals to-be-deleted N/A data N/A nodeIdentifier N/A N/A N/A self assertTrue N/A N/A self storage deleteCalled N/A N/A N/A self storage N/A TestStorage N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A preDeleteCalled N/A N/A N/A N/A N/A self backend registerPreDelete preDelete N/A d N/A N/A N/A self backend deleteNode to-be-deleted OWNER_FULL N/A N/A N/A d addCallback cb N/A d N/A test_deleteNodeRedirect N/A N/A self N/A N/A N/A uri N/A xmpp:%s?;node=test2 N/A N/A N/A SERVICE full TestNode N/A N/A N/A nodeIdentifier to-be-deleted getAffiliation N/A N/A self entity N/A N/A N/A N/A N/A N/A entity userhostJID OWNER N/A N/A N/A N/A defer succeed owner N/A N/A TestStorage N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self deleteCalled N/A N/A getNode N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A TestNode N/A deleteNode N/A N/A self nodeIdentifier N/A N/A N/A N/A nodeIdentifier N/A to-be-deleted N/A N/A N/A N/A N/A self deleteCalled append nodeIdentifier N/A N/A N/A defer succeed None N/A N/A N/A N/A defer fail N/A N/A error NodeNotFound N/A N/A preDelete N/A N/A data N/A N/A N/A N/A N/A self assertFalse N/A N/A self storage deleteCalled N/A N/A N/A preDeleteCalled append data N/A N/A N/A defer succeed None N/A cb N/A N/A result N/A N/A N/A N/A N/A self assertEquals 1 N/A len preDeleteCalled N/A data N/A preDeleteCalled N/A -1 N/A N/A N/A self assertEquals to-be-deleted N/A data N/A nodeIdentifier N/A N/A N/A self assertEquals uri N/A data N/A redirectURI N/A N/A N/A self assertTrue N/A N/A self storage deleteCalled N/A N/A N/A self storage N/A TestStorage N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A preDeleteCalled N/A N/A N/A N/A N/A self backend registerPreDelete preDelete N/A d N/A N/A N/A self backend deleteNode to-be-deleted OWNER redirectURI uri N/A N/A N/A d addCallback cb N/A d N/A test_createNodeNoID N/A N/A self N/A N/A N/A 
        Test creation of a node without a given node identifier.
         TestStorage N/A N/A getDefaultConfiguration N/A N/A self nodeType N/A N/A N/A N/A N/A createNode N/A N/A self nodeIdentifier requestor config N/A N/A N/A N/A self nodeIdentifier nodeIdentifier N/A N/A N/A defer succeed None N/A N/A N/A N/A self storage N/A TestStorage N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A N/A N/A self storage backend N/A self backend checkID N/A N/A nodeIdentifier N/A N/A N/A N/A N/A self assertNotIdentical None nodeIdentifier N/A N/A N/A self assertIdentical N/A N/A self storage nodeIdentifier nodeIdentifier N/A N/A d N/A N/A N/A self backend createNode None OWNER_FULL N/A N/A N/A d addCallback checkID N/A d N/A NodeStore N/A N/A N/A 
        I just store nodes to pose as an L{IStorage} implementation.
         __init__ N/A N/A self nodes N/A N/A N/A N/A self nodes nodes N/A getNode N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A N/A N/A defer succeed N/A N/A self nodes N/A nodeIdentifier N/A N/A N/A KeyError N/A N/A N/A N/A defer fail N/A N/A error NodeNotFound N/A N/A test_getNotifications N/A N/A self N/A N/A N/A 
        Ensure subscribers show up in the notification list.
         N/A item N/A N/A pubsub Item N/A sub N/A N/A pubsub Subscription test OWNER subscribed TestNode N/A N/A getSubscriptions N/A N/A self state N/A None N/A N/A N/A sub N/A N/A cb N/A N/A result N/A N/A N/A N/A N/A self assertEquals 1 N/A len result N/A N/A subscriber subscriptions items N/A result N/A -1 N/A N/A N/A self assertEquals OWNER subscriber N/A N/A N/A self assertEquals N/A set N/A sub subscriptions N/A N/A N/A self assertEquals N/A item items N/A N/A N/A self storage N/A N/A self NodeStore N/A test N/A TestNode N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A d N/A N/A N/A self backend getNotifications test N/A item N/A N/A N/A d addCallback cb N/A d N/A test_getNotificationsRoot N/A N/A self N/A N/A N/A 
        Ensure subscribers to the root node show up in the notification list
        for leaf nodes.

        This assumes a flat node relationship model with exactly one collection
        node: the root node. Each leaf node is automatically a child node
        of the root node.
         N/A item N/A N/A pubsub Item N/A subRoot N/A N/A pubsub Subscription OWNER subscribed TestNode N/A N/A getSubscriptions N/A N/A self state N/A None N/A N/A N/A N/A N/A TestRootNode N/A N/A getSubscriptions N/A N/A self state N/A None N/A N/A N/A subRoot N/A N/A cb N/A N/A result N/A N/A N/A N/A N/A self assertEquals 1 N/A len result N/A N/A subscriber subscriptions items N/A result N/A -1 N/A N/A N/A self assertEquals OWNER subscriber N/A N/A N/A self assertEquals N/A set N/A subRoot subscriptions N/A N/A N/A self assertEquals N/A item items N/A N/A N/A self storage N/A N/A self NodeStore N/A test N/A TestNode N/A TestRootNode N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A d N/A N/A N/A self backend getNotifications test N/A item N/A N/A N/A d addCallback cb N/A d N/A test_getNotificationsMultipleNodes N/A N/A self N/A N/A N/A 
        Ensure that entities that subscribe to a leaf node as well as the
        root node get exactly one notification.
         N/A item N/A N/A pubsub Item N/A sub N/A N/A pubsub Subscription test OWNER subscribed N/A subRoot N/A N/A pubsub Subscription OWNER subscribed TestNode N/A N/A getSubscriptions N/A N/A self state N/A None N/A N/A N/A sub N/A N/A TestRootNode N/A N/A getSubscriptions N/A N/A self state N/A None N/A N/A N/A subRoot N/A N/A cb N/A N/A result N/A N/A N/A N/A N/A self assertEquals 1 N/A len result N/A N/A subscriber subscriptions items N/A result N/A -1 N/A N/A N/A self assertEquals OWNER subscriber N/A N/A N/A self assertEquals N/A set N/A sub subRoot subscriptions N/A N/A N/A self assertEquals N/A item items N/A N/A N/A self storage N/A N/A self NodeStore N/A test N/A TestNode N/A TestRootNode N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A d N/A N/A N/A self backend getNotifications test N/A item N/A N/A N/A d addCallback cb N/A d N/A test_getDefaultConfiguration N/A N/A self N/A N/A N/A 
        L{backend.BackendService.getDefaultConfiguration} should return
        a deferred that fires a dictionary with configuration values.
         TestStorage N/A N/A getDefaultConfiguration N/A N/A self nodeType N/A N/A N/A N/A pubsub#persist_items pubsub#deliver_payloads True True N/A N/A cb N/A N/A options N/A N/A N/A N/A N/A self assertIn pubsub#persist_items options N/A N/A N/A self assertEqual True N/A options N/A pubsub#persist_items N/A N/A N/A self backend N/A N/A backend BackendService N/A TestStorage N/A d N/A N/A N/A self backend getDefaultConfiguration leaf N/A N/A N/A d addCallback cb N/A d N/A test_getNodeConfiguration N/A N/A self N/A N/A testNode N/A N/A N/A nodeIdentifier node getConfiguration N/A N/A self N/A N/A N/A N/A pubsub#deliver_payloads pubsub#persist_items True False N/A N/A testStorage N/A N/A getNode N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A testNode N/A N/A cb N/A N/A options N/A N/A N/A N/A N/A self assertIn pubsub#deliver_payloads options N/A N/A N/A self assertEqual True N/A options N/A pubsub#deliver_payloads N/A N/A N/A self assertIn pubsub#persist_items options N/A N/A N/A self assertEqual False N/A options N/A pubsub#persist_items N/A N/A N/A self storage N/A testStorage N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A N/A N/A self storage backend N/A self backend N/A d N/A N/A N/A self backend getNodeConfiguration node N/A N/A N/A d addCallback cb N/A d N/A test_setNodeConfiguration N/A N/A self N/A N/A testNode N/A N/A N/A nodeIdentifier node getAffiliation N/A N/A self entity N/A N/A N/A N/A N/A N/A entity userhostJID OWNER N/A N/A N/A N/A defer succeed owner N/A setConfiguration N/A N/A self options N/A N/A N/A N/A self options options N/A N/A testStorage N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self nodes N/A node N/A testNode N/A getNode N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A N/A self nodes N/A nodeIdentifier N/A N/A checkOptions N/A N/A node N/A N/A N/A options N/A node options N/A N/A N/A self assertIn pubsub#deliver_payloads options N/A N/A N/A self assertEqual True N/A options N/A pubsub#deliver_payloads N/A N/A N/A self assertIn pubsub#persist_items options N/A N/A N/A self assertEqual False N/A options N/A pubsub#persist_items N/A cb N/A N/A result N/A N/A N/A d N/A N/A N/A self storage getNode node N/A N/A N/A d addCallback checkOptions N/A d N/A N/A N/A self storage N/A testStorage N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A N/A N/A self storage backend N/A self backend N/A options N/A pubsub#deliver_payloads pubsub#persist_items True False N/A d N/A N/A N/A self backend setNodeConfiguration node options OWNER_FULL N/A N/A N/A d addCallback cb N/A d N/A test_publishNoID N/A N/A self N/A N/A N/A 
        Test publish request with an item without a node identifier.
         TestNode N/A N/A N/A nodeType leaf N/A nodeIdentifier node getAffiliation N/A N/A self entity N/A N/A N/A N/A N/A N/A entity userhostJID OWNER N/A N/A N/A N/A defer succeed owner N/A getConfiguration N/A N/A self N/A N/A N/A N/A pubsub#deliver_payloads pubsub#persist_items True False N/A N/A TestStorage N/A N/A getNode N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A TestNode N/A N/A checkID N/A N/A notification N/A N/A N/A N/A N/A self assertNotIdentical None N/A N/A N/A notification N/A items N/A 0 N/A id N/A N/A N/A self storage N/A TestStorage N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A N/A N/A self storage backend N/A self backend N/A N/A N/A N/A self backend registerNotifier checkID N/A items N/A N/A N/A pubsub Item N/A d N/A N/A N/A self backend publish node items OWNER_FULL N/A d N/A test_notifyOnSubscription N/A N/A self N/A N/A N/A 
        Test notification of last published item on subscription.
         N/A ITEM N/A <item xmlns='%s' id='1'/> NS_PUBSUB TestNode N/A N/A N/A N/A implements N/A iidavoll ILeafNode N/A nodeIdentifier node N/A nodeType leaf getAffiliation N/A N/A self entity N/A N/A N/A N/A entity OWNER N/A N/A N/A N/A defer succeed owner N/A getConfiguration N/A N/A self N/A N/A N/A N/A pubsub#deliver_payloads pubsub#persist_items pubsub#send_last_published_item True False on_sub N/A getItems N/A N/A self maxItems N/A N/A N/A N/A ITEM N/A addSubscription N/A N/A self subscriber state options N/A N/A N/A N/A self subscription N/A N/A pubsub Subscription node subscriber state options N/A N/A N/A defer succeed None N/A getSubscription N/A N/A self subscriber N/A N/A N/A N/A N/A defer succeed N/A self subscription N/A N/A TestStorage N/A N/A getNode N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A TestNode N/A N/A cb N/A N/A data N/A N/A N/A N/A N/A self assertEquals node N/A data N/A nodeIdentifier N/A N/A N/A self assertEquals N/A ITEM N/A data N/A items N/A N/A N/A self assertEquals OWNER N/A N/A data N/A subscription subscriber N/A N/A N/A self storage N/A TestStorage N/A N/A self backend N/A N/A backend BackendService N/A self storage N/A N/A N/A self storage backend N/A self backend N/A d1 N/A N/A defer Deferred N/A N/A N/A d1 addCallback cb N/A N/A N/A N/A self backend registerNotifier N/A d1 callback N/A d2 N/A N/A N/A self backend subscribe node OWNER OWNER_FULL N/A N/A N/A defer gatherResults N/A d1 d2 N/A N/A N/A test_notifyOnSubscription timeout 2 N/A BaseTestBackend N/A object N/A N/A 
    Base class for backend stubs.
     supportsPublisherAffiliation N/A N/A self N/A N/A N/A True N/A supportsOutcastAffiliation N/A N/A self N/A N/A N/A True N/A supportsPersistentItems N/A N/A self N/A N/A N/A True N/A supportsInstantNodes N/A N/A self N/A N/A N/A True N/A registerNotifier N/A N/A self observerfn N/A args kwargs N/A N/A N/A registerPreDelete N/A N/A self preDeleteFn N/A N/A N/A N/A N/A PubSubResourceFromBackendTest N/A N/A unittest TestCase N/A test_interface N/A N/A self N/A N/A N/A resource N/A N/A backend PubSubResourceFromBackend N/A BaseTestBackend N/A N/A N/A self assertTrue N/A verifyObject N/A iwokkel IPubSubResource resource N/A test_preDelete N/A N/A self N/A N/A N/A 
        Test pre-delete sending out notifications to subscribers.
         TestBackend N/A BaseTestBackend N/A N/A preDeleteFn None registerPreDelete N/A N/A self preDeleteFn N/A N/A N/A N/A self preDeleteFn preDeleteFn N/A getSubscribers N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A OWNER N/A N/A notifyDelete N/A N/A service nodeIdentifier subscribers redirectURI N/A None N/A N/A N/A N/A self assertEqual SERVICE service N/A N/A N/A self assertEqual test nodeIdentifier N/A N/A N/A self assertEqual N/A OWNER subscribers N/A N/A N/A self assertIdentical None redirectURI N/A N/A N/A d1 callback None N/A N/A d1 N/A N/A defer Deferred N/A resource N/A N/A backend PubSubResourceFromBackend N/A TestBackend N/A N/A resource serviceJID SERVICE N/A N/A resource pubsubService N/A N/A pubsub PubSubService N/A N/A N/A resource pubsubService notifyDelete notifyDelete N/A N/A N/A self assertTrue N/A verifyObject N/A iwokkel IPubSubResource resource N/A N/A N/A self assertNotIdentical None N/A N/A resource backend preDeleteFn N/A data N/A nodeIdentifier test N/A d2 N/A N/A N/A resource backend preDeleteFn data N/A N/A N/A defer DeferredList N/A d1 d2 fireOnOneErrback 1 N/A test_preDeleteRedirect N/A N/A self N/A N/A N/A 
        Test pre-delete sending out notifications to subscribers.
         N/A uri N/A xmpp:%s?;node=test2 N/A N/A N/A SERVICE full TestBackend N/A BaseTestBackend N/A N/A preDeleteFn None registerPreDelete N/A N/A self preDeleteFn N/A N/A N/A N/A self preDeleteFn preDeleteFn N/A getSubscribers N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A OWNER N/A N/A notifyDelete N/A N/A service nodeIdentifier subscribers redirectURI N/A None N/A N/A N/A N/A self assertEqual SERVICE service N/A N/A N/A self assertEqual test nodeIdentifier N/A N/A N/A self assertEqual N/A OWNER subscribers N/A N/A N/A self assertEqual uri redirectURI N/A N/A N/A d1 callback None N/A N/A d1 N/A N/A defer Deferred N/A resource N/A N/A backend PubSubResourceFromBackend N/A TestBackend N/A N/A resource serviceJID SERVICE N/A N/A resource pubsubService N/A N/A pubsub PubSubService N/A N/A N/A resource pubsubService notifyDelete notifyDelete N/A N/A N/A self assertTrue N/A verifyObject N/A iwokkel IPubSubResource resource N/A N/A N/A self assertNotIdentical None N/A N/A resource backend preDeleteFn N/A data N/A nodeIdentifier redirectURI test uri N/A d2 N/A N/A N/A resource backend preDeleteFn data N/A N/A N/A defer DeferredList N/A d1 d2 fireOnOneErrback 1 N/A test_unsubscribeNotSubscribed N/A N/A self N/A N/A N/A 
        Test unsubscription request when not subscribed.
         TestBackend N/A BaseTestBackend N/A unsubscribe N/A N/A self nodeIdentifier subscriber requestor N/A N/A N/A N/A N/A defer fail N/A N/A error NotSubscribed N/A N/A cb N/A N/A e N/A N/A N/A N/A N/A self assertEquals unexpected-request N/A e condition N/A N/A resource N/A N/A backend PubSubResourceFromBackend N/A TestBackend N/A request N/A N/A pubsub PubSubRequest N/A N/A request sender OWNER N/A N/A request recipient SERVICE N/A N/A request nodeIdentifier test N/A N/A request subscriber OWNER N/A d N/A N/A resource unsubscribe request N/A N/A N/A self assertFailure d StanzaError N/A N/A N/A d addCallback cb N/A d N/A test_getInfo N/A N/A self N/A N/A N/A 
        Test retrieving node information.
         TestBackend N/A BaseTestBackend N/A getNodeType N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed leaf N/A getNodeMetaData N/A N/A self nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A pubsub#persist_items True N/A N/A cb N/A N/A info N/A N/A N/A N/A N/A self assertIn type info N/A N/A N/A self assertEquals leaf N/A info N/A type N/A N/A N/A self assertIn meta-data info N/A N/A N/A self assertEquals N/A pubsub#persist_items True N/A info N/A meta-data N/A N/A resource N/A N/A backend PubSubResourceFromBackend N/A TestBackend N/A d N/A N/A resource getInfo OWNER SERVICE test N/A N/A N/A d addCallback cb N/A d N/A test_getConfigurationOptions N/A N/A self N/A N/A TestBackend N/A BaseTestBackend N/A N/A nodeOptions N/A pubsub#persist_items pubsub#deliver_payloads N/A type label boolean Persist items to storage N/A type label boolean Deliver payloads with event notifications N/A N/A resource N/A N/A backend PubSubResourceFromBackend N/A TestBackend N/A options N/A N/A resource getConfigurationOptions N/A N/A N/A self assertIn pubsub#persist_items options N/A test_default N/A N/A self N/A N/A TestBackend N/A BaseTestBackend N/A getDefaultConfiguration N/A N/A self nodeType N/A N/A N/A options N/A pubsub#persist_items pubsub#deliver_payloads pubsub#send_last_published_item True True on_sub N/A N/A N/A defer succeed options N/A N/A cb N/A N/A options N/A N/A N/A N/A N/A self assertEquals True N/A options N/A pubsub#persist_items N/A N/A resource N/A N/A backend PubSubResourceFromBackend N/A TestBackend N/A request N/A N/A pubsub PubSubRequest N/A N/A request sender OWNER N/A N/A request recipient SERVICE N/A N/A request nodeType leaf N/A d N/A N/A resource default request N/A N/A N/A d addCallback cb N/A d N/A N/A