Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Str NameLoad Str Str NameLoad Str ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad NameLoad Str If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareIsNot NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Dict TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str Str ListLoad Str Str Str ListLoad Str Str Str ListLoad Str Str Str ListLoad Str Str Str Str ListLoad ListLoad ListLoad Str Str ListLoad Str ListLoad Str ListLoad Str Str ListLoad Str Str Str Str ListLoad Str Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str Str ListLoad Str ListLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str orelse Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr orelse Raise Call NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Str body Raise Call NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Str body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad keyword BinOpAdd Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr orelse Raise Call NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Str body Raise Call NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr handlers ExceptHandler type NameLoad body Raise Call NameLoad keyword Str If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad keyword Str TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Raise Call NameLoad keyword Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad If CompareGt Call NameLoad NameLoad Num body If BoolOpAnd CompareIn Str NameLoad CompareIn Str NameLoad body Assign AttributeStore NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Str orelse Raise Call NameLoad orelse Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr body Expr Call Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign TupleStore AttributeStore NameLoad attr NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr body Expr Call Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad NameLoad attr Str Str body Return TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Return Assign NameStore NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Return Assign NameStore Call NameLoad NameLoad BinOpMod Str AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr TupleLoad Str Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr Str body Raise Call NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Raise Call NameLoad orelse Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str TupleLoad Str ListLoad Str Str Str Str TupleLoad Str ListLoad Str Str Str Str TupleLoad Str ListLoad Str Str Str Str TupleLoad Str ListLoad Str Str TupleLoad Str ListLoad Str Str TupleLoad Str ListLoad Str Str Str TupleLoad Str ListLoad TupleLoad Str ListLoad Str Str Str TupleLoad Str ListLoad Str Str Str TupleLoad Str ListLoad Str Str Str Str TupleLoad Str ListLoad Str Str Str Str Str TupleLoad Str ListLoad Str Str Str Str TupleLoad Str ListLoad Str Str Str TupleLoad Str ListLoad Str Str Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Return Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return decorator_list Assign NameStore ListLoad Assign NameStore Call NameLoad Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad BoolOpOr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr ListLoad orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse Assign NameStore Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad orelse TryExcept body Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotIn AttributeLoad NameLoad attr TupleLoad Str Str body Raise Call AttributeLoad NameLoad attr Str orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Return NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListLoad If NameLoad body For NameStore NameLoad body If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Call NameLoad NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Str FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list decorator_list
N/A N/A 
XMPP publish-subscribe protocol.

