Module Import alias Import alias Expr Call AttributeLoad NameLoad attr ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias alias Import alias Assign NameStore ListLoad Str Str Str Str Assign NameStore Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str ClassDef bases NameLoad body Assign NameStore Call NameLoad keyword ListLoad Call NameLoad Assign NameStore Call NameLoad keyword ListLoad Call NameLoad Assign NameStore Call NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Assign NameStore ListLoad Str Str Str Str Str Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Assign NameStore BinOpAdd SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Index Str SubscriptLoad NameLoad Index NameLoad Assign NameStore Dict Str SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Index Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Index Str Str Assign NameStore Dict Str SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad Index Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Return SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Dict Str NameLoad attr Dict Str NameLoad attr AttributeLoad NameLoad attr Index Num Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args defaults body Expr Str Return BinOpAdd Call NameLoad Call NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad For NameStore NameLoad body If CompareIn SubscriptLoad NameLoad Index Num NameLoad body If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Return NameLoad orelse Return NameLoad For NameStore SubscriptLoad NameLoad Index Str body If UnaryOpNot Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad NameLoad body Return NameLoad If CompareNotIn Str SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad body Return NameLoad If UnaryOpNot Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Index Str NameLoad body Return NameLoad If UnaryOpNot Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Index Str NameLoad body Return NameLoad If CompareNotIn Str SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad body Return NameLoad If CompareIn Str SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad body If UnaryOpNot Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Index Str NameLoad body Return NameLoad If UnaryOpNot Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Index Str NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call NameLoad Num If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Num If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr body Expr Call NameLoad Num 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 AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad keyword Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Dict Str NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str NameLoad NameLoad NameLoad NameLoad Str Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad keyword Str attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad Call NameLoad Dict Str Str Str Call NameLoad NameLoad Num Return Call NameLoad Dict Str Str decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad Num If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Expr Call NameLoad Num If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Dict Str NameLoad attr Str attr AttributeLoad NameLoad attr Index Num If NameLoad body If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Str Return Call NameLoad NameLoad orelse Expr Call NameLoad Num orelse If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad Dict Str Call NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Dict If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Num If CompareIn Str AttributeLoad NameLoad attr body If CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Expr Call NameLoad Num If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Dict Str NameLoad attr NameLoad attr AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad NameLoad Index Str Num body If BoolOpAnd NameLoad CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return Call NameLoad Dict Str NameLoad orelse Return Call NameLoad Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Dict Str NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BinOpBitOr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BinOpBitOr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad attr attr AttributeLoad NameLoad attr Return Call NameLoad Dict Str NameLoad orelse Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BinOpBitOr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad attr Str attr AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad SubscriptLoad NameLoad Index Num orelse Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BinOpBitOr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad attr AttributeLoad NameLoad attr If NameLoad body For NameStore NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr attr AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str Num body Return Call NameLoad Dict Str NameLoad orelse Return Call NameLoad Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num orelse If CompareEq AttributeLoad NameLoad attr Str body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Num TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr Dict Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr orelse Expr Call NameLoad Num If CompareNotEq SubscriptLoad NameLoad Index Str Num body Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Num orelse If CompareEq AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr Dict Str Str attr AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad NameLoad Index Str Num body Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num orelse If CompareEq AttributeLoad NameLoad attr Str body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Num TryExcept body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call NameLoad Num If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr Dict Str BinOpSub Call NameLoad Num attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr Dict Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad NameLoad Index Str Num body Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num orelse If CompareEq AttributeLoad NameLoad attr Str body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Num TryExcept body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call NameLoad Num If CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr Dict Str NameLoad attr AttributeLoad NameLoad attr orelse If CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad attr Dict Str NameLoad attr AttributeLoad NameLoad attr orelse Expr Call NameLoad Num If CompareNotEq SubscriptLoad NameLoad Index Str Num body Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq NameLoad Str body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad keyword Str attr AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad Dict Str NameLoad orelse Return Call NameLoad Dict Str ListLoad orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad keyword Str attr AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad Dict Str NameLoad orelse Return Call NameLoad Dict Str ListLoad orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad keyword Str attr AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad Dict Str NameLoad orelse Return Call NameLoad Dict Str ListLoad orelse If CompareEq NameLoad Str body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad keyword Str attr AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad Dict Str NameLoad orelse Return Call NameLoad Dict Str ListLoad orelse Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Dict Str Str NameLoad NameLoad attr Call AttributeLoad NameLoad attr Str attr NameLoad attr AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad Dict Str Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str orelse Expr Call NameLoad Num orelse Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Dict Str NameLoad attr Call AttributeLoad NameLoad attr Str attr NameLoad attr AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad Dict Str Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str orelse Expr Call NameLoad Num orelse If CompareEq AttributeLoad NameLoad attr Str body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Num If BoolOpOr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call NameLoad Num If UnaryOpNot Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad keyword Str attr AttributeLoad NameLoad attr body Expr Call NameLoad Num Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Dict Str Str NameLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Dict Str Str Str Str Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str Num body Return Call NameLoad Dict Str NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Num orelse Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str NameLoad FunctionDef arguments args defaults body Expr Str Return Call NameLoad Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call NameLoad Num If CompareIn NameLoad NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call NameLoad Dict NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad Dict NameLoad NameLoad orelse Expr Call NameLoad Num orelse Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad If NameLoad body Return Call NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad orelse Return Call NameLoad Dict SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad orelse If CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore BinOpMod Str TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call NameLoad Dict NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad Dict NameLoad NameLoad orelse Return Call NameLoad Dict NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Dict Assign SubscriptStore NameLoad Index SubscriptLoad AttributeLoad NameLoad attr Index Str Call NameLoad For NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr body Assign NameStore BinOpMod Str TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad If UnaryOpNot SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad Return Call NameLoad Dict Str NameLoad orelse Expr Call NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call NameLoad Num Assign NameStore ListLoad For NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BinOpBitOr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Dict Str Str NameLoad NameLoad attr AttributeLoad NameLoad attr body If Call AttributeLoad SubscriptLoad NameLoad Index Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return Call AttributeLoad Str attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body If NameLoad body If CompareIn NameLoad NameLoad body Return Call NameLoad Str keyword NameLoad orelse Expr Call NameLoad Num orelse Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Expr Call NameLoad Num orelse Return Call NameLoad Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str If NameLoad body If CompareIn NameLoad NameLoad body Return Call NameLoad Str keyword NameLoad orelse Expr Call NameLoad Num orelse Return Call NameLoad Str keyword Str decorator_list Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Return Call NameLoad Str orelse Return Call NameLoad BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Str orelse Return Call NameLoad Str keyword NameLoad keyword Str Return Call NameLoad Str keyword NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str FunctionDef arguments args NameParam defaults body Return TupleLoad Call NameLoad Str Num decorator_list Call AttributeLoad NameLoad attr Num FunctionDef arguments args defaults body Expr Str Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotEq AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad
N/A N/A json N/A eventlet N/A N/A N/A eventlet monkey_patch eventlet.green urllib2 flask request abort render_template session redirect bson ObjectId time time random randint stalkerweb.auth is_valid_login login_required remove_user stalkerweb.stutils jsonify genPrimaryKey64 stalkerweb app rc rdb flask.ext.wtf Form wtforms TextField PasswordField BooleanField wtforms.validators Required werkzeug.contrib.cache RedisCache N/A rethinkdb r rethinkdb.errors RqlDriverError RqlRuntimeError N/A logging N/A VALID_STATES N/A alerting pending in_maintenance suspended N/A cache N/A RedisCache host N/A N/A app config N/A REDIS_HOST port N/A N/A app config N/A REDIS_PORT default_timeout N/A N/A app config N/A CACHE_TTL N/A logger N/A N/A logging getLogger N/A N/A app config N/A LOG_NAME SignInForm N/A Form N/A N/A username N/A TextField validators N/A N/A Required N/A password N/A PasswordField validators N/A N/A Required N/A remember_me N/A BooleanField N/A _get_local_metrics N/A N/A N/A N/A N/A metrics N/A N/A mkeys N/A checks failing flapping pending qsize suspended N/A N/A N/A values N/A N/A rc mget mkeys N/A k mkeys N/A N/A N/A metrics N/A k N/A int N/A values N/A N/A N/A mkeys index k N/A metrics N/A N/A N/A Exception N/A err N/A N/A N/A N/A logger exception Error gathering metrics N/A None N/A _get_remote_checks N/A N/A clusterid state N/A N/A N/A endpoints N/A alerting pending suspended in_maintenance /checks/state/alerting /checks/state/pending /checks/state/suspended /checks/state/in_maintenance N/A target N/A N/A N/A N/A N/A app config N/A GLOBAL_CLUSTERS N/A clusterid N/A host N/A endpoints N/A state N/A headers N/A X-API-KEY N/A N/A N/A N/A app config N/A GLOBAL_CLUSTERS N/A clusterid N/A key N/A N/A N/A req N/A N/A urllib2 Request target headers headers N/A res N/A N/A urllib2 urlopen req timeout N/A N/A app config N/A REMOTE_TIMEOUT N/A N/A N/A json loads N/A N/A res read N/A N/A N/A Exception N/A err N/A N/A N/A N/A logger exception N/A Error grabbing checks for %s: %s N/A clusterid err N/A None N/A _get_remote_stats N/A N/A clusterid N/A N/A N/A target N/A N/A N/A N/A N/A app config N/A GLOBAL_CLUSTERS N/A clusterid N/A host /stats N/A headers N/A X-API-KEY N/A N/A N/A N/A app config N/A GLOBAL_CLUSTERS N/A clusterid N/A key N/A N/A N/A req N/A N/A urllib2 Request target headers headers N/A res N/A N/A urllib2 urlopen req timeout N/A N/A app config N/A REMOTE_TIMEOUT N/A N/A N/A N/A json loads N/A N/A res read N/A clusterid N/A N/A N/A Exception N/A err N/A N/A N/A N/A logger exception N/A Error grabbing stats for %s: %s N/A clusterid err N/A None N/A _get_users_theme N/A N/A username N/A N/A N/A q N/A N/A list N/A N/A N/A N/A N/A N/A N/A N/A r table users filter N/A username username pluck N/A theme True run N/A rdb conn N/A 0 N/A N/A N/A q get theme cerulean N/A _rand_start N/A N/A N/A N/A N/A Used to randomize the first check (and hopefully stagger
    checks on a single host) N/A N/A N/A time N/A randint 1 600 N/A _valid_registration N/A N/A content N/A N/A N/A fields N/A N/A hostname basestring N/A checks dict N/A roles list N/A field fields N/A N/A N/A N/A field N/A 0 content N/A N/A N/A N/A isinstance N/A content N/A N/A field N/A 0 N/A field N/A 1 N/A N/A False N/A N/A False N/A check N/A content N/A checks N/A N/A N/A N/A isinstance N/A N/A content N/A checks N/A check dict N/A N/A False N/A N/A interval N/A N/A content N/A checks N/A check N/A N/A False N/A N/A N/A isinstance N/A N/A N/A content N/A checks N/A check N/A interval int N/A N/A False N/A N/A N/A isinstance N/A N/A N/A content N/A checks N/A check N/A follow_up int N/A N/A False N/A N/A args N/A N/A content N/A checks N/A check N/A N/A False N/A N/A priority N/A N/A content N/A checks N/A check N/A N/A N/A N/A isinstance N/A N/A N/A content N/A checks N/A check N/A priority int N/A N/A False N/A N/A N/A isinstance N/A N/A N/A content N/A checks N/A check N/A args basestring N/A N/A False N/A True N/A register N/A N/A N/A N/A N/A N/A N/A N/A N/A request headers get X-REGISTER-KEY N/A N/A app config N/A REGISTER_KEY N/A N/A N/A abort 412 N/A N/A N/A request json N/A N/A N/A abort 400 N/A N/A N/A _valid_registration N/A request json N/A N/A N/A abort 400 N/A hid N/A N/A request json N/A hostname N/A checks N/A N/A request json N/A checks N/A roles N/A N/A request json N/A roles N/A ip_addr N/A N/A N/A request json get ip N/A request remote_addr N/A N/A ip_addr N/A N/A ip_addr N/A request remote_addr N/A N/A N/A pkey N/A genPrimaryKey64 N/A %s%s N/A hid ip_addr N/A q N/A N/A N/A N/A N/A N/A r table hosts insert N/A id hostname ip checks roles pkey hid ip_addr checks roles conflict update run N/A rdb conn N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table checks filter N/A hostname hid delete run N/A rdb conn N/A bulk_load N/A N/A i checks N/A N/A N/A N/A bulk_load append N/A id hostname ip check last next interval follow_up pending status in_maintenance suspended out priority N/A genPrimaryKey64 N/A %s%s%s N/A hid ip_addr i hid ip_addr i 0 N/A _rand_start N/A N/A checks N/A i N/A interval N/A N/A checks N/A i N/A follow_up False None False False N/A N/A N/A checks N/A i get priority 1 N/A q N/A N/A N/A N/A N/A N/A r table checks insert bulk_load conflict update run N/A rdb conn N/A N/A N/A Exception N/A err N/A N/A N/A N/A logger error err N/A N/A N/A jsonify N/A status error fail N/A str err 400 N/A N/A jsonify N/A status ok N/A N/A N/A app route /register methods N/A POST PUT users N/A N/A username N/A N/A N/A N/A username N/A N/A N/A N/A request method DELETE N/A N/A N/A abort 400 N/A N/A N/A session get username False N/A N/A username N/A N/A session get username N/A N/A N/A abort 400 N/A N/A N/A request method GET N/A N/A q N/A N/A list N/A N/A N/A N/A N/A N/A N/A N/A r table users filter N/A username username without hash run N/A rdb conn N/A 0 N/A q N/A N/A N/A theme q N/A N/A N/A q N/A theme cerulean N/A N/A jsonify q N/A N/A N/A abort 404 N/A N/A N/A N/A request method DELETE N/A N/A N/A jsonify N/A success N/A remove_user username N/A N/A N/A N/A request method POST N/A N/A fields N/A N/A N/A N/A request json N/A N/A N/A abort 400 N/A N/A theme N/A request json N/A N/A N/A N/A N/A request json N/A theme N/A N/A app config N/A THEMES N/A N/A N/A fields N/A theme N/A N/A request json N/A theme N/A N/A N/A abort 400 N/A N/A email N/A request json N/A N/A N/A fields N/A email N/A N/A request json N/A email N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table users filter N/A username username update fields run N/A rdb conn N/A N/A N/A q N/A replaced 0 N/A N/A N/A session N/A theme fields N/A N/A N/A session N/A theme N/A fields N/A theme N/A N/A jsonify N/A success True N/A N/A N/A jsonify N/A success False N/A N/A N/A app route /user/ defaults N/A username None N/A N/A app route /user/<username> methods N/A GET POST DELETE login_required hosts N/A N/A host N/A N/A N/A Delete a given host and all its checks N/A N/A host N/A N/A q N/A list N/A N/A N/A N/A N/A N/A r table hosts without id run N/A rdb conn N/A q N/A N/A q N/A hosts q N/A N/A N/A N/A request method DELETE N/A N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table checks filter N/A N/A N/A N/A r row N/A hostname host N/A N/A N/A r row N/A ip host delete run N/A rdb conn N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table hosts filter N/A N/A N/A N/A r row N/A hostname host N/A N/A N/A r row N/A ip host delete run N/A rdb conn N/A N/A jsonify N/A success True N/A N/A q N/A list N/A N/A N/A N/A N/A N/A N/A N/A r table hosts filter N/A N/A N/A N/A r row N/A hostname host N/A N/A N/A r row N/A ip host without id run N/A rdb conn N/A q N/A N/A N/A jsonify N/A q N/A 0 N/A N/A N/A abort 404 N/A N/A N/A app route /hosts/ defaults N/A host None N/A N/A app route /hosts/<host> methods N/A GET DELETE login_required checks N/A N/A host N/A N/A N/A Get all checks for a given hostname or ip N/A N/A host N/A N/A q N/A list N/A N/A N/A N/A r table checks run N/A rdb conn N/A N/A q N/A list N/A N/A N/A N/A N/A N/A r table checks filter N/A N/A N/A N/A r row N/A hostname host N/A N/A N/A r row N/A ip host run N/A rdb conn N/A q N/A N/A check q N/A N/A N/A check N/A id N/A str N/A check N/A id N/A N/A jsonify N/A checks q N/A N/A N/A abort 404 N/A N/A N/A app route /checks/ defaults N/A host None N/A N/A app route /checks/host/<host> login_required checks_by_id N/A N/A checkid N/A N/A N/A Get info for or delete a given check N/A N/A N/A request method GET N/A N/A check N/A N/A N/A N/A N/A N/A r table checks get checkid run N/A rdb conn N/A check N/A N/A N/A check N/A id N/A str N/A check N/A id N/A N/A jsonify N/A check check N/A N/A N/A abort 404 N/A N/A N/A N/A request method DELETE N/A N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table checks get checkid delete run N/A rdb conn N/A N/A N/A q N/A deleted 1 N/A N/A N/A jsonify N/A success True N/A N/A N/A jsonify N/A success False N/A N/A N/A app route /checks/id/<checkid> methods N/A GET DELETE login_required check_owner N/A N/A checkid N/A N/A N/A claim or unclaim a given check N/A N/A N/A request method GET N/A N/A check N/A N/A N/A N/A N/A N/A r table checks get checkid run N/A rdb conn N/A check N/A N/A N/A check N/A id N/A str N/A check N/A id N/A N/A jsonify N/A check check N/A N/A N/A abort 404 N/A N/A N/A N/A request method POST N/A N/A N/A N/A request json N/A N/A N/A abort 400 N/A N/A N/A N/A N/A N/A request json get owner N/A N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table checks get checkid update N/A owner N/A str N/A N/A request json N/A owner run N/A rdb conn N/A N/A N/A abort 400 N/A N/A N/A q N/A replaced 0 N/A N/A N/A jsonify N/A success True N/A N/A N/A abort 404 N/A N/A N/A Exception N/A err N/A N/A N/A N/A logger error err N/A N/A abort 400 N/A N/A N/A N/A request method DELETE N/A N/A N/A N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table checks get checkid update N/A owner run N/A rdb conn N/A N/A N/A q N/A replaced 0 N/A N/A N/A jsonify N/A success True N/A N/A N/A abort 404 N/A N/A N/A Exception N/A err N/A N/A N/A N/A logger error err N/A N/A abort 400 N/A N/A N/A app route /checks/id/<checkid>/owner methods N/A GET POST DELETE login_required check_next N/A N/A checkid N/A N/A N/A Reschedule a given check N/A N/A N/A request method GET N/A N/A check N/A N/A N/A N/A N/A N/A r table checks get checkid run N/A rdb conn N/A check N/A N/A N/A check N/A id N/A str N/A check N/A id N/A N/A jsonify N/A check check N/A N/A N/A abort 404 N/A N/A N/A N/A request method POST N/A N/A N/A N/A request json N/A N/A N/A abort 400 N/A N/A N/A N/A N/A N/A N/A request json get next N/A N/A N/A abort 400 N/A N/A N/A N/A N/A request json get next now N/A N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table checks get checkid update N/A next N/A N/A time 1 run N/A rdb conn N/A N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table checks get checkid update N/A next N/A int N/A N/A request json N/A next run N/A rdb conn N/A N/A N/A q N/A replaced 0 N/A N/A N/A jsonify N/A success True N/A N/A N/A abort 404 N/A N/A N/A Exception N/A err N/A N/A N/A N/A logger error err N/A N/A abort 400 N/A N/A N/A app route /checks/id/<checkid>/next methods N/A GET POST login_required check_suspended N/A N/A checkid N/A N/A N/A Suspend a given check N/A N/A N/A request method GET N/A N/A check N/A N/A N/A N/A N/A N/A r table checks get checkid run N/A rdb conn N/A check N/A N/A N/A check N/A id N/A str N/A check N/A id N/A N/A jsonify N/A check check N/A N/A N/A abort 404 N/A N/A N/A N/A request method POST N/A N/A N/A N/A request json N/A N/A N/A abort 400 N/A N/A N/A N/A N/A N/A N/A request json get suspended N/A N/A N/A abort 400 N/A N/A N/A N/A N/A request json get suspended True N/A N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table checks get checkid update N/A suspended True run N/A rdb conn N/A N/A N/A N/A N/A N/A request json get suspended False N/A N/A q N/A N/A N/A N/A N/A N/A N/A N/A r table checks get checkid update N/A suspended False run N/A rdb conn N/A N/A N/A abort 400 N/A N/A N/A q N/A replaced 0 N/A N/A N/A jsonify N/A success True N/A N/A N/A abort 404 N/A N/A N/A Exception N/A err N/A N/A N/A N/A logger error err N/A N/A abort 400 N/A N/A N/A app route /checks/id/<checkid>/suspended methods N/A GET POST login_required check_state N/A N/A state N/A N/A N/A List of checks in cluster in a given state [alerting/pending/suspended] N/A N/A state alerting N/A N/A q N/A list N/A N/A N/A N/A N/A N/A r table checks get_all False index status run N/A rdb conn N/A q N/A N/A N/A jsonify N/A alerting q N/A N/A N/A jsonify N/A alerting N/A N/A N/A N/A state pending N/A N/A q N/A list N/A N/A N/A N/A N/A N/A r table checks get_all True index pending run N/A rdb conn N/A q N/A N/A N/A jsonify N/A pending q N/A N/A N/A jsonify N/A pending N/A N/A N/A N/A state in_maintenance N/A N/A q N/A list N/A N/A N/A N/A N/A N/A r table checks get_all True index in_maintenance run N/A rdb conn N/A q N/A N/A N/A jsonify N/A in_maintenance q N/A N/A N/A jsonify N/A in_maintenance N/A N/A N/A N/A state suspended N/A N/A q N/A list N/A N/A N/A N/A N/A N/A r table checks get_all True index suspended run N/A rdb conn N/A q N/A N/A N/A jsonify N/A suspended q N/A N/A N/A jsonify N/A suspended N/A N/A N/A N/A abort 400 N/A N/A N/A app route /checks/state/<state> login_required state_log_by_check N/A N/A hostname checkname N/A N/A N/A Get check history for a given check on a given host N/A N/A N/A request method GET N/A N/A N/A N/A limit N/A N/A N/A request args get limit 10 type int N/A N/A N/A ValueError N/A N/A N/A abort 400 N/A log N/A list N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A r table state_log filter N/A hostname check hostname checkname order_by N/A N/A r desc last limit limit run N/A rdb conn N/A log N/A N/A N/A jsonify N/A state_log N/A sorted log key N/A N/A N/A k N/A N/A k N/A last N/A N/A N/A abort 404 N/A N/A N/A abort 400 N/A N/A N/A app route /state_log/<hostname>/<checkname> methods N/A GET login_required list_notes N/A N/A hostname N/A N/A N/A Retrieve a list of notes associated with a host. Or given
      {'user': 'username', 'note': 'some message'} post a note. N/A N/A N/A request method GET N/A N/A N/A N/A limit N/A N/A N/A request args get limit 50 type int N/A N/A N/A ValueError N/A N/A N/A abort 400 N/A notes N/A list N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A r table notes filter N/A hostname hostname order_by N/A N/A r desc ts limit limit run N/A rdb conn N/A notes N/A N/A N/A jsonify N/A notes N/A sorted notes key N/A N/A N/A k N/A N/A k N/A ts N/A N/A N/A abort 404 N/A N/A N/A N/A request method POST N/A N/A N/A N/A request json N/A N/A N/A abort 400 N/A N/A N/A N/A N/A N/A request json get user N/A N/A N/A N/A request json get note N/A N/A N/A abort 400 N/A N/A N/A N/A N/A N/A N/A N/A r table hosts get_all hostname index hostname run N/A rdb conn N/A N/A N/A abort 404 N/A alerting N/A N/A x N/A check N/A x N/A N/A N/A N/A N/A N/A r table checks filter N/A h stname status hostname False run N/A rdb conn N/A q N/A N/A N/A N/A N/A N/A r table notes insert N/A hostname user note ts alerting hostname N/A N/A N/A request json get user N/A N/A N/A request json get note N/A time alerting run N/A rdb conn N/A N/A N/A q N/A inserted 1 N/A N/A N/A jsonify N/A success True N/A N/A N/A N/A logger error q N/A N/A abort 500 N/A N/A N/A abort 400 N/A N/A N/A app route /notes/<hostname> methods N/A GET POST login_required global_clusters N/A N/A N/A N/A N/A List of known clusters and their id N/A N/A jsonify N/A clusters N/A N/A app config N/A GLOBAL_CLUSTERS N/A N/A N/A app route /global/clusters login_required global_check_state N/A N/A clusterid state N/A N/A N/A Get a list of all checks in provided state for a given cluster N/A N/A clusterid N/A N/A app config N/A GLOBAL_CLUSTERS N/A N/A N/A abort 400 N/A N/A state VALID_STATES N/A N/A ckey N/A %s:%s N/A clusterid state N/A cached N/A N/A cache get ckey N/A cached N/A N/A N/A jsonify N/A clusterid cached N/A N/A q N/A _get_remote_checks clusterid state N/A q N/A N/A N/A N/A cache set ckey q N/A N/A jsonify N/A clusterid q N/A N/A N/A abort 500 N/A N/A N/A abort 400 N/A N/A N/A app route /global/<clusterid>/checks/state/<state> login_required stalker_stats N/A N/A clusterid N/A N/A N/A Obtain stats for this cluster or one with a given clusterid N/A default N/A qsize failing flapping suspended checks pending None None None None None None N/A N/A clusterid N/A N/A q N/A _get_local_metrics N/A q N/A N/A N/A jsonify N/A N/A N/A app config N/A LOCAL_CID q N/A N/A N/A jsonify N/A N/A N/A app config N/A LOCAL_CID default N/A N/A N/A clusterid N/A N/A app config N/A GLOBAL_CLUSTERS N/A N/A ckey N/A %s:%s N/A clusterid stats N/A cached N/A N/A cache get ckey N/A cached N/A N/A N/A jsonify N/A clusterid cached N/A N/A q N/A _get_remote_stats clusterid N/A q N/A N/A N/A N/A cache set ckey q N/A N/A jsonify N/A clusterid q N/A N/A N/A jsonify N/A clusterid default N/A N/A N/A clusterid all N/A N/A q N/A N/A N/A q N/A N/A N/A app config N/A LOCAL_CID N/A _get_local_metrics N/A cid N/A N/A N/A N/A app config N/A GLOBAL_CLUSTERS keys N/A N/A ckey N/A %s:%s N/A cid stats N/A cached N/A N/A cache get ckey N/A cached N/A N/A N/A q N/A cid cached N/A N/A N/A q N/A cid N/A _get_remote_stats cid N/A N/A N/A q N/A cid N/A N/A N/A q N/A cid default N/A N/A N/A cache set ckey N/A q N/A cid N/A N/A jsonify N/A all q N/A N/A N/A abort 404 N/A N/A N/A app route /stats defaults N/A clusterid None N/A N/A app route /stats/<clusterid> login_required findhost N/A N/A N/A N/A N/A Just used for the type ahead N/A N/A N/A N/A N/A request args get q N/A N/A N/A abort 400 N/A result N/A N/A i N/A N/A N/A N/A N/A N/A N/A N/A r table hosts filter N/A N/A N/A N/A N/A r row N/A hostname match N/A ^%s N/A N/A N/A request args get q N/A N/A N/A N/A r row N/A ip match N/A ^%s N/A N/A N/A request args get q pluck N/A hostname ip True True run N/A rdb conn N/A N/A N/A N/A N/A i N/A hostname startswith N/A N/A N/A request args get q N/A N/A N/A N/A result append N/A i N/A hostname N/A N/A N/A N/A result append N/A i N/A ip N/A N/A N/A , join result N/A N/A N/A app route /findhost login_required index N/A N/A N/A N/A N/A N/A render_template states.html state alerting N/A N/A N/A app route / login_required view_states N/A N/A state N/A N/A N/A state N/A N/A N/A state VALID_STATES N/A N/A N/A render_template states.html state state N/A N/A N/A abort 404 N/A N/A N/A render_template states.html state alerting N/A N/A N/A app route /view/states defaults N/A state None N/A N/A app route /view/states/<state> login_required view_checks N/A N/A N/A N/A N/A N/A render_template allchecks.html N/A N/A N/A app route /view/checks login_required view_single_host N/A N/A hostname N/A N/A N/A N/A N/A N/A request args get search N/A N/A hostname N/A N/A N/A request args get search N/A N/A hostname N/A N/A N/A abort 404 N/A N/A N/A render_template host.html target hostname N/A N/A N/A app route /view/host/ defaults N/A hostname None N/A N/A app route /view/host/<hostname> login_required view_user N/A N/A username N/A N/A N/A N/A render_template user.html N/A N/A N/A app route /view/user/<username> login_required view_global N/A N/A state N/A N/A N/A Global view of provided state [alerting/pending/suspended] N/A state N/A N/A N/A state VALID_STATES N/A N/A N/A render_template globalstates.html state state N/A N/A N/A abort 404 N/A N/A N/A render_template globalstates.html state alerting N/A N/A N/A app route /global/view/states defaults N/A state None N/A N/A app route /global/view/states/<state>/ login_required signout N/A N/A N/A N/A N/A Sign out N/A N/A N/A session pop logged_in None N/A N/A render_template signout.html N/A N/A N/A app route /signout signin N/A N/A N/A N/A N/A Sign in N/A form N/A SignInForm N/A N/A N/A form validate_on_submit N/A N/A username N/A N/A N/A N/A form username data strip N/A password N/A N/A N/A N/A form password data strip N/A N/A is_valid_login username password N/A N/A N/A session N/A theme N/A _get_users_theme username N/A N/A session N/A logged_in True N/A N/A session N/A username username N/A N/A N/A form remember_me data N/A N/A N/A session permanent True N/A N/A N/A session permanent False N/A N/A N/A N/A N/A request args get next signin N/A N/A N/A redirect / N/A N/A N/A redirect N/A N/A N/A N/A request args get next N/A request referrer / N/A N/A N/A render_template signin.html form form error Failed N/A N/A render_template signin.html form form error None N/A N/A N/A app route /signin methods N/A GET POST page_not_found N/A N/A e N/A N/A N/A N/A N/A render_template 404.html 404 N/A N/A N/A app errorhandler 404 help N/A N/A N/A N/A N/A Show endpoints N/A func_list N/A N/A rule N/A N/A N/A app url_map iter_rules N/A N/A N/A N/A rule endpoint static N/A N/A N/A func_list N/A N/A rule rule N/A N/A N/A app view_functions N/A N/A rule endpoint __doc__ N/A N/A jsonify func_list N/A N/A N/A app route /routes/list methods N/A GET login_required N/A N/A __name__ __main__ N/A N/A debug True N/A N/A N/A app run host 0.0.0.0 debug debug