Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Assign NameStore BinOpMult Num Num Assign NameStore BinOpMult BinOpMult Num Num Num Assign NameStore BinOpMult BinOpMult BinOpMult Num Num Num Num Assign NameStore Num ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num ListLoad body 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 AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr 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 AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn Str NameLoad body ImportFrom alias Assign SubscriptStore NameLoad Index Str AttributeLoad Call NameLoad SubscriptLoad NameLoad Index Str attr If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str ListLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr 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 NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr TryFinally body TryExcept body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareNotIn SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Return NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body Return Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Return BoolOpAnd CompareIs AttributeLoad NameLoad attr NameLoad CompareGtE BinOpSub NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Str decorator_list Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Num If CompareNotEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad ListLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Dict FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Str Str body If SubscriptLoad NameLoad Index Str body Return BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return SubscriptLoad NameLoad Index Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Dict Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareIn NameLoad ListLoad Str Str Call AttributeLoad NameLoad attr Str body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad Return Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If Call AttributeLoad NameLoad attr Str body AugAssignAdd SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareEq Call NameLoad AttributeLoad NameLoad attr Num CompareEq Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body While BoolOpAnd CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num CompareLtE SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body While BoolOpAnd CompareLt NameLoad NameLoad CompareLt SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad While CompareLt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list decorator_list Assign NameStore Dict Assign NameStore Dict Assign NameStore Dict Assign NameStore ListLoad Assign NameStore Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad attr NameLoad If BoolOpOr AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr ListLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad NameLoad AugAssignAdd NameStore Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn NameLoad NameLoad body Return Assign NameStore ListComp NameLoad comprehension NameStore SubscriptLoad NameLoad Index NameLoad CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call NameLoad NameLoad Num body Delete SubscriptDel NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad For NameStore NameLoad body For NameStore NameLoad body Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index NameLoad CompareNotIn AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod BinOpAdd Str Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr ListComp TupleLoad NameLoad Call AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore Call AttributeLoad NameLoad attr TryExcept body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad NameLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore Call NameLoad keyword Str keyword AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str If CompareIs NameLoad NameLoad body If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Raise Call NameLoad Str orelse If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If CompareIs NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str If NameLoad body AugAssignAdd NameStore Str Return Call NameLoad keyword Str keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If BoolOpAnd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr body Return Call NameLoad keyword Str keyword NameLoad keyword Call AttributeLoad NameLoad attr Raise NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad keyword Str decorator_list Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body If NameLoad body Return Call AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad ListLoad body If AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Return SubscriptLoad Call NameLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Return SubscriptLoad Call NameLoad NameLoad Index Str decorator_list Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Return Dict Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpOr UnaryOpNot CompareEq SubscriptLoad NameLoad Index Str Str UnaryOpNot SubscriptLoad NameLoad Index Str body Continue If BoolOpAnd CompareIn Str SubscriptLoad NameLoad Index Str UnaryOpNot CompareIn Str SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call NameLoad Str NameLoad Lambda arguments args NameParam defaults NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call NameLoad Str NameLoad Lambda arguments args NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr Assign NameStore CompareEq Call NameLoad NameLoad Num If BoolOpOr CompareIs NameLoad NameLoad UnaryOpNot CompareIn NameLoad NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If BoolOpAnd BoolOpOr CompareIs NameLoad NameLoad CompareGt SubscriptLoad NameLoad Index Str NameLoad CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore CompareGt BinOpSub Call NameLoad NameLoad Call AttributeLoad NameLoad attr keyword Num Return BoolOpOr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore DictComp Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Assign NameStore Dict If BoolOpAnd CompareIn Str NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str body For NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Assign NameStore BoolOpAnd CompareEq NameLoad Str CompareNotEq NameLoad NameLoad Assign NameStore CompareIn Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If BoolOpAnd BoolOpOr NameLoad NameLoad BoolOpOr NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Str NameLoad Lambda arguments args NameParam defaults NameLoad Assign NameStore Call NameLoad keyword NameLoad If NameLoad body Expr Call NameLoad Str NameLoad Lambda arguments args NameParam defaults NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Continue If AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Continue If BoolOpAnd CompareIn Str NameLoad CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Continue Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body For NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If CompareNotEq NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad For NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn SubscriptLoad NameLoad Index Str ListLoad Str body Expr Call NameLoad NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call NameLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str keyword Call NameLoad keyword Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr orelse Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str Call NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list
N/A __future__ absolute_import typing Any django.conf settings django.utils.timezone now collections deque N/A datetime N/A os N/A time N/A socket N/A logging N/A ujson N/A requests N/A atexit N/A sys N/A signal N/A tornado N/A tornado.autoreload N/A random N/A traceback zerver.decorator RespondAsynchronously JsonableError zerver.lib.cache cache_get_many message_cache_key user_profile_by_id_cache_key cache_save_user_profile cache_with_key zerver.lib.handlers clear_handler_by_id get_handler_by_id finish_handler handler_stats_string zerver.lib.utils statsd zerver.middleware async_request_restart zerver.lib.narrow build_narrow_filter zerver.lib.queue queue_json_publish zerver.lib.timestamp timestamp_to_datetime N/A copy N/A six N/A IDLE_EVENT_QUEUE_TIMEOUT_SECS N/A 60 10 N/A EVENT_QUEUE_GC_FREQ_MSECS N/A N/A 1000 60 5 N/A MAX_QUEUE_TIMEOUT_SECS N/A N/A N/A 7 24 60 60 N/A HEARTBEAT_MIN_FREQ_SECS 45 ClientDescriptor N/A object N/A __init__ N/A N/A self user_profile_id user_profile_email realm_id event_queue event_types client_type_name apply_markdown all_public_streams lifespan_secs narrow N/A True False 0 N/A N/A N/A N/A self user_profile_id user_profile_id N/A N/A self user_profile_email user_profile_email N/A N/A self realm_id realm_id N/A N/A self current_handler_id None N/A N/A self current_client_name None N/A N/A self event_queue event_queue N/A N/A self queue_timeout lifespan_secs N/A N/A self event_types event_types N/A N/A self last_connection_time N/A N/A time time N/A N/A self apply_markdown apply_markdown N/A N/A self all_public_streams all_public_streams N/A N/A self client_type_name client_type_name N/A N/A self _timeout_handle None N/A N/A self narrow narrow N/A N/A self narrow_filter N/A build_narrow_filter narrow N/A N/A self queue_timeout N/A max IDLE_EVENT_QUEUE_TIMEOUT_SECS N/A min N/A self queue_timeout MAX_QUEUE_TIMEOUT_SECS N/A to_dict N/A N/A self N/A N/A N/A N/A dict user_profile_id N/A self user_profile_id user_profile_email N/A self user_profile_email realm_id N/A self realm_id event_queue N/A N/A N/A self event_queue to_dict queue_timeout N/A self queue_timeout event_types N/A self event_types last_connection_time N/A self last_connection_time apply_markdown N/A self apply_markdown all_public_streams N/A self all_public_streams narrow N/A self narrow client_type_name N/A self client_type_name N/A __repr__ N/A N/A self N/A N/A N/A N/A ClientDescriptor<%s> N/A N/A N/A self event_queue id N/A from_dict N/A N/A cls d N/A N/A N/A N/A user_profile_email d N/A zerver.models get_user_profile_by_id N/A N/A d N/A user_profile_email N/A N/A get_user_profile_by_id N/A d N/A user_profile_id email N/A N/A client_type d N/A N/A N/A d N/A client_type_name N/A d N/A client_type N/A ret N/A cls N/A d N/A user_profile_id N/A d N/A user_profile_email N/A d N/A realm_id N/A N/A EventQueue from_dict N/A d N/A event_queue N/A d N/A event_types N/A d N/A client_type_name N/A d N/A apply_markdown N/A d N/A all_public_streams N/A d N/A queue_timeout N/A N/A d get narrow N/A N/A N/A ret last_connection_time N/A d N/A last_connection_time N/A ret N/A classmethod prepare_for_pickling N/A N/A self N/A N/A N/A N/A self current_handler_id None N/A N/A self _timeout_handle None N/A add_event N/A N/A self event N/A N/A N/A N/A N/A self current_handler_id None N/A N/A handler N/A get_handler_by_id N/A self current_handler_id N/A N/A async_request_restart N/A handler _request N/A N/A N/A N/A self event_queue push event N/A N/A N/A self finish_current_handler N/A finish_current_handler N/A N/A self need_timeout N/A False N/A N/A N/A N/A self current_handler_id None N/A N/A err_msg N/A Got error finishing handler for queue %s N/A N/A N/A self event_queue id N/A N/A N/A N/A N/A N/A finish_handler N/A self current_handler_id N/A N/A self event_queue id N/A N/A N/A self event_queue contents N/A self apply_markdown N/A N/A N/A Exception N/A N/A N/A N/A logging exception err_msg N/A N/A N/A N/A self disconnect_handler need_timeout need_timeout N/A True N/A False N/A accepts_event N/A N/A self event N/A N/A N/A N/A N/A N/A self event_types None N/A N/A event N/A type N/A self event_types N/A N/A False N/A N/A N/A event N/A type message N/A N/A N/A N/A self narrow_filter event N/A True N/A accepts_messages N/A N/A self N/A N/A N/A N/A N/A N/A self event_types None N/A message N/A self event_types N/A idle N/A N/A self now N/A N/A N/A N/A N/A hasattr self queue_timeout N/A N/A N/A self queue_timeout IDLE_EVENT_QUEUE_TIMEOUT_SECS N/A N/A N/A N/A self current_handler_id None N/A N/A now N/A self last_connection_time N/A self queue_timeout N/A connect_handler N/A N/A self handler_id client_name N/A N/A N/A N/A self current_handler_id handler_id N/A N/A self current_client_name client_name N/A N/A set_descriptor_by_handler_id handler_id self N/A N/A self last_connection_time N/A N/A time time timeout_callback N/A N/A N/A N/A N/A N/A self _timeout_handle None N/A N/A N/A self add_event N/A dict type heartbeat N/A N/A ioloop N/A N/A N/A N/A tornado ioloop IOLoop instance N/A heartbeat_time N/A N/A N/A N/A time time HEARTBEAT_MIN_FREQ_SECS N/A N/A random randint 0 10 N/A N/A N/A self client_type_name API: heartbeat test N/A N/A N/A self _timeout_handle N/A N/A ioloop add_timeout heartbeat_time timeout_callback N/A disconnect_handler N/A N/A self client_closed need_timeout N/A False True N/A N/A N/A self current_handler_id N/A N/A N/A clear_descriptor_by_handler_id N/A self current_handler_id None N/A N/A clear_handler_by_id N/A self current_handler_id N/A client_closed N/A N/A N/A N/A logging info N/A Client disconnected for queue %s (%s via %s) N/A N/A N/A self event_queue id N/A self user_profile_email N/A self current_client_name N/A N/A self current_handler_id None N/A N/A self current_client_name None N/A N/A need_timeout N/A N/A self _timeout_handle None N/A N/A ioloop N/A N/A N/A N/A tornado ioloop IOLoop instance N/A N/A N/A ioloop remove_timeout N/A self _timeout_handle N/A N/A self _timeout_handle None N/A cleanup N/A N/A self N/A N/A N/A N/A N/A self finish_current_handler need_timeout False N/A N/A do_gc_event_queues N/A N/A N/A self event_queue id N/A N/A self user_profile_id N/A N/A self realm_id N/A N/A N/A descriptors_by_handler_id N/A get_descriptor_by_handler_id N/A N/A handler_id N/A N/A N/A N/A N/A descriptors_by_handler_id get handler_id N/A set_descriptor_by_handler_id N/A N/A handler_id client_descriptor N/A N/A N/A N/A descriptors_by_handler_id N/A handler_id client_descriptor N/A clear_descriptor_by_handler_id N/A N/A handler_id client_descriptor N/A N/A N/A N/A descriptors_by_handler_id N/A handler_id N/A compute_full_event_type N/A N/A event N/A N/A N/A N/A N/A event N/A type update_message_flags N/A N/A N/A event N/A all N/A N/A N/A all_flags/%s/%s N/A N/A event N/A flag N/A event N/A operation N/A N/A flags/%s/%s N/A N/A event N/A operation N/A event N/A flag N/A N/A event N/A type N/A EventQueue N/A object N/A __init__ N/A N/A self id N/A N/A N/A N/A self queue N/A deque N/A N/A self next_event_id 0 N/A N/A self id id N/A N/A self virtual_events N/A N/A to_dict N/A N/A self N/A N/A N/A N/A dict id N/A self id next_event_id N/A self next_event_id queue N/A list N/A self queue virtual_events N/A self virtual_events N/A from_dict N/A N/A cls d N/A N/A N/A ret N/A cls N/A d N/A id N/A N/A ret next_event_id N/A d N/A next_event_id N/A N/A ret queue N/A deque N/A d N/A queue N/A N/A ret virtual_events N/A N/A d get virtual_events N/A N/A ret N/A classmethod push N/A N/A self event N/A N/A N/A N/A event N/A id N/A self next_event_id N/A N/A self next_event_id 1 N/A full_event_type N/A compute_full_event_type event N/A N/A N/A full_event_type N/A pointer restart N/A N/A full_event_type startswith flags/ N/A N/A N/A full_event_type N/A self virtual_events N/A N/A N/A N/A self virtual_events N/A full_event_type N/A N/A copy deepcopy event N/A N/A virtual_event N/A N/A self virtual_events N/A full_event_type N/A N/A virtual_event N/A id N/A event N/A id N/A N/A timestamp event N/A N/A N/A virtual_event N/A timestamp N/A event N/A timestamp N/A N/A full_event_type pointer N/A N/A N/A virtual_event N/A pointer N/A event N/A pointer N/A N/A N/A full_event_type restart N/A N/A N/A virtual_event N/A server_generation N/A event N/A server_generation N/A N/A N/A N/A full_event_type startswith flags/ N/A N/A N/A virtual_event N/A messages N/A event N/A messages N/A N/A N/A N/A N/A self queue append event N/A pop N/A N/A self N/A N/A N/A N/A N/A N/A self queue popleft N/A empty N/A N/A self N/A N/A N/A N/A N/A N/A len N/A self queue 0 N/A N/A len N/A self virtual_events 0 N/A prune N/A N/A self through_id N/A N/A N/A N/A N/A N/A len N/A self queue 0 N/A N/A N/A N/A self queue N/A 0 N/A id through_id N/A N/A N/A N/A self pop N/A contents N/A N/A self N/A N/A N/A contents N/A N/A virtual_id_map N/A N/A event_type N/A self virtual_events N/A N/A N/A virtual_id_map N/A N/A N/A N/A self virtual_events N/A event_type N/A id N/A N/A self virtual_events N/A event_type N/A virtual_ids N/A sorted N/A list N/A N/A virtual_id_map keys N/A index 0 N/A length N/A len virtual_ids N/A event N/A self queue N/A N/A N/A N/A index length N/A N/A virtual_ids N/A index N/A event N/A id N/A N/A N/A N/A contents append N/A virtual_id_map N/A N/A virtual_ids N/A index N/A index 1 N/A N/A N/A contents append event N/A N/A index length N/A N/A N/A N/A contents append N/A virtual_id_map N/A N/A virtual_ids N/A index N/A index 1 N/A N/A self virtual_events N/A N/A N/A self queue N/A deque contents N/A contents N/A N/A N/A clients N/A N/A user_clients N/A N/A realm_clients_all_streams N/A N/A gc_hooks N/A N/A next_queue_id 0 add_client_gc_hook N/A N/A hook N/A N/A N/A N/A N/A gc_hooks append hook N/A get_client_descriptor N/A N/A queue_id N/A N/A N/A N/A N/A clients get queue_id N/A get_client_descriptors_for_user N/A N/A user_profile_id N/A N/A N/A N/A N/A user_clients get user_profile_id N/A N/A get_client_descriptors_for_realm_all_streams N/A N/A realm_id N/A N/A N/A N/A N/A realm_clients_all_streams get realm_id N/A N/A add_to_client_dicts N/A N/A client N/A N/A N/A N/A N/A N/A N/A user_clients setdefault N/A client user_profile_id N/A append client N/A N/A N/A client all_public_streams N/A N/A client narrow N/A N/A N/A N/A N/A N/A N/A realm_clients_all_streams setdefault N/A client realm_id N/A append client N/A allocate_client_descriptor N/A N/A new_queue_data N/A N/A N/A next_queue_id N/A queue_id N/A N/A N/A str N/A settings SERVER_GENERATION : N/A str next_queue_id N/A next_queue_id 1 N/A N/A new_queue_data N/A event_queue N/A N/A N/A EventQueue queue_id to_dict N/A client N/A N/A ClientDescriptor from_dict new_queue_data N/A N/A clients N/A queue_id client N/A N/A add_to_client_dicts client N/A client N/A do_gc_event_queues N/A N/A to_remove affected_users affected_realms N/A N/A filter_client_dict N/A N/A client_dict key N/A N/A N/A N/A key client_dict N/A N/A N/A new_client_list N/A c N/A c N/A client_dict N/A key N/A N/A N/A c event_queue id to_remove N/A N/A N/A len new_client_list 0 N/A N/A N/A client_dict N/A key N/A N/A N/A client_dict N/A key new_client_list N/A N/A user_id affected_users N/A N/A N/A filter_client_dict user_clients user_id N/A realm_id affected_realms N/A N/A N/A filter_client_dict realm_clients_all_streams realm_id N/A id to_remove N/A N/A cb gc_hooks N/A N/A N/A cb N/A N/A clients N/A id user_profile_id N/A clients N/A id N/A N/A N/A clients N/A id user_profile_id user_clients N/A N/A clients N/A id N/A gc_event_queues N/A N/A N/A N/A N/A start N/A N/A time time N/A to_remove N/A set N/A affected_users N/A set N/A affected_realms N/A set N/A N/A id client N/A N/A six iteritems clients N/A N/A N/A N/A client idle start N/A N/A N/A N/A to_remove add id N/A N/A N/A affected_users add N/A client user_profile_id N/A N/A N/A affected_realms add N/A client realm_id N/A N/A do_gc_event_queues to_remove affected_users affected_realms N/A N/A N/A logging info N/A N/A Tornado removed %d idle event queues owned by %d users in %.3fs.   Now %d active queues, %s N/A N/A len to_remove N/A len affected_users N/A N/A N/A time time start N/A len clients N/A handler_stats_string N/A N/A N/A statsd gauge tornado.active_queues N/A len clients N/A N/A N/A statsd gauge tornado.active_users N/A len user_clients N/A dump_event_queues N/A N/A N/A N/A N/A start N/A N/A time time N/A N/A open N/A settings JSON_PERSISTENT_QUEUE_FILENAME w stored_queues N/A N/A N/A N/A ujson dump N/A N/A qid N/A N/A client to_dict N/A N/A qid client N/A N/A six iteritems clients stored_queues N/A N/A N/A logging info N/A Tornado dumped %d event queues in %.3fs N/A N/A len clients N/A N/A N/A time time start N/A load_event_queues N/A N/A N/A N/A N/A clients N/A start N/A N/A time time N/A N/A N/A N/A open N/A settings JSON_PERSISTENT_QUEUE_FILENAME r stored_queues N/A N/A json_data N/A N/A stored_queues read N/A N/A N/A clients N/A dict N/A N/A qid N/A N/A ClientDescriptor from_dict client N/A N/A qid client N/A N/A ujson loads json_data N/A N/A N/A Exception N/A N/A N/A N/A logging exception Could not deserialize event queues N/A N/A N/A N/A IOError EOFError N/A N/A N/A client N/A N/A six itervalues clients N/A N/A N/A add_to_client_dicts client N/A N/A N/A logging info N/A Tornado loaded %d event queues in %.3fs N/A N/A len clients N/A N/A N/A time time start N/A send_restart_events N/A N/A immediate N/A False N/A N/A event N/A dict type restart server_generation N/A settings SERVER_GENERATION N/A immediate N/A N/A N/A event N/A immediate True N/A client N/A N/A six itervalues clients N/A N/A N/A N/A client accepts_event event N/A N/A N/A N/A client add_event N/A N/A event copy N/A setup_event_queue N/A N/A N/A N/A N/A N/A N/A settings TEST_SUITE N/A N/A N/A load_event_queues N/A N/A N/A atexit register dump_event_queues N/A N/A N/A signal signal N/A signal SIGTERM N/A N/A N/A signum stack N/A N/A N/A sys exit 1 N/A N/A N/A N/A tornado autoreload add_reload_hook dump_event_queues N/A N/A N/A N/A N/A os rename N/A settings JSON_PERSISTENT_QUEUE_FILENAME /var/tmp/event_queues.json.last N/A N/A N/A OSError N/A N/A N/A ioloop N/A N/A N/A N/A tornado ioloop IOLoop instance N/A pc N/A N/A N/A tornado ioloop PeriodicCallback gc_event_queues EVENT_QUEUE_GC_FREQ_MSECS ioloop N/A N/A N/A pc start N/A N/A send_restart_events immediate N/A settings DEVELOPMENT N/A fetch_events N/A N/A query N/A N/A N/A queue_id N/A query N/A queue_id N/A dont_block N/A query N/A dont_block N/A last_event_id N/A query N/A last_event_id N/A user_profile_id N/A query N/A user_profile_id N/A new_queue_data N/A N/A query get new_queue_data N/A user_profile_email N/A query N/A user_profile_email N/A client_type_name N/A query N/A client_type_name N/A handler_id N/A query N/A handler_id N/A N/A N/A was_connected False N/A orig_queue_id queue_id N/A extra_log_data N/A N/A queue_id None N/A N/A dont_block N/A N/A client N/A allocate_client_descriptor new_queue_data N/A queue_id N/A N/A client event_queue id N/A N/A N/A JsonableError Missing 'queue_id' argument N/A N/A N/A last_event_id None N/A N/A N/A JsonableError Missing 'last_event_id' argument N/A client N/A get_client_descriptor queue_id N/A N/A client None N/A N/A N/A JsonableError N/A Bad event queue id: %s N/A queue_id N/A N/A user_profile_id N/A client user_profile_id N/A N/A N/A JsonableError You are not authorized to get events from this queue N/A N/A N/A N/A client event_queue prune last_event_id N/A was_connected N/A N/A client finish_current_handler N/A N/A N/A N/A N/A N/A client event_queue empty dont_block N/A N/A response N/A dict events N/A N/A N/A client event_queue contents handler_id handler_id N/A N/A orig_queue_id None N/A N/A N/A response N/A queue_id queue_id N/A extra_log_data N/A [%s/%s] N/A queue_id N/A len N/A response N/A events N/A was_connected N/A N/A extra_log_data  [was connected] N/A N/A dict type response response response extra_log_data extra_log_data N/A was_connected N/A N/A N/A N/A logging info N/A Disconnected handler for queue %s (%s/%s) N/A queue_id user_profile_email client_type_name N/A N/A N/A JsonableError N/A e N/A N/A N/A N/A hasattr e to_json_error_msg N/A callable N/A e to_json_error_msg N/A N/A N/A dict type error handler_id handler_id message N/A N/A e to_json_error_msg N/A e N/A N/A N/A client connect_handler handler_id client_type_name N/A N/A dict type async N/A N/A requests_json_is_function N/A callable N/A N/A requests Response json extract_json_response N/A N/A resp N/A N/A N/A requests_json_is_function N/A N/A N/A N/A resp json N/A N/A N/A resp json N/A request_event_queue N/A N/A user_profile user_client apply_markdown queue_lifespan_secs event_types all_public_streams narrow N/A None False N/A N/A N/A N/A settings TORNADO_SERVER N/A N/A req N/A dont_block apply_markdown all_public_streams client user_client narrow lifespan_secs true N/A N/A ujson dumps apply_markdown N/A N/A ujson dumps all_public_streams internal N/A user_client name N/A N/A ujson dumps narrow queue_lifespan_secs N/A N/A event_types None N/A N/A N/A req N/A event_types N/A N/A ujson dumps event_types N/A resp N/A N/A requests get N/A N/A settings TORNADO_SERVER /api/v1/events auth N/A N/A N/A requests auth HTTPBasicAuth N/A user_profile email N/A user_profile api_key params req N/A N/A N/A resp raise_for_status N/A N/A N/A extract_json_response resp N/A queue_id N/A None N/A get_user_events N/A N/A user_profile queue_id last_event_id N/A N/A N/A N/A settings TORNADO_SERVER N/A N/A resp N/A N/A requests get N/A N/A settings TORNADO_SERVER /api/v1/events auth N/A N/A N/A requests auth HTTPBasicAuth N/A user_profile email N/A user_profile api_key params N/A queue_id last_event_id dont_block client queue_id last_event_id true internal N/A N/A N/A resp raise_for_status N/A N/A N/A extract_json_response resp N/A events N/A N/A NOTIFY_AFTER_IDLE_HOURS 1 build_offline_notification N/A N/A user_profile_id message_id N/A N/A N/A N/A user_profile_id message_id timestamp user_profile_id message_id N/A N/A time time N/A missedmessage_hook N/A N/A user_profile_id queue last_for_client N/A N/A N/A N/A last_for_client N/A N/A N/A message_ids_to_notify N/A N/A event N/A N/A N/A queue event_queue contents N/A N/A N/A N/A N/A N/A event N/A type message N/A N/A event N/A flags N/A N/A N/A N/A N/A mentioned N/A event N/A flags N/A N/A read N/A event N/A flags N/A N/A notify_info N/A dict message_id N/A N/A event N/A message N/A id N/A N/A N/A N/A event get push_notified False N/A N/A N/A notify_info N/A send_push True N/A N/A N/A N/A event get email_notified False N/A N/A N/A notify_info N/A send_email True N/A N/A N/A message_ids_to_notify append notify_info N/A notify_info message_ids_to_notify N/A N/A msg_id N/A notify_info N/A message_id N/A notice N/A build_offline_notification user_profile_id msg_id N/A N/A N/A notify_info get send_push False N/A N/A N/A queue_json_publish missedmessage_mobile_notifications notice N/A N/A N/A notice N/A None N/A N/A N/A notify_info get send_email False N/A N/A N/A queue_json_publish missedmessage_emails notice N/A N/A N/A notice N/A None N/A receiver_is_idle N/A N/A user_profile_id realm_presences N/A N/A N/A all_client_descriptors N/A get_client_descriptors_for_user user_profile_id N/A message_event_queues N/A client N/A client all_client_descriptors N/A N/A client accepts_messages N/A off_zulip N/A N/A len message_event_queues 0 N/A N/A N/A realm_presences None N/A N/A user_profile_id realm_presences N/A N/A off_zulip N/A user_presence N/A realm_presences N/A user_profile_id N/A latest_active_timestamp None N/A idle False N/A N/A client status N/A N/A six iteritems user_presence N/A N/A N/A N/A N/A latest_active_timestamp None N/A N/A status N/A timestamp latest_active_timestamp N/A N/A status N/A status active N/A N/A latest_active_timestamp N/A status N/A timestamp N/A N/A latest_active_timestamp None N/A N/A idle True N/A N/A active_datetime N/A timestamp_to_datetime latest_active_timestamp N/A idle N/A N/A N/A now active_datetime N/A N/A datetime timedelta seconds 140 N/A N/A off_zulip idle N/A process_message_event N/A N/A event_template users N/A N/A N/A realm_presences N/A N/A int k v N/A N/A k v N/A N/A N/A event_template N/A presences items N/A sender_queue_id N/A N/A event_template get sender_queue_id None N/A message_dict_markdown N/A event_template N/A message_dict_markdown N/A message_dict_no_markdown N/A event_template N/A message_dict_no_markdown N/A sender_id N/A message_dict_markdown N/A sender_id N/A message_id N/A message_dict_markdown N/A id N/A message_type N/A message_dict_markdown N/A type N/A sending_client N/A message_dict_markdown N/A client N/A send_to_clients N/A dict N/A extra_user_data N/A N/A N/A N/A stream_name event_template N/A N/A N/A event_template get invite_only N/A N/A client N/A get_client_descriptors_for_realm_all_streams N/A event_template N/A realm_id N/A N/A N/A send_to_clients N/A N/A N/A client event_queue id N/A client flags client None N/A N/A N/A sender_queue_id None N/A N/A N/A client event_queue id sender_queue_id N/A N/A N/A N/A send_to_clients N/A N/A N/A client event_queue id N/A is_sender True N/A user_data users N/A N/A user_profile_id N/A user_data N/A id N/A flags N/A N/A user_data get flags N/A N/A client N/A get_client_descriptors_for_user user_profile_id N/A N/A N/A send_to_clients N/A N/A N/A client event_queue id N/A client flags client flags N/A N/A N/A sender_queue_id None N/A N/A N/A client event_queue id sender_queue_id N/A N/A N/A N/A send_to_clients N/A N/A N/A client event_queue id N/A is_sender True N/A received_pm N/A N/A message_type private N/A user_profile_id sender_id N/A mentioned N/A mentioned flags N/A idle N/A receiver_is_idle user_profile_id realm_presences N/A always_push_notify N/A N/A user_data get always_push_notify False N/A N/A N/A received_pm mentioned N/A idle always_push_notify N/A N/A notice N/A build_offline_notification user_profile_id message_id N/A N/A queue_json_publish missedmessage_mobile_notifications notice N/A N/A N/A notice N/A None N/A notified N/A dict push_notified True N/A idle N/A N/A N/A queue_json_publish missedmessage_emails notice N/A N/A N/A notice N/A None N/A N/A notified N/A email_notified True N/A N/A extra_user_data N/A user_profile_id notified N/A client_data N/A N/A six itervalues send_to_clients N/A N/A client N/A client_data N/A client N/A flags N/A client_data N/A flags N/A is_sender N/A N/A client_data get is_sender False N/A extra_data N/A N/A extra_user_data get N/A client user_profile_id None N/A N/A N/A N/A client accepts_messages N/A N/A N/A N/A client apply_markdown N/A N/A message_dict message_dict_markdown N/A N/A message_dict message_dict_no_markdown N/A N/A N/A mirror N/A client client_type_name N/A N/A event_template get invite_only N/A N/A message_dict N/A N/A message_dict copy N/A N/A message_dict N/A invite_only_stream True N/A user_event N/A dict type message message message_dict flags flags N/A N/A extra_data None N/A N/A N/A N/A user_event update extra_data N/A is_sender N/A N/A local_message_id N/A N/A event_template get local_id None N/A N/A local_message_id None N/A N/A N/A user_event N/A local_message_id local_message_id N/A N/A N/A N/A client accepts_event user_event N/A N/A N/A N/A N/A mirror sending_client N/A N/A N/A sending_client lower N/A N/A N/A client client_type_name lower N/A N/A N/A N/A N/A client add_event user_event N/A process_event N/A N/A event users N/A N/A N/A user_profile_id users N/A N/A client N/A get_client_descriptors_for_user user_profile_id N/A N/A N/A N/A client accepts_event event N/A N/A N/A N/A client add_event N/A N/A event copy N/A process_userdata_event N/A N/A event_template users N/A N/A N/A user_data users N/A N/A user_profile_id N/A user_data N/A id N/A user_event N/A N/A event_template copy N/A key N/A N/A user_data keys N/A N/A N/A key id N/A N/A N/A user_event N/A key N/A user_data N/A key N/A client N/A get_client_descriptors_for_user user_profile_id N/A N/A N/A N/A client accepts_event user_event N/A N/A N/A N/A client add_event user_event N/A process_notification N/A N/A notice N/A N/A N/A event N/A notice N/A event N/A users N/A notice N/A users N/A N/A N/A event N/A type N/A update_message N/A N/A N/A process_userdata_event event users N/A N/A N/A N/A event N/A type message N/A N/A N/A process_message_event event users N/A N/A N/A process_event event users N/A send_notification_http N/A N/A data N/A N/A N/A N/A N/A settings TORNADO_SERVER N/A N/A settings RUNNING_INSIDE_TORNADO N/A N/A N/A N/A requests post N/A N/A settings TORNADO_SERVER /notify_tornado data N/A dict data N/A N/A ujson dumps data secret N/A settings SHARED_SECRET N/A N/A N/A process_notification data N/A send_notification N/A N/A data N/A N/A N/A N/A queue_json_publish notify_tornado data send_notification_http N/A send_event N/A N/A event users N/A N/A N/A N/A queue_json_publish notify_tornado N/A dict event event users users send_notification_http N/A