This protocol is specified in
U{XEP-0060<http://xmpp.org/extensions/xep-0060.html>}.
 zope.interface implements twisted.internet defer twisted.python log twisted.words.protocols.jabber jid error twisted.words.xish domish wokkel disco data_form generic shim wokkel.compat IQ wokkel.subprotocols IQHandlerMixin XMPPHandler wokkel.iwokkel IPubSubClient IPubSubService IPubSubResource N/A IQ_GET /iq[@type="get"] N/A IQ_SET /iq[@type="set"] N/A NS_PUBSUB http://jabber.org/protocol/pubsub N/A NS_PUBSUB_EVENT N/A NS_PUBSUB #event N/A NS_PUBSUB_ERRORS N/A NS_PUBSUB #errors N/A NS_PUBSUB_OWNER N/A NS_PUBSUB #owner N/A NS_PUBSUB_NODE_CONFIG N/A NS_PUBSUB #node_config N/A NS_PUBSUB_META_DATA N/A NS_PUBSUB #meta-data N/A NS_PUBSUB_SUBSCRIBE_OPTIONS N/A NS_PUBSUB #subscribe_options N/A PUBSUB_REQUEST N/A N/A N/A N/A N/A N/A /iq[@type="get" or @type="set"]/ pubsub[@xmlns=" NS_PUBSUB " or  @xmlns=" NS_PUBSUB_OWNER "] SubscriptionPending N/A Exception N/A N/A 
    Raised when the requested subscription is pending acceptance.
     N/A SubscriptionUnconfigured N/A Exception N/A N/A 
    Raised when the requested subscription needs to be configured before
    becoming active.
     N/A PubSubError N/A N/A error StanzaError N/A N/A 
    Exception with publish-subscribe specific condition.
     __init__ N/A N/A self condition pubsubCondition feature text N/A None None N/A N/A appCondition N/A N/A domish Element N/A NS_PUBSUB_ERRORS pubsubCondition N/A feature N/A N/A N/A appCondition N/A feature feature N/A N/A N/A N/A error StanzaError __init__ self condition text text appCondition appCondition N/A N/A BadRequest N/A N/A error StanzaError N/A N/A 
    Bad request stanza error.
     __init__ N/A N/A self pubsubCondition text N/A None None N/A N/A pubsubCondition N/A N/A appCondition N/A N/A domish Element N/A NS_PUBSUB_ERRORS pubsubCondition N/A N/A appCondition None N/A N/A N/A N/A error StanzaError __init__ self bad-request text text appCondition appCondition N/A N/A Unsupported N/A PubSubError N/A __init__ N/A N/A self feature text N/A None N/A N/A N/A self feature feature N/A N/A N/A PubSubError __init__ self feature-not-implemented unsupported feature text N/A __str__ N/A N/A self N/A N/A N/A message N/A N/A PubSubError __str__ self N/A message N/A , feature %r N/A self feature N/A message N/A N/A Subscription N/A object N/A N/A 
    A subscription to a node.

    @ivar nodeIdentifier: The identifier of the node subscribed to.  The root
        node is denoted by C{None}.
    @type nodeIdentifier: C{unicode}

    @ivar subscriber: The subscribing entity.
    @type subscriber: L{jid.JID}

    @ivar state: The subscription state. One of C{'subscribed'}, C{'pending'},
                 C{'unconfigured'}.
    @type state: C{unicode}

    @ivar options: Optional list of subscription options.
    @type options: C{dict}

    @ivar subscriptionIdentifier: Optional subscription identifier.
    @type subscriptionIdentifier: C{unicode}
     __init__ N/A N/A self nodeIdentifier subscriber state options subscriptionIdentifier N/A None None N/A N/A N/A self nodeIdentifier nodeIdentifier N/A N/A self subscriber subscriber N/A N/A self state state N/A N/A self options N/A options N/A N/A N/A self subscriptionIdentifier subscriptionIdentifier N/A fromElement N/A N/A element N/A N/A N/A N/A Subscription N/A N/A element getAttribute node N/A N/A jid JID N/A N/A element getAttribute jid N/A N/A element getAttribute subscription subscriptionIdentifier N/A N/A element getAttribute subid N/A staticmethod toElement N/A N/A self defaultUri N/A None N/A N/A 
        Return the DOM representation of this subscription.

        @rtype: L{domish.Element}
         N/A element N/A N/A domish Element N/A defaultUri subscription N/A N/A self nodeIdentifier N/A N/A N/A element N/A node N/A self nodeIdentifier N/A N/A element N/A jid N/A unicode N/A self subscriber N/A N/A element N/A subscription N/A self state N/A N/A self subscriptionIdentifier N/A N/A N/A element N/A subid N/A self subscriptionIdentifier N/A element N/A N/A Item N/A N/A domish Element N/A N/A 
    Publish subscribe item.

    This behaves like an object providing L{domish.IElement}.

    Item payload can be added using C{addChild} or C{addRawXml}, or using the
    C{payload} keyword argument to C{__init__}.
     __init__ N/A N/A self id payload N/A None None N/A N/A 
        @param id: optional item identifier
        @type id: C{unicode}
        @param payload: optional item payload. Either as a domish element, or
                        as serialized XML.
        @type payload: object providing L{domish.IElement} or C{unicode}.
         N/A N/A N/A N/A domish Element __init__ self N/A None item N/A N/A id None N/A N/A N/A self N/A id id N/A N/A payload None N/A N/A N/A isinstance payload basestring N/A N/A N/A N/A self addRawXml payload N/A N/A N/A N/A self addChild payload N/A N/A PubSubRequest N/A N/A generic Stanza N/A N/A 
    A publish-subscribe request.

    The set of instance variables used depends on the type of request. If
    a variable is not applicable or not passed in the request, its value is
    C{None}.

    @ivar verb: The type of publish-subscribe request. See C{_requestVerbMap}.
    @type verb: C{str}.

    @ivar affiliations: Affiliations to be modified.
    @type affiliations: C{set}

    @ivar items: The items to be published, as L{domish.Element}s.
    @type items: C{list}

    @ivar itemIdentifiers: Identifiers of the items to be retrieved or
                           retracted.
    @type itemIdentifiers: C{set}

    @ivar maxItems: Maximum number of items to retrieve.
    @type maxItems: C{int}.

    @ivar nodeIdentifier: Identifier of the node the request is about.
    @type nodeIdentifier: C{unicode}

    @ivar nodeType: The type of node that should be created, or for which the
                    configuration is retrieved. C{'leaf'} or C{'collection'}.
    @type nodeType: C{str}

    @ivar options: Configurations options for nodes, subscriptions and publish
                   requests.
    @type options: L{data_form.Form}

    @ivar subscriber: The subscribing entity.
    @type subscriber: L{JID<twisted.words.protocols.jabber.jid.JID>}

    @ivar subscriptionIdentifier: Identifier for a specific subscription.
    @type subscriptionIdentifier: C{unicode}

    @ivar subscriptions: Subscriptions to be modified, as a set of
        L{Subscription}.
    @type subscriptions: C{set}

    @ivar affiliations: Affiliations to be modified, as a dictionary of entity
        (L{JID<twisted.words.protocols.jabber.jid.JID>} to affiliation
        (C{unicode}).
    @type affiliations: C{dict}
     N/A verb None N/A affiliations None N/A items None N/A itemIdentifiers None N/A maxItems None N/A nodeIdentifier None N/A nodeType None N/A options None N/A subscriber None N/A subscriptionIdentifier None N/A subscriptions None N/A affiliations None N/A _requestVerbMap N/A N/A set NS_PUBSUB publish N/A set NS_PUBSUB subscribe N/A set NS_PUBSUB unsubscribe N/A get NS_PUBSUB options N/A set NS_PUBSUB options N/A get NS_PUBSUB subscriptions N/A get NS_PUBSUB affiliations N/A set NS_PUBSUB create N/A get NS_PUBSUB_OWNER default N/A get NS_PUBSUB_OWNER configure N/A set NS_PUBSUB_OWNER configure N/A get NS_PUBSUB items N/A set NS_PUBSUB retract N/A set NS_PUBSUB_OWNER purge N/A set NS_PUBSUB_OWNER delete N/A get NS_PUBSUB_OWNER affiliations N/A set NS_PUBSUB_OWNER affiliations N/A get NS_PUBSUB_OWNER subscriptions N/A set NS_PUBSUB_OWNER subscriptions publish subscribe unsubscribe optionsGet optionsSet subscriptions affiliations create default configureGet configureSet items retract purge delete affiliationsGet affiliationsSet subscriptionsGet subscriptionsSet N/A _verbRequestMap N/A dict N/A N/A v k N/A N/A k v N/A N/A _requestVerbMap iteritems N/A _parameters N/A publish subscribe unsubscribe optionsGet optionsSet subscriptions affiliations create default configureGet configureSet items retract purge delete affiliationsGet affiliationsSet subscriptionsGet subscriptionsSet N/A node items N/A nodeOrEmpty jid optionsWithSubscribe N/A nodeOrEmpty jid subidOrNone N/A nodeOrEmpty jid subidOrNone N/A nodeOrEmpty jid options subidOrNone N/A N/A N/A nodeOrNone configureOrNone N/A default N/A nodeOrEmpty N/A nodeOrEmpty configure N/A node maxItems itemIdentifiers subidOrNone N/A node itemIdentifiers N/A node N/A node N/A nodeOrEmpty N/A nodeOrEmpty affiliations N/A nodeOrEmpty N/A __init__ N/A N/A self verb N/A None N/A N/A N/A self verb verb N/A _parse_node N/A N/A self verbElement N/A N/A N/A 
        Parse the required node identifier out of the verbElement.
         N/A N/A N/A N/A self nodeIdentifier N/A verbElement N/A node N/A N/A N/A KeyError N/A N/A N/A BadRequest nodeid-required N/A _render_node N/A N/A self verbElement N/A N/A N/A 
        Render the required node identifier on the verbElement.
         N/A N/A N/A self nodeIdentifier N/A N/A N/A Exception Node identifier is required N/A N/A verbElement N/A node N/A self nodeIdentifier N/A _parse_nodeOrEmpty N/A N/A self verbElement N/A N/A N/A 
        Parse the node identifier out of the verbElement. May be empty.
         N/A N/A self nodeIdentifier N/A N/A verbElement getAttribute node N/A _render_nodeOrEmpty N/A N/A self verbElement N/A N/A N/A 
        Render the node identifier on the verbElement. May be empty.
         N/A N/A self nodeIdentifier N/A N/A N/A verbElement N/A node N/A self nodeIdentifier N/A _parse_nodeOrNone N/A N/A self verbElement N/A N/A N/A 
        Parse the optional node identifier out of the verbElement.
         N/A N/A self nodeIdentifier N/A N/A verbElement getAttribute node N/A _render_nodeOrNone N/A N/A self verbElement N/A N/A N/A 
        Render the optional node identifier on the verbElement.
         N/A N/A self nodeIdentifier N/A N/A N/A verbElement N/A node N/A self nodeIdentifier N/A _parse_items N/A N/A self verbElement N/A N/A N/A 
        Parse items out of the verbElement for publish requests.
         N/A N/A self items N/A N/A element N/A N/A verbElement elements N/A N/A N/A N/A N/A element uri NS_PUBSUB N/A N/A element name item N/A N/A N/A N/A N/A self items append element N/A _render_items N/A N/A self verbElement N/A N/A N/A 
        Render items into the verbElement for publish requests.
         N/A N/A self items N/A N/A item N/A self items N/A N/A N/A item uri NS_PUBSUB N/A N/A N/A verbElement addChild item N/A _parse_jid N/A N/A self verbElement N/A N/A N/A 
        Parse subscriber out of the verbElement for un-/subscribe requests.
         N/A N/A N/A N/A self subscriber N/A N/A jid internJID N/A verbElement N/A jid N/A N/A N/A KeyError N/A N/A N/A BadRequest jid-required N/A _render_jid N/A N/A self verbElement N/A N/A N/A 
        Render subscriber into the verbElement for un-/subscribe requests.
         N/A N/A verbElement N/A jid N/A N/A N/A self subscriber full N/A _parse_default N/A N/A self verbElement N/A N/A N/A 
        Parse node type out of a request for the default node configuration.
         N/A form N/A N/A data_form findForm verbElement NS_PUBSUB_NODE_CONFIG N/A N/A N/A form None N/A N/A form formType submit N/A N/A values N/A N/A form getValues N/A N/A self nodeType N/A N/A values get pubsub#node_type leaf N/A N/A N/A self nodeType leaf N/A _parse_configure N/A N/A self verbElement N/A N/A N/A 
        Parse options out of a request for setting the node configuration.
         N/A form N/A N/A data_form findForm verbElement NS_PUBSUB_NODE_CONFIG N/A N/A form None N/A N/A N/A N/A form formType N/A submit cancel N/A N/A N/A self options form N/A N/A N/A BadRequest text N/A Unexpected form type '%s' N/A form formType N/A N/A N/A BadRequest text Missing configuration form N/A _parse_configureOrNone N/A N/A self verbElement N/A N/A N/A 
        Parse optional node configuration form in create request.
         N/A element N/A N/A N/A verbElement parent elements N/A N/A N/A N/A N/A element uri NS_PUBSUB N/A N/A element name configure N/A N/A form N/A N/A data_form findForm element NS_PUBSUB_NODE_CONFIG N/A N/A form None N/A N/A N/A N/A form formType submit N/A N/A N/A BadRequest text N/A Unexpected form type '%s' N/A form formType N/A N/A form N/A N/A data_form Form submit formNamespace NS_PUBSUB_NODE_CONFIG N/A N/A self options form N/A _render_configureOrNone N/A N/A self verbElement N/A N/A N/A 
        Render optional node configuration form in create request.
         N/A N/A N/A self options None N/A N/A configure N/A N/A N/A verbElement parent addElement configure N/A N/A N/A configure addChild N/A N/A N/A self options toElement N/A _parse_itemIdentifiers N/A N/A self verbElement N/A N/A N/A 
        Parse item identifiers out of items and retract requests.
         N/A N/A self itemIdentifiers N/A N/A element N/A N/A verbElement elements N/A N/A N/A N/A N/A element uri NS_PUBSUB N/A N/A element name item N/A N/A N/A N/A N/A N/A N/A self itemIdentifiers append N/A element N/A id N/A N/A N/A KeyError N/A N/A N/A BadRequest N/A _render_itemIdentifiers N/A N/A self verbElement N/A N/A N/A 
        Render item identifiers into items and retract requests.
         N/A N/A self itemIdentifiers N/A N/A itemIdentifier N/A self itemIdentifiers N/A N/A item N/A N/A verbElement addElement item N/A N/A item N/A id itemIdentifier N/A _parse_maxItems N/A N/A self verbElement N/A N/A N/A 
        Parse maximum items out of an items request.
         N/A value N/A N/A verbElement getAttribute max_items N/A value N/A N/A N/A N/A N/A self maxItems N/A int value N/A N/A N/A ValueError N/A N/A N/A BadRequest text N/A Field max_items requires a positive  integer value N/A _render_maxItems N/A N/A self verbElement N/A N/A N/A 
        Render maximum items into an items request.
         N/A N/A self maxItems N/A N/A N/A verbElement N/A max_items N/A unicode N/A self maxItems N/A _parse_subidOrNone N/A N/A self verbElement N/A N/A N/A 
        Parse subscription identifier out of a request.
         N/A N/A self subscriptionIdentifier N/A N/A verbElement getAttribute subid N/A _render_subidOrNone N/A N/A self verbElement N/A N/A N/A 
        Render subscription identifier into a request.
         N/A N/A self subscriptionIdentifier N/A N/A N/A verbElement N/A subid N/A self subscriptionIdentifier N/A _parse_options N/A N/A self verbElement N/A N/A N/A 
        Parse options form out of a subscription options request.
         N/A form N/A N/A data_form findForm verbElement NS_PUBSUB_SUBSCRIBE_OPTIONS N/A N/A form None N/A N/A N/A N/A form formType N/A submit cancel N/A N/A N/A self options form N/A N/A N/A BadRequest text N/A Unexpected form type '%s' N/A form formType N/A N/A N/A BadRequest text Missing options form N/A _render_options N/A N/A self verbElement N/A N/A N/A N/A N/A verbElement addChild N/A N/A N/A self options toElement N/A _parse_optionsWithSubscribe N/A N/A self verbElement N/A N/A N/A element N/A N/A N/A verbElement parent elements N/A N/A N/A N/A N/A element name options N/A N/A element uri NS_PUBSUB N/A N/A form N/A N/A data_form findForm element NS_PUBSUB_SUBSCRIBE_OPTIONS N/A N/A form None N/A N/A N/A N/A form formType submit N/A N/A N/A BadRequest text N/A Unexpected form type '%s' N/A form formType N/A N/A form N/A N/A data_form Form submit formNamespace NS_PUBSUB_SUBSCRIBE_OPTIONS N/A N/A self options form N/A _render_optionsWithSubscribe N/A N/A self verbElement N/A N/A N/A N/A N/A self options None N/A N/A optionsElement N/A N/A N/A verbElement parent addElement options N/A N/A N/A self _render_options optionsElement N/A _parse_affiliations N/A N/A self verbElement N/A N/A N/A N/A self affiliations N/A N/A element N/A N/A verbElement elements N/A N/A N/A N/A N/A element uri NS_PUBSUB_OWNER N/A N/A element name affiliation N/A N/A N/A N/A entity N/A N/A N/A N/A jid internJID N/A element N/A jid userhostJID N/A N/A N/A KeyError N/A N/A N/A BadRequest text Missing jid attribute N/A N/A entity N/A self affiliations N/A N/A N/A BadRequest text Multiple affiliations for an entity N/A N/A N/A affiliation N/A element N/A affiliation N/A N/A N/A KeyError N/A N/A N/A BadRequest text Missing affiliation attribute N/A N/A N/A self affiliations N/A entity affiliation N/A parseElement N/A N/A self element N/A N/A N/A 
        Parse the publish-subscribe verb and parameters out of a request.
         N/A N/A N/A N/A generic Stanza parseElement self element N/A verbs N/A N/A verbElements N/A N/A child N/A N/A N/A element pubsub elements N/A N/A key N/A N/A self stanzaType N/A child uri N/A child name N/A N/A N/A verb N/A N/A self _requestVerbMap N/A key N/A N/A N/A KeyError N/A N/A N/A N/A N/A verbs append verb N/A N/A N/A verbElements append child N/A N/A verbs N/A N/A N/A NotImplementedError N/A N/A N/A len verbs 1 N/A N/A N/A N/A optionsSet verbs N/A subscribe verbs N/A N/A N/A self verb subscribe N/A verbElement N/A verbElements N/A N/A N/A verbs index subscribe N/A N/A N/A NotImplementedError N/A N/A N/A self verb N/A verbs N/A 0 N/A verbElement N/A verbElements N/A 0 N/A parameter N/A N/A self _parameters N/A N/A self verb N/A N/A N/A N/A getattr self N/A _parse_%s parameter verbElement N/A send N/A N/A self xs N/A N/A N/A 
        Send this request to its recipient.

        This renders all of the relevant parameters for this specific
        requests into an L{IQ}, and invoke its C{send} method.
        This returns a deferred that fires upon reception of a response. See
        L{IQ} for details.

        @param xs: The XML stream to send the request on.
        @type xs: L{twisted.words.protocols.jabber.xmlstream.XmlStream}
        @rtype: L{defer.Deferred}.
         N/A N/A N/A N/A N/A self stanzaType childURI childName N/A N/A self _verbRequestMap N/A N/A self verb N/A N/A N/A KeyError N/A N/A N/A NotImplementedError N/A iq N/A IQ xs N/A self stanzaType N/A N/A N/A iq addElement N/A childURI pubsub N/A verbElement N/A N/A N/A iq pubsub addElement childName N/A N/A self sender N/A N/A N/A iq N/A from N/A N/A N/A self sender full N/A N/A self recipient N/A N/A N/A iq N/A to N/A N/A N/A self recipient full N/A parameter N/A N/A self _parameters N/A N/A self verb N/A N/A N/A N/A getattr self N/A _render_%s parameter verbElement N/A N/A N/A iq send N/A N/A PubSubEvent N/A object N/A N/A 
    A publish subscribe event.

    @param sender: The entity from which the notification was received.
    @type sender: L{jid.JID}
    @param recipient: The entity to which the notification was sent.
    @type recipient: L{wokkel.pubsub.ItemsEvent}
    @param nodeIdentifier: Identifier of the node the event pertains to.
    @type nodeIdentifier: C{unicode}
    @param headers: SHIM headers, see L{wokkel.shim.extractHeaders}.
    @type headers: C{dict}
     __init__ N/A N/A self sender recipient nodeIdentifier headers N/A N/A N/A N/A self sender sender N/A N/A self recipient recipient N/A N/A self nodeIdentifier nodeIdentifier N/A N/A self headers headers N/A N/A ItemsEvent N/A PubSubEvent N/A N/A 
    A publish-subscribe event that signifies new, updated and retracted items.

    @param items: List of received items as domish elements.
    @type items: C{list} of L{domish.Element}
     __init__ N/A N/A self sender recipient nodeIdentifier items headers N/A N/A N/A N/A N/A PubSubEvent __init__ self sender recipient nodeIdentifier headers N/A N/A self items items N/A N/A DeleteEvent N/A PubSubEvent N/A N/A 
    A publish-subscribe event that signifies the deletion of a node.
     N/A redirectURI None N/A PurgeEvent N/A PubSubEvent N/A N/A 
    A publish-subscribe event that signifies the purging of a node.
     N/A PubSubClient N/A XMPPHandler N/A N/A 
    Publish subscribe client protocol.
     N/A N/A implements IPubSubClient connectionInitialized N/A N/A self N/A N/A N/A N/A N/A N/A self xmlstream addObserver N/A /message/event[@xmlns="%s"] NS_PUBSUB_EVENT N/A self _onEvent N/A _onEvent N/A N/A self message N/A N/A N/A N/A N/A N/A message getAttribute type error N/A N/A N/A N/A N/A sender N/A N/A jid JID N/A message N/A from N/A recipient N/A N/A jid JID N/A message N/A to N/A N/A N/A KeyError N/A N/A N/A actionElement None N/A element N/A N/A N/A message event elements N/A N/A N/A N/A element uri NS_PUBSUB_EVENT N/A N/A actionElement element N/A N/A actionElement N/A N/A N/A eventHandler N/A getattr self N/A _onEvent_%s N/A actionElement name None N/A eventHandler N/A N/A headers N/A N/A shim extractHeaders message N/A N/A eventHandler sender recipient actionElement headers N/A N/A message handled True N/A _onEvent_items N/A N/A self sender recipient action headers N/A N/A N/A nodeIdentifier N/A action N/A node N/A items N/A element N/A element N/A N/A action elements N/A N/A element name N/A item retract N/A event N/A ItemsEvent sender recipient nodeIdentifier items headers N/A N/A N/A self itemsReceived event N/A _onEvent_delete N/A N/A self sender recipient action headers N/A N/A N/A nodeIdentifier N/A action N/A node N/A event N/A DeleteEvent sender recipient nodeIdentifier headers N/A N/A action redirect N/A N/A N/A event redirectURI N/A N/A N/A action redirect getAttribute uri N/A N/A N/A self deleteReceived event N/A _onEvent_purge N/A N/A self sender recipient action headers N/A N/A N/A nodeIdentifier N/A action N/A node N/A event N/A PurgeEvent sender recipient nodeIdentifier headers N/A N/A N/A self purgeReceived event N/A itemsReceived N/A N/A self event N/A N/A N/A N/A deleteReceived N/A N/A self event N/A N/A N/A N/A purgeReceived N/A N/A self event N/A N/A N/A N/A createNode N/A N/A self service nodeIdentifier options sender N/A None None None N/A N/A 
        Create a publish subscribe node.

        @param service: The publish subscribe service to create the node at.
        @type service: L{JID<twisted.words.protocols.jabber.jid.JID>}
        @param nodeIdentifier: Optional suggestion for the id of the node.
        @type nodeIdentifier: C{unicode}
        @param options: Optional node configuration options.
        @type options: C{dict}
         N/A request N/A PubSubRequest create N/A N/A request recipient service N/A N/A request nodeIdentifier nodeIdentifier N/A N/A request sender sender N/A options N/A N/A form N/A N/A data_form Form formType submit formNamespace NS_PUBSUB_NODE_CONFIG N/A N/A N/A form makeFields options N/A N/A request options form cb N/A N/A iq N/A N/A N/A N/A N/A new_node N/A N/A N/A iq pubsub create N/A node N/A N/A N/A AttributeError N/A N/A new_node nodeIdentifier N/A new_node N/A N/A d N/A N/A request send N/A self xmlstream N/A N/A N/A d addCallback cb N/A d N/A deleteNode N/A N/A self service nodeIdentifier sender N/A None N/A N/A 
        Delete a publish subscribe node.

        @param service: The publish subscribe service to delete the node from.
        @type service: L{JID<twisted.words.protocols.jabber.jid.JID>}
        @param nodeIdentifier: The identifier of the node.
        @type nodeIdentifier: C{unicode}
         N/A request N/A PubSubRequest delete N/A N/A request recipient service N/A N/A request nodeIdentifier nodeIdentifier N/A N/A request sender sender N/A N/A N/A request send N/A self xmlstream N/A subscribe N/A N/A self service nodeIdentifier subscriber options sender N/A None None N/A N/A 
        Subscribe to a publish subscribe node.

        @param service: The publish subscribe service that keeps the node.
        @type service: L{JID<twisted.words.protocols.jabber.jid.JID>}

        @param nodeIdentifier: The identifier of the node.
        @type nodeIdentifier: C{unicode}

        @param subscriber: The entity to subscribe to the node. This entity
            will get notifications of new published items.
        @type subscriber: L{JID<twisted.words.protocols.jabber.jid.JID>}

        @param options: Subscription options.
        @type options: C{dict}

        @return: Deferred that fires with L{Subscription} or errbacks with
            L{SubscriptionPending} or L{SubscriptionUnconfigured}.
        @rtype: L{defer.Deferred}
         N/A request N/A PubSubRequest subscribe N/A N/A request recipient service N/A N/A request nodeIdentifier nodeIdentifier N/A N/A request subscriber subscriber N/A N/A request sender sender N/A options N/A N/A form N/A N/A data_form Form formType submit formNamespace NS_PUBSUB_SUBSCRIBE_OPTIONS N/A N/A N/A form makeFields options N/A N/A request options form cb N/A N/A iq N/A N/A N/A subscription N/A N/A Subscription fromElement N/A N/A iq pubsub subscription N/A N/A N/A subscription state pending N/A N/A N/A SubscriptionPending N/A N/A N/A N/A subscription state unconfigured N/A N/A N/A SubscriptionUnconfigured N/A N/A subscription N/A N/A d N/A N/A request send N/A self xmlstream N/A N/A N/A d addCallback cb N/A d N/A unsubscribe N/A N/A self service nodeIdentifier subscriber subscriptionIdentifier sender N/A None None N/A N/A 
        Unsubscribe from a publish subscribe node.

        @param service: The publish subscribe service that keeps the node.
        @type service: L{JID<twisted.words.protocols.jabber.jid.JID>}

        @param nodeIdentifier: The identifier of the node.
        @type nodeIdentifier: C{unicode}

        @param subscriber: The entity to unsubscribe from the node.
        @type subscriber: L{JID<twisted.words.protocols.jabber.jid.JID>}

        @param subscriptionIdentifier: Optional subscription identifier.
        @type subscriptionIdentifier: C{unicode}
         N/A request N/A PubSubRequest unsubscribe N/A N/A request recipient service N/A N/A request nodeIdentifier nodeIdentifier N/A N/A request subscriber subscriber N/A N/A request subscriptionIdentifier subscriptionIdentifier N/A N/A request sender sender N/A N/A N/A request send N/A self xmlstream N/A publish N/A N/A self service nodeIdentifier items sender N/A None None N/A N/A 
        Publish to a publish subscribe node.

        @param service: The publish subscribe service that keeps the node.
        @type service: L{JID<twisted.words.protocols.jabber.jid.JID>}
        @param nodeIdentifier: The identifier of the node.
        @type nodeIdentifier: C{unicode}
        @param items: Optional list of L{Item}s to publish.
        @type items: C{list}
         N/A request N/A PubSubRequest publish N/A N/A request recipient service N/A N/A request nodeIdentifier nodeIdentifier N/A N/A request items items N/A N/A request sender sender N/A N/A N/A request send N/A self xmlstream N/A items N/A N/A self service nodeIdentifier maxItems subscriptionIdentifier sender N/A None None None N/A N/A 
        Retrieve previously published items from a publish subscribe node.

        @param service: The publish subscribe service that keeps the node.
        @type service: L{JID<twisted.words.protocols.jabber.jid.JID>}

        @param nodeIdentifier: The identifier of the node.
        @type nodeIdentifier: C{unicode}

        @param maxItems: Optional limit on the number of retrieved items.
        @type maxItems: C{int}

        @param subscriptionIdentifier: Optional subscription identifier. In
            case the node has been subscribed to multiple times, this narrows
            the results to the specific subscription.
        @type subscriptionIdentifier: C{unicode}
         N/A request N/A PubSubRequest items N/A N/A request recipient service N/A N/A request nodeIdentifier nodeIdentifier N/A maxItems N/A N/A N/A request maxItems N/A str N/A int maxItems N/A N/A request subscriptionIdentifier subscriptionIdentifier N/A N/A request sender sender cb N/A N/A iq N/A N/A N/A items N/A N/A element N/A N/A N/A N/A iq pubsub items elements N/A N/A N/A N/A N/A element uri NS_PUBSUB N/A N/A element name item N/A N/A N/A N/A items append element N/A items N/A N/A d N/A N/A request send N/A self xmlstream N/A N/A N/A d addCallback cb N/A d N/A getOptions N/A N/A self service nodeIdentifier subscriber subscriptionIdentifier sender N/A None None N/A N/A 
        Get subscription options.

        @param service: The publish subscribe service that keeps the node.
        @type service: L{JID<twisted.words.protocols.jabber.jid.JID>}

        @param nodeIdentifier: The identifier of the node.
        @type nodeIdentifier: C{unicode}

        @param subscriber: The entity subscribed to the node.
        @type subscriber: L{JID<twisted.words.protocols.jabber.jid.JID>}

        @param subscriptionIdentifier: Optional subscription identifier.
        @type subscriptionIdentifier: C{unicode}

        @rtype: L{data_form.Form}
         N/A request N/A PubSubRequest optionsGet N/A N/A request recipient service N/A N/A request nodeIdentifier nodeIdentifier N/A N/A request subscriber subscriber N/A N/A request subscriptionIdentifier subscriptionIdentifier N/A N/A request sender sender cb N/A N/A iq N/A N/A N/A form N/A N/A data_form findForm N/A N/A iq pubsub options NS_PUBSUB_SUBSCRIBE_OPTIONS N/A N/A N/A form typeCheck N/A form N/A N/A d N/A N/A request send N/A self xmlstream N/A N/A N/A d addCallback cb N/A d N/A setOptions N/A N/A self service nodeIdentifier subscriber options subscriptionIdentifier sender N/A None None N/A N/A 
        Set subscription options.

        @param service: The publish subscribe service that keeps the node.
        @type service: L{JID<twisted.words.protocols.jabber.jid.JID>}

        @param nodeIdentifier: The identifier of the node.
        @type nodeIdentifier: C{unicode}

        @param subscriber: The entity subscribed to the node.
        @type subscriber: L{JID<twisted.words.protocols.jabber.jid.JID>}

        @param options: Subscription options.
        @type options: C{dict}.

        @param subscriptionIdentifier: Optional subscription identifier.
        @type subscriptionIdentifier: C{unicode}
         N/A request N/A PubSubRequest optionsSet N/A N/A request recipient service N/A N/A request nodeIdentifier nodeIdentifier N/A N/A request subscriber subscriber N/A N/A request subscriptionIdentifier subscriptionIdentifier N/A N/A request sender sender N/A form N/A N/A data_form Form formType submit formNamespace NS_PUBSUB_SUBSCRIBE_OPTIONS N/A N/A N/A form makeFields options N/A N/A request options form N/A d N/A N/A request send N/A self xmlstream N/A d N/A N/A PubSubService N/A XMPPHandler IQHandlerMixin N/A N/A 
    Protocol implementation for a XMPP Publish Subscribe Service.

    The word Service here is used as taken from the Publish Subscribe
    specification. It is the party responsible for keeping nodes and their
    subscriptions, and sending out notifications.

    Methods from the L{IPubSubService} interface that are called as a result
    of an XMPP request may raise exceptions. Alternatively the deferred
    returned by these methods may have their errback called. These are handled
    as follows:

     - If the exception is an instance of L{error.StanzaError}, an error
       response iq is returned.
     - Any other exception is reported using L{log.msg}. An error response
       with the condition C{internal-server-error} is returned.

    The default implementation of said methods raises an L{Unsupported}
    exception and are meant to be overridden.

    @ivar discoIdentity: Service discovery identity as a dictionary with
                         keys C{'category'}, C{'type'} and C{'name'}.
    @ivar pubSubFeatures: List of supported publish-subscribe features for
                          service discovery, as C{str}.
    @type pubSubFeatures: C{list} or C{None}
     N/A N/A implements IPubSubService N/A disco IDisco N/A iqHandlers N/A /* _onPubSubRequest N/A _legacyHandlers N/A publish subscribe unsubscribe subscriptions affiliations create getConfigurationOptions default configureGet configureSet items retract purge delete N/A publish N/A sender recipient nodeIdentifier items N/A subscribe N/A sender recipient nodeIdentifier subscriber N/A unsubscribe N/A sender recipient nodeIdentifier subscriber N/A subscriptions N/A sender recipient N/A affiliations N/A sender recipient N/A create N/A sender recipient nodeIdentifier N/A getConfigurationOptions N/A N/A getDefaultConfiguration N/A sender recipient nodeType N/A getConfiguration N/A sender recipient nodeIdentifier N/A setConfiguration N/A sender recipient nodeIdentifier options N/A items N/A sender recipient nodeIdentifier maxItems itemIdentifiers N/A retract N/A sender recipient nodeIdentifier itemIdentifiers N/A purge N/A sender recipient nodeIdentifier N/A delete N/A sender recipient nodeIdentifier N/A hideNodes False __init__ N/A N/A self resource N/A None N/A N/A N/A self resource resource N/A N/A self discoIdentity N/A category type name pubsub service Generic Publish-Subscribe Service N/A N/A self pubSubFeatures N/A N/A connectionMade N/A N/A self N/A N/A N/A N/A N/A N/A self xmlstream addObserver PUBSUB_REQUEST N/A self handleRequest N/A getDiscoInfo N/A N/A self requestor target nodeIdentifier N/A N/A toInfo N/A N/A nodeInfo N/A N/A N/A N/A nodeInfo N/A N/A N/A N/A nodeType metaData N/A N/A nodeInfo N/A type N/A nodeInfo N/A meta-data N/A N/A N/A info append N/A N/A disco DiscoIdentity pubsub nodeType N/A metaData N/A N/A form N/A N/A data_form Form formType result formNamespace NS_PUBSUB_META_DATA N/A N/A N/A form addField N/A N/A data_form Field var pubsub#node_type value nodeType label The type of node (collection or leaf) N/A metaDatum metaData N/A N/A N/A N/A form addField N/A N/A N/A data_form Field fromDict metaDatum N/A N/A N/A info append form N/A N/A N/A info N/A N/A request N/A PubSubRequest discoInfo N/A N/A N/A self resource None N/A N/A resource N/A N/A N/A self resource locateResource request N/A identity N/A resource discoIdentity N/A features N/A resource features N/A getInfo N/A resource getInfo N/A N/A category N/A N/A self discoIdentity N/A category N/A idType N/A N/A self discoIdentity N/A type N/A name N/A N/A self discoIdentity N/A name N/A identity N/A N/A disco DiscoIdentity category idType name N/A features N/A self pubSubFeatures N/A getInfo N/A self getNodeInfo N/A N/A nodeIdentifier N/A N/A N/A N/A info append identity N/A N/A N/A info append N/A N/A disco DiscoFeature N/A disco NS_DISCO_ITEMS N/A N/A N/A info extend N/A N/A N/A disco DiscoFeature N/A %s#%s N/A NS_PUBSUB feature N/A feature features N/A d N/A N/A defer maybeDeferred getInfo requestor target N/A nodeIdentifier N/A N/A N/A d addCallback toInfo N/A N/A N/A d addErrback N/A log err N/A N/A N/A d addCallback N/A N/A N/A _ N/A info N/A d N/A getDiscoItems N/A N/A self requestor target nodeIdentifier N/A N/A N/A N/A self hideNodes N/A N/A d N/A N/A defer succeed N/A N/A N/A N/A N/A self resource None N/A N/A request N/A PubSubRequest discoInfo N/A resource N/A N/A N/A self resource locateResource request N/A d N/A N/A resource getNodes requestor target nodeIdentifier N/A N/A nodeIdentifier N/A N/A d N/A N/A self getNodes requestor target N/A N/A d N/A N/A defer succeed N/A N/A N/A N/A d addCallback N/A N/A N/A nodes N/A N/A N/A N/A disco DiscoItem target node N/A node nodes N/A d N/A _onPubSubRequest N/A N/A self iq N/A N/A N/A request N/A N/A PubSubRequest fromElement iq N/A N/A N/A self resource None N/A N/A resource N/A N/A N/A self resource locateResource request N/A N/A resource self N/A N/A N/A preProcessor N/A getattr self N/A _preProcess_%s N/A request verb N/A N/A N/A AttributeError N/A N/A N/A N/A request N/A preProcessor resource request N/A N/A request None N/A N/A N/A N/A defer succeed None N/A N/A resource self N/A N/A N/A N/A handler N/A getattr resource N/A request verb N/A N/A N/A AttributeError N/A N/A text N/A Request verb: %s N/A request verb N/A N/A N/A defer fail N/A Unsupported text N/A d N/A handler request N/A N/A N/A N/A N/A handlerName argNames N/A N/A self _legacyHandlers N/A N/A request verb N/A N/A N/A KeyError N/A N/A text N/A Request verb: %s N/A request verb N/A N/A N/A defer fail N/A Unsupported text N/A handler N/A getattr self handlerName N/A args N/A N/A getattr request arg N/A arg argNames N/A d N/A handler args N/A N/A N/A cb N/A getattr self N/A _toResponse_%s N/A request verb N/A N/A N/A AttributeError N/A N/A N/A N/A N/A N/A d addCallback cb resource request N/A d N/A _toResponse_subscribe N/A N/A self result resource request N/A N/A N/A response N/A N/A domish Element N/A NS_PUBSUB pubsub N/A N/A N/A response addChild N/A N/A result toElement NS_PUBSUB N/A response N/A _toResponse_subscriptions N/A N/A self result resource request N/A N/A N/A response N/A N/A domish Element N/A NS_PUBSUB pubsub N/A subscriptions N/A N/A response addElement subscriptions N/A subscription result N/A N/A N/A N/A subscriptions addChild N/A N/A subscription toElement NS_PUBSUB N/A response N/A _toResponse_affiliations N/A N/A self result resource request N/A N/A N/A response N/A N/A domish Element N/A NS_PUBSUB pubsub N/A affiliations N/A N/A response addElement affiliations N/A N/A nodeIdentifier affiliation result N/A N/A item N/A N/A affiliations addElement affiliation N/A N/A item N/A node nodeIdentifier N/A N/A item N/A affiliation affiliation N/A response N/A _toResponse_create N/A N/A self result resource request N/A N/A N/A N/A N/A N/A request nodeIdentifier N/A N/A request nodeIdentifier result N/A N/A response N/A N/A domish Element N/A NS_PUBSUB pubsub N/A create N/A N/A response addElement create N/A N/A create N/A node result N/A response N/A N/A None N/A _formFromConfiguration N/A N/A self resource values N/A N/A N/A fieldDefs N/A N/A resource getConfigurationOptions N/A form N/A N/A data_form Form formType form formNamespace NS_PUBSUB_NODE_CONFIG N/A N/A N/A form makeFields values fieldDefs N/A form N/A _checkConfiguration N/A N/A self resource form N/A N/A N/A fieldDefs N/A N/A resource getConfigurationOptions N/A N/A N/A form typeCheck fieldDefs filterUnknown True N/A _preProcess_create N/A N/A self resource request N/A N/A N/A N/A request options N/A N/A N/A N/A self _checkConfiguration resource N/A request options N/A request N/A _preProcess_default N/A N/A self resource request N/A N/A N/A N/A N/A request nodeType N/A leaf collection N/A N/A N/A N/A error StanzaError not-acceptable N/A N/A request N/A _toResponse_default N/A N/A self options resource request N/A N/A N/A response N/A N/A domish Element N/A NS_PUBSUB_OWNER pubsub N/A default N/A N/A response addElement default N/A form N/A N/A self _formFromConfiguration resource options N/A N/A N/A default addChild N/A N/A form toElement N/A response N/A _toResponse_configureGet N/A N/A self options resource request N/A N/A N/A response N/A N/A domish Element N/A NS_PUBSUB_OWNER pubsub N/A configure N/A N/A response addElement configure N/A form N/A N/A self _formFromConfiguration resource options N/A N/A N/A configure addChild N/A N/A form toElement N/A N/A request nodeIdentifier N/A N/A N/A configure N/A node N/A request nodeIdentifier N/A response N/A _preProcess_configureSet N/A N/A self resource request N/A N/A N/A N/A N/A N/A request options formType cancel N/A N/A None N/A N/A N/A N/A self _checkConfiguration resource N/A request options N/A request N/A _toResponse_items N/A N/A self result resource request N/A N/A N/A response N/A N/A domish Element N/A NS_PUBSUB pubsub N/A items N/A N/A response addElement items N/A N/A items N/A node N/A request nodeIdentifier N/A item result N/A N/A N/A item uri NS_PUBSUB N/A N/A N/A items addChild item N/A response N/A _createNotification N/A N/A self eventType service nodeIdentifier subscriber subscriptions N/A None N/A N/A headers N/A N/A subscriptions N/A N/A subscription subscriptions N/A N/A N/A nodeIdentifier N/A subscription nodeIdentifier N/A N/A N/A N/A headers append N/A Collection N/A subscription nodeIdentifier N/A message N/A N/A domish Element N/A None message N/A N/A message N/A from N/A N/A service full N/A N/A message N/A to N/A N/A subscriber full N/A event N/A N/A message addElement N/A NS_PUBSUB_EVENT event N/A element N/A N/A event addElement eventType N/A N/A element N/A node nodeIdentifier N/A headers N/A N/A N/A N/A message addChild N/A N/A shim Headers headers N/A message N/A _toResponse_affiliationsGet N/A N/A self result resource request N/A N/A N/A response N/A N/A domish Element N/A NS_PUBSUB_OWNER pubsub N/A affiliations N/A N/A response addElement affiliations N/A N/A request nodeIdentifier N/A N/A N/A affiliations N/A node N/A request nodeIdentifier N/A N/A entity affiliation N/A N/A result iteritems N/A N/A item N/A N/A affiliations addElement affiliation N/A N/A item N/A jid N/A N/A entity full N/A N/A item N/A affiliation affiliation N/A response N/A notifyPublish N/A N/A self service nodeIdentifier notifications N/A N/A N/A N/A subscriber subscriptions items notifications N/A N/A message N/A N/A self _createNotification items service nodeIdentifier subscriber subscriptions N/A item items N/A N/A N/A item uri NS_PUBSUB_EVENT N/A N/A N/A N/A N/A message event items addChild item N/A N/A N/A self send message N/A notifyDelete N/A N/A self service nodeIdentifier subscribers redirectURI N/A None N/A N/A subscriber subscribers N/A N/A message N/A N/A self _createNotification delete service nodeIdentifier subscriber N/A redirectURI N/A N/A redirect N/A N/A N/A N/A message event delete addElement redirect N/A N/A redirect N/A uri redirectURI N/A N/A N/A self send message N/A getNodeInfo N/A N/A self requestor service nodeIdentifier N/A N/A N/A None N/A getNodes N/A N/A self requestor service N/A N/A N/A N/A N/A publish N/A N/A self requestor service nodeIdentifier items N/A N/A N/A N/A Unsupported publish N/A subscribe N/A N/A self requestor service nodeIdentifier subscriber N/A N/A N/A N/A Unsupported subscribe N/A unsubscribe N/A N/A self requestor service nodeIdentifier subscriber N/A N/A N/A N/A Unsupported subscribe N/A subscriptions N/A N/A self requestor service N/A N/A N/A N/A Unsupported retrieve-subscriptions N/A affiliations N/A N/A self requestor service N/A N/A N/A N/A Unsupported retrieve-affiliations N/A create N/A N/A self requestor service nodeIdentifier N/A N/A N/A N/A Unsupported create-nodes N/A getConfigurationOptions N/A N/A self N/A N/A N/A N/A N/A getDefaultConfiguration N/A N/A self requestor service nodeType N/A N/A N/A N/A Unsupported retrieve-default N/A getConfiguration N/A N/A self requestor service nodeIdentifier N/A N/A N/A N/A Unsupported config-node N/A setConfiguration N/A N/A self requestor service nodeIdentifier options N/A N/A N/A N/A Unsupported config-node N/A items N/A N/A self requestor service nodeIdentifier maxItems itemIdentifiers N/A N/A N/A N/A Unsupported retrieve-items N/A retract N/A N/A self requestor service nodeIdentifier itemIdentifiers N/A N/A N/A N/A Unsupported retract-items N/A purge N/A N/A self requestor service nodeIdentifier N/A N/A N/A N/A Unsupported purge-nodes N/A delete N/A N/A self requestor service nodeIdentifier N/A N/A N/A N/A Unsupported delete-nodes N/A N/A PubSubResource N/A object N/A N/A N/A implements IPubSubResource N/A features N/A N/A discoIdentity N/A N/A disco DiscoIdentity pubsub service Publish-Subscribe Service locateResource N/A N/A self request N/A N/A N/A self N/A getInfo N/A N/A self requestor service nodeIdentifier N/A N/A N/A N/A N/A defer succeed None N/A getNodes N/A N/A self requestor service nodeIdentifier N/A N/A N/A N/A N/A defer succeed N/A N/A getConfigurationOptions N/A N/A self N/A N/A N/A N/A N/A publish N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported publish N/A subscribe N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported subscribe N/A unsubscribe N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported subscribe N/A subscriptions N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported retrieve-subscriptions N/A affiliations N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported retrieve-affiliations N/A create N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported create-nodes N/A default N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported retrieve-default N/A configureGet N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported config-node N/A configureSet N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported config-node N/A items N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported retrieve-items N/A retract N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported retract-items N/A purge N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported purge-nodes N/A delete N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported delete-nodes N/A affiliationsGet N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported modify-affiliations N/A affiliationsSet N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported modify-affiliations N/A subscriptionsGet N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported manage-subscriptions N/A subscriptionsSet N/A N/A self request N/A N/A N/A N/A N/A defer fail N/A Unsupported manage-subscriptions N/A N/A