Module Expr Str Assign NameStore ListLoad Str Str Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias alias alias Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Str Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call NameLoad SubscriptLoad NameLoad Index Str Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad NameLoad keyword NameLoad If UnaryOpNot CompareIn NameLoad Str body Raise Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list For NameStore NameLoad body Expr Call NameLoad NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad Call NameLoad NameLoad BinOpAdd NameLoad Call NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Dict Str ListLoad For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Str Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad NameLoad Call NameLoad ListComp TupleLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad GeneratorExp Call NameLoad SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list Assign NameStore BinOpMod Str NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Str Str Raise Call AttributeLoad NameLoad attr Dict Str ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr Num Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad body Raise Call NameLoad NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If CompareEq NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr Num Str Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Num Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad BoolOpOr NameLoad AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Str SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad SetComp NameLoad comprehension NameStore NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore ListComp IfExp CompareIsNot NameLoad NameLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Call NameLoad NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad NameLoad attr Str Str Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Yield ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIsNot NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore Yield ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad NameLoad Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Dict Str ListLoad Assign NameStore Num For TupleStore NameStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad body Assign NameStore ListLoad If Call AttributeLoad NameLoad attr Str NameLoad body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore IfExp CompareIsNot NameLoad NameLoad Call AttributeLoad NameLoad attr Num NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad If NameLoad body Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore Dict Str SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str NameLoad body Assign SubscriptStore NameLoad Index Str ListComp Call NameLoad NameLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore NameStore NameLoad If CompareGt Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr AugAssignAdd NameStore Call NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Expr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Str keyword NameLoad Assign NameStore IfExp CompareGt Call NameLoad NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Yield ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Dict Str ListComp Call NameLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad NameLoad attr Str Str Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore IfExp CompareIn Str NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str Num NameLoad If CompareGt NameLoad Num body Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad While NameLoad body Assign NameStore Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad If BoolOpOr CompareGt Call NameLoad NameLoad Num CompareIs NameLoad NameLoad body Break Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd NameLoad NameLoad If CompareGtE NameLoad NameLoad body Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIsNot AttributeLoad NameLoad attr NameLoad TryExcept body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Assert Call AttributeLoad AttributeLoad NameLoad attr attr Break Assign NameStore ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Dict Str ListLoad If CompareGt Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr For NameStore NameLoad body Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad If BoolOpOr CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr Str Dict Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore Call AttributeLoad NameLoad attr Str Dict Index Str NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad If CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num body FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list Assign TupleStore NameStore NameStore NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad NameLoad If CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign SubscriptStore Call AttributeLoad NameLoad attr Str Dict Index Str Dict Str NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareLt SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Dict Str ListLoad orelse Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Yield ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str keyword IfExp CompareIsNot NameLoad NameLoad Call NameLoad NameLoad NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Yield NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Yield NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Yield NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Yield NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Assign NameStore Yield ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Call NameLoad Call NameLoad Call NameLoad Call NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore Dict Str AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad body Assign TupleStore NameStore NameStore NameLoad Assign SubscriptStore NameLoad Index Str ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str NameLoad body Assign TupleStore NameStore NameStore NameLoad Assign SubscriptStore NameLoad Index Str ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad AugAssignAdd NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Assign TupleStore NameStore NameStore NameLoad Assign SubscriptStore NameLoad Index Str ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad AugAssignAdd NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Assign TupleStore NameStore NameStore NameLoad Assign SubscriptStore NameLoad Index Str ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad AugAssignAdd NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad Dict Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad Str CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Call NameLoad NameLoad Str Return If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Raise Call AttributeLoad NameLoad attr Num Str If CompareEq NameLoad Str body Assign NameStore Dict Str Str Str SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Call NameLoad NameLoad NameLoad orelse Expr Call NameLoad Dict Str Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad GeneratorExp Call NameLoad SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Yield NameLoad Assign NameStore ListLoad For NameStore NameLoad body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Yield NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad body Assign NameStore Dict Str NameLoad If CompareIsNot NameLoad NameLoad body Assert BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise Call AttributeLoad NameLoad attr Dict Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore Num For NameStore NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str AugAssignAdd NameStore Call NameLoad SubscriptLoad NameLoad Index Str Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Num For NameStore SubscriptLoad NameLoad Index Str body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str AugAssignAdd NameStore Call NameLoad SubscriptLoad NameLoad Index Str Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Num For NameStore SubscriptLoad NameLoad Index Str body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str AugAssignAdd NameStore Call NameLoad SubscriptLoad NameLoad Index Str Expr Call NameLoad SubscriptLoad NameLoad Index Str Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str SubscriptLoad NameLoad Index Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpMod Str NameLoad Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Str Str If UnaryOpNot Call NameLoad ListComp BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad ListComp Call NameLoad SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd Call AttributeLoad NameLoad attr Str CompareNotEq SubscriptLoad NameLoad Index Str NameLoad body Raise Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad If CompareGtE SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad Num SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad GeneratorExp CompareIn NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad orelse If Call NameLoad GeneratorExp CompareIn NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad orelse Raise Call AttributeLoad NameLoad attr Num BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotEq NameLoad Call AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise Call AttributeLoad NameLoad attr Dict Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str NameLoad keyword Call AttributeLoad NameLoad attr Str Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Raise Call NameLoad BinOpMod Str BinOpAdd AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Assert CompareEq AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad Expr Yield ListLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str SubscriptLoad NameLoad Index Str decorator_list AttributeLoad NameLoad attr Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Yield ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str NameLoad ListComp Dict Str Str Str Str Str SubscriptLoad NameLoad Index Str Call NameLoad NameLoad NameLoad Str Str Call NameLoad NameLoad NameLoad Str Str Call NameLoad NameLoad NameLoad Str Str Call NameLoad NameLoad NameLoad Str Str comprehension NameStore SubscriptLoad NameLoad Index Str Raise Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str For NameStore NameLoad body If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr body Return NameLoad If BoolOpOr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad ListLoad 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 Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd NameLoad NameLoad decorator_list decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Num Return Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Return Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr UnaryOpNot AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Num Str TryExcept body Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad keyword AttributeLoad NameLoad attr If BoolOpAnd CompareEq NameLoad Str CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Yield Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Yield Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Raise Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad AttributeLoad NameLoad attr decorator_list
N/A N/A Handler for Viewfinder service RPCs.

  - ServiceHandler: web request handler for REST API.
 N/A __authors__ N/A spencer@emailscrubbed.com (Spencer Kimball) andy@emailscrubbed.com (Andy Kimball) N/A base64 N/A logging N/A json N/A time N/A toro N/A validictory copy deepcopy functools partial tornado gen web tornado.ioloop IOLoop viewfinder.backend.base constants counters handler secrets util viewfinder.backend.base.message Message MIN_SUPPORTED_MESSAGE_VERSION MAX_SUPPORTED_MESSAGE_VERSION viewfinder.backend.base.message REQUIRED_MIGRATORS INLINE_INVALIDATIONS INLINE_COMMENTS viewfinder.backend.base.message EXTRACT_FILE_SIZES EXTRACT_ASSET_KEYS SPLIT_NAMES EXPLICIT_SHARE_ORDER viewfinder.backend.base.message SUPPRESS_BLANK_COVER_PHOTO SUPPORT_MULTIPLE_IDENTITIES_PER_CONTACT viewfinder.backend.base.message RENAME_PHOTO_LABEL SUPPORT_REMOVED_FOLLOWERS SUPPRESS_COPY_TIMESTAMP viewfinder.backend.base.message SUPPORT_CONTACT_LIMITS SUPPRESS_EMPTY_TITLE viewfinder.backend.base.exceptions InvalidRequestError PermissionError viewfinder.backend.db db_client viewfinder.backend.db.accounting Accounting viewfinder.backend.db.activity Activity viewfinder.backend.db.asset_id IdPrefix viewfinder.backend.db.comment Comment viewfinder.backend.db.client_log ClientLog viewfinder.backend.db.contact Contact viewfinder.backend.db.episode Episode viewfinder.backend.db.followed Followed viewfinder.backend.db.follower Follower viewfinder.backend.db.identity Identity viewfinder.backend.db.operation Operation viewfinder.backend.db.photo Photo viewfinder.backend.db.post Post viewfinder.backend.db.subscription Subscription viewfinder.backend.db.user User viewfinder.backend.db.user_photo UserPhoto viewfinder.backend.db.user_post UserPost viewfinder.backend.db.viewpoint Viewpoint viewfinder.backend.op.notification_manager NotificationManager viewfinder.backend.resources.calendar Calendar viewfinder.backend.resources.message.error_messages INVALID_JSON_REQUEST MERGE_COOKIE_NOT_CONFIRMED viewfinder.backend.resources.message.error_messages MISSING_MERGE_SOURCE UNSUPPORTED_ASSET_TYPE viewfinder.backend.resources.message.error_messages UPDATE_PWD_NOT_CONFIRMED IDENTITY_NOT_CANONICAL viewfinder.backend.services.itunes_store ITunesStoreClient VerifyResponse viewfinder.backend.www base json_schema password_util photo_store www_util N/A _avg_req_time N/A N/A counters define_average viewfinder.service.avg_req_time Average seconds per client request. N/A _req_per_min N/A N/A counters define_rate viewfinder.service.req_per_min Average # of client requests per minute. 60 N/A _fail_per_min N/A N/A counters define_rate viewfinder.service.fail_per_min Average # of failed client requests per minute. 60 AddFollowers N/A N/A client obj_store user_id device_id request N/A N/A N/A Add resolved contacts as followers of an existing viewpoint. N/A N/A request N/A user_id user_id N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A N/A _ValidateContacts N/A request N/A contacts N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id AddFollowersOperation.Execute request N/A N/A N/A logging info N/A ADD FOLLOWERS: user: %d, device: %d, %d contacts N/A user_id device_id N/A len N/A request N/A contacts N/A N/A N/A gen Return N/A N/A N/A gen coroutine AllocateIds N/A N/A client obj_store user_id device_id request N/A N/A N/A Allocates an asset id for the current device.  The request should include the asset id prefix
  for the requested type.  Currently, only comment, activity and operation ids are supported.
   N/A prefixes N/A request N/A asset_types N/A timestamp N/A N/A util GetCurrentTimestamp ValidateId N/A N/A prefix N/A N/A N/A Validate a single requested Id N/A N/A N/A N/A IdPrefix IsValid prefix N/A N/A N/A InvalidRequestError UNSUPPORTED_ASSET_TYPE asset_type prefix N/A N/A N/A prefix acop N/A N/A N/A InvalidRequestError UNSUPPORTED_ASSET_TYPE asset_type N/A N/A IdPrefix GetAssetName prefix N/A ConstructId N/A N/A prefix uniquifier N/A N/A N/A N/A prefix a N/A N/A asset_id N/A N/A Activity ConstructActivityId timestamp device_id uniquifier N/A N/A N/A prefix c N/A N/A asset_id N/A N/A Comment ConstructCommentId timestamp device_id uniquifier N/A N/A N/A prefix p N/A N/A asset_id N/A N/A Photo ConstructPhotoId timestamp device_id uniquifier N/A N/A asset_id N/A N/A Operation ConstructOperationId device_id uniquifier N/A asset_id N/A N/A prefix prefixes N/A N/A N/A ValidateId prefix N/A unique_start N/A N/A N/A gen Task N/A User AllocateAssetIds client user_id N/A len prefixes N/A asset_ids N/A N/A ConstructId p u N/A N/A p u N/A zip prefixes N/A range unique_start N/A unique_start N/A len prefixes N/A N/A N/A gen Return N/A asset_ids timestamp asset_ids timestamp N/A N/A gen coroutine BuildArchive N/A N/A client obj_store user_id device_id request N/A N/A N/A Request the service to build a zip file of all of a users conversations and associated photos.
  Once the zip has been stored to S3, an email will be mailed to the user with a signed S3 url which
  will expire after 24 hours.
   N/A N/A request N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client 0 device_id BuildArchiveOperation.Execute request N/A N/A N/A logging info N/A BUILD ARCHIVE: user: %d, device: %d N/A user_id device_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine GetCalendar N/A N/A client obj_store user_id device_id request callback N/A N/A N/A Queries calendar(s) for the user for the specified year. _OnQueryUser N/A N/A user N/A N/A N/A calendars N/A request N/A calendars N/A response N/A calendars N/A N/A cal calendars N/A N/A N/A N/A cal N/A calendar_id holidays N/A N/A cal_data N/A N/A Calendar GetHolidaysByLocale N/A user locale N/A N/A cal_data N/A N/A Calendar GetCalendar N/A cal N/A calendar_id N/A N/A N/A N/A response N/A calendars append N/A calendar_id year events N/A cal_data calendar_id N/A cal N/A year N/A N/A cal_data GetEvents year N/A cal N/A year N/A N/A N/A logging info N/A GET CALENDAR: user: %d, device: %d, %d calendars, event counts: %s N/A user_id device_id N/A len calendars N/A dict N/A N/A N/A c N/A calendar_id N/A len N/A c N/A events N/A c N/A response N/A calendars N/A N/A callback response N/A N/A N/A N/A User Query client user_id None _OnQueryUser N/A HidePhotos N/A N/A client obj_store user_id device_id request N/A N/A N/A Hides photos from a user's personal library and inbox view. To be more precise, *posts*
  are marked as removed. This means that if a photo has been shared with a user multiple times,
  every instance of that photo (i.e. post) should be marked as hidden.
   N/A N/A request N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id HidePhotosOperation.Execute request N/A num_photos N/A sum N/A N/A len N/A ep_dict N/A photo_ids N/A ep_dict N/A request N/A episodes N/A N/A N/A logging info N/A HIDE PHOTOS: user: %d, device: %d, %d photos N/A user_id device_id num_photos N/A N/A N/A gen Return N/A N/A N/A gen coroutine ListIdentities N/A N/A client obj_store user_id device_id request N/A N/A N/A Returns a list of identities linked to this account. _MakeIdentityDict N/A N/A ident N/A N/A N/A i_dict N/A identity N/A ident key N/A N/A N/A ident authority None N/A N/A N/A i_dict N/A authority N/A ident authority N/A i_dict N/A N/A query_expr N/A identity.user_id=%d user_id N/A identities N/A N/A N/A gen Task N/A Identity IndexQuery client query_expr N/A key authority N/A N/A N/A gen Return N/A identities N/A N/A _MakeIdentityDict ident N/A ident identities N/A N/A gen coroutine MergeAccounts N/A N/A client obj_store user_id device_id request N/A N/A N/A Merges assets from the user account given in the request into the account of the current
  user.
   N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A source_user_cookie N/A N/A request pop source_user_cookie None N/A N/A source_user_cookie None N/A N/A merge_cookie N/A N/A web decode_signed_value N/A N/A secrets GetSecret cookie_secret N/A base _USER_COOKIE_NAME source_user_cookie N/A base _USER_COOKIE_EXPIRES_DAYS N/A N/A merge_cookie None N/A N/A N/A N/A web HTTPError 403 The source_user_cookie value is not valid. N/A source_user_dict N/A N/A json loads merge_cookie N/A source_user_id N/A source_user_dict N/A user_id N/A N/A N/A N/A www_util IsConfirmedCookie N/A N/A source_user_dict get confirm_time None N/A N/A N/A PermissionError MERGE_COOKIE_NOT_CONFIRMED user_id source_user_id N/A N/A source_identity_dict N/A N/A request pop source_identity None N/A N/A source_identity_dict None N/A N/A N/A InvalidRequestError MISSING_MERGE_SOURCE N/A identity N/A N/A N/A Identity VerifyConfirmedIdentity client N/A source_identity_dict N/A identity N/A source_identity_dict N/A access_token N/A source_user_id N/A identity user_id N/A N/A source_user_id None N/A N/A N/A source_user_id user_id N/A N/A N/A N/A web HTTPError 400 Cannot merge a user account into itself. N/A source_user N/A N/A N/A gen Task N/A User Query client source_user_id None N/A N/A N/A source_user IsTerminated N/A N/A N/A N/A web HTTPError 400 Cannot merge a terminated user account. N/A N/A request N/A source_user_id source_user_id N/A N/A request N/A target_user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id MergeAccountsOperation.Execute request N/A N/A N/A N/A request pop activity N/A N/A request N/A source_identity_key N/A identity key N/A N/A request N/A target_user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id LinkIdentityOperation.Execute request N/A N/A N/A logging info N/A MERGE ACCOUNTS: user: %d, device: %d, source: %s N/A user_id device_id N/A source_user_id N/A identity key N/A N/A N/A gen Return N/A N/A N/A gen coroutine NewClientLogUrl N/A N/A client obj_store user_id device_id request callback N/A N/A N/A Gets an S3 PUT URL for clients to write mobile device logs. N/A kwargs N/A user_id device_id timestamp client_log_id user_id device_id N/A request N/A timestamp N/A request N/A client_log_id N/A N/A content_type request N/A N/A N/A kwargs N/A content_type N/A request N/A content_type N/A N/A content_md5 request N/A N/A N/A kwargs N/A content_md5 N/A request N/A content_md5 N/A N/A num_bytes request N/A N/A N/A kwargs N/A max_bytes N/A request N/A num_bytes N/A N/A N/A logging info N/A GET NEW CLIENT LOG URL: user: %d, device: %d, client log id: %s N/A user_id device_id N/A request N/A client_log_id N/A response N/A client_log_put_url N/A N/A ClientLog GetPutUrl kwargs N/A N/A callback response N/A OldRemovePhotos N/A N/A client obj_store user_id device_id request N/A N/A N/A Used by older clients to remove photos from showing in a user's personal library. Unlike
  the new remove_photos, photos can be removed from shared viewpoints as well as the default
  viewpoint. Photos are hidden in shared viewpoints, and removed from the default viewpoint.
   N/A remove_episodes N/A N/A hide_episodes N/A N/A ep_dict N/A request N/A episodes N/A N/A episode N/A N/A N/A gen Task N/A Episode Query client N/A ep_dict N/A episode_id None must_exist False N/A N/A N/A episode None N/A N/A episode viewpoint_id N/A N/A N/A N/A N/A base ViewfinderContext current user private_vp_id N/A N/A N/A N/A remove_episodes append ep_dict N/A N/A N/A N/A hide_episodes append ep_dict N/A hide_request N/A deepcopy request N/A N/A N/A len hide_episodes 0 N/A N/A N/A hide_request N/A episodes hide_episodes N/A N/A N/A HidePhotos client obj_store user_id device_id hide_request N/A remove_request N/A deepcopy request N/A N/A remove_request N/A episodes remove_episodes N/A N/A N/A RemovePhotos client obj_store user_id device_id remove_request N/A N/A N/A gen Return N/A N/A N/A gen coroutine PostComment N/A N/A client obj_store user_id device_id request N/A N/A N/A Adds a new comment to an existing viewpoint. N/A headers N/A N/A request pop headers N/A activity N/A N/A request pop activity N/A viewpoint_id N/A request N/A viewpoint_id N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A activity N/A activity_id N/A N/A N/A N/A Comment VerifyCommentId client user_id device_id N/A request N/A comment_id N/A request N/A headers user_id activity comment headers user_id activity request N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id PostCommentOperation.Execute request N/A N/A N/A logging info N/A POST COMMENT: user: %d, device: %d, viewpoint: %s N/A user_id device_id viewpoint_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine QueryContacts N/A N/A client obj_store user_id device_id request N/A N/A N/A Queries contacts for the current user.
  Note: This does not remove duplicate contact entries.  This isn't practical because multiple
  contacts with the same contact_id may be present across multiple range query results.  Multiple
  contacts with the same contact_id should be very uncommon, but are possible.  Because older
  contact rows are returned first, the client may assume the last contact with the same contact_id
  is the correct one. _MakeContactDict N/A N/A contact N/A N/A N/A Makes a dict for JSON output from the contact. N/A c_dict N/A contact_id contact_source N/A contact contact_id N/A contact contact_source N/A N/A N/A util SetIfNotNone c_dict name N/A contact name N/A N/A N/A util SetIfNotNone c_dict given_name N/A contact given_name N/A N/A N/A util SetIfNotNone c_dict family_name N/A contact family_name N/A N/A N/A util SetIfNotNone c_dict rank N/A contact rank N/A N/A N/A N/A contact labels None N/A N/A len N/A contact labels 0 N/A N/A N/A c_dict N/A labels N/A list N/A contact labels N/A identities_list N/A N/A N/A N/A contact identities_properties None N/A N/A identity_properties N/A contact identities_properties N/A N/A identity_key N/A identity_properties N/A 0 N/A identity_dict N/A identity identity_key N/A N/A N/A util SetIfNotNone identity_dict description N/A identity_properties N/A 1 N/A N/A N/A util SetIfNotNone identity_dict user_id N/A identity_key_to_user_id_map N/A N/A N/A Identity Canonicalize identity_key N/A N/A N/A identities_list append identity_dict N/A N/A c_dict N/A identities identities_list N/A c_dict N/A N/A start_key N/A N/A request get start_key None N/A limit N/A N/A request get limit None N/A contacts N/A N/A N/A gen Task N/A Contact RangeQuery client hash_key user_id range_desc None limit limit col_names None excl_start_key start_key scan_forward True N/A identity_keys N/A list N/A identity N/A co contacts N/A identity N/A co identities N/A identity_dbkeys N/A N/A N/A db_client DBKey identity_key None N/A identity_key identity_keys N/A identities N/A N/A N/A gen Task N/A Identity BatchQuery client identity_dbkeys None must_exist False N/A user_ids N/A N/A N/A identity None N/A identity user_id None N/A identity identities N/A identity_key_to_user_id_map N/A dict N/A zip identity_keys user_ids N/A response N/A num_contacts contacts N/A len contacts N/A N/A _MakeContactDict co N/A co contacts N/A contacts N/A N/A N/A response N/A last_key N/A N/A contacts N/A -1 sort_key N/A N/A N/A logging info N/A QUERY CONTACTS: user: %d, device: %d, %d contacts, start key %s, last key %s N/A user_id device_id N/A response N/A num_contacts start_key N/A N/A response get last_key None N/A N/A N/A gen Return response N/A N/A gen coroutine QueryEpisodes N/A N/A client obj_store user_id device_id request callback N/A N/A N/A Queries posts from the specified episodes.
   _MakePhotoDict N/A N/A post photo user_post user_photo N/A N/A N/A ph_dict N/A N/A photo MakeMetadataDict post user_post user_photo N/A N/A N/A N/A post IsRemoved N/A N/A N/A _AddPhotoUrls obj_store ph_dict N/A ph_dict N/A N/A limit N/A N/A request get photo_limit None N/A episode_keys N/A N/A N/A db_client DBKey N/A ep_dict N/A episode_id None N/A ep_dict N/A request N/A episodes N/A post_tasks N/A N/A ep_dict N/A request N/A episodes N/A N/A N/A N/A ep_dict get get_photos False N/A N/A N/A N/A post_tasks append N/A N/A gen Task N/A Post RangeQuery client N/A ep_dict N/A episode_id None limit None excl_start_key N/A N/A ep_dict get photo_start_key None N/A N/A N/A N/A post_tasks append N/A N/A util GenConstant None N/A N/A episodes posts_list N/A N/A N/A N/A gen Task N/A Episode BatchQuery client episode_keys None must_exist False N/A N/A gen Multi post_tasks N/A viewpoint_keys N/A N/A N/A db_client DBKey viewpoint_id None N/A viewpoint_id N/A set N/A N/A ep viewpoint_id N/A ep episodes N/A ep None N/A follower_keys N/A N/A N/A db_client DBKey user_id N/A db_key hash_key N/A db_key viewpoint_keys N/A all_posts N/A post N/A posts posts_list N/A posts None N/A post posts N/A photo_keys N/A N/A N/A db_client DBKey N/A post photo_id None N/A post all_posts N/A user_post_keys N/A N/A N/A db_client DBKey user_id N/A N/A Post ConstructPostId N/A post episode_id N/A post photo_id N/A post all_posts N/A user_id N/A N/A user_photo_task N/A N/A gen Task N/A UserPhoto BatchQuery client N/A N/A N/A db_client DBKey user_id N/A post photo_id N/A post all_posts None must_exist False N/A N/A user_photo_task N/A N/A util GenConstant None N/A N/A viewpoints followers photos user_posts user_photos N/A N/A N/A N/A gen Task N/A Viewpoint BatchQuery client viewpoint_keys None must_exist False N/A N/A gen Task N/A Follower BatchQuery client follower_keys None must_exist False N/A N/A gen Task N/A Photo BatchQuery client photo_keys None N/A N/A gen Task N/A UserPost BatchQuery client user_post_keys None must_exist False user_photo_task N/A viewable_viewpoint_ids N/A set N/A N/A viewpoint viewpoint_id N/A N/A viewpoint follower N/A zip viewpoints followers N/A _CanViewViewpointContent viewpoint follower N/A response_dict N/A episodes N/A N/A num_photos 0 N/A N/A ep_dict episode posts N/A zip N/A request N/A episodes episodes posts_list N/A N/A photo_info_list N/A N/A N/A N/A ep_dict get get_photos False N/A N/A post posts N/A N/A photo N/A N/A photos pop 0 N/A user_post N/A N/A user_posts pop 0 N/A user_photo N/A N/A user_photos None N/A N/A user_photos pop 0 None N/A N/A N/A photo photo_id N/A post photo_id N/A episode post photo N/A user_photo N/A N/A N/A N/A user_photo photo_id N/A photo photo_id N/A N/A N/A user_photo user_id user_id N/A N/A N/A photo_info_list append N/A post photo user_post user_photo N/A N/A N/A episode None N/A N/A episode viewpoint_id viewable_viewpoint_ids N/A N/A response_ep_dict N/A episode_id N/A ep_dict N/A episode_id N/A N/A N/A ep_dict get get_attributes False N/A N/A N/A N/A response_ep_dict update N/A N/A episode _asdict N/A N/A N/A ep_dict get get_photos False N/A N/A N/A response_ep_dict N/A photos N/A N/A _MakePhotoDict photo post user_post user_photo N/A N/A photo post user_post user_photo photo_info_list N/A N/A N/A len photo_info_list 0 N/A N/A N/A response_ep_dict N/A last_key N/A N/A N/A photo_info_list N/A -1 N/A 0 photo_id N/A num_photos N/A len photo_info_list N/A N/A N/A N/A response_dict N/A episodes append response_ep_dict N/A N/A N/A logging info N/A QUERY EPISODES: user: %d, device: %d, %d episodes, %d photos N/A user_id device_id N/A len N/A response_dict N/A episodes num_photos N/A N/A callback response_dict N/A N/A gen engine QueryFollowed N/A N/A client obj_store user_id device_id request N/A N/A N/A Queries all viewpoints followed by the current user. Supports a limit and a start key
  for pagination.
   N/A start_key N/A N/A request get start_key None N/A limit N/A N/A request get limit None N/A followed N/A N/A N/A gen Task N/A Followed RangeQuery client hash_key user_id range_desc None limit limit col_names N/A viewpoint_id excl_start_key start_key N/A last_key N/A N/A N/A len followed 0 N/A N/A followed N/A -1 sort_key None N/A viewpoint_keys N/A N/A N/A db_client DBKey N/A f viewpoint_id None N/A f followed N/A follower_keys N/A N/A N/A db_client DBKey user_id N/A f viewpoint_id N/A f followed N/A N/A viewpoints followers N/A N/A N/A N/A gen Task N/A Viewpoint BatchQuery client viewpoint_keys None must_exist False N/A N/A gen Task N/A Follower BatchQuery client follower_keys None must_exist False N/A response N/A viewpoints N/A N/A _MakeViewpointMetadataDict v f obj_store N/A N/A v f N/A zip viewpoints followers N/A v None N/A N/A N/A util SetIfNotNone response last_key last_key N/A N/A N/A logging info N/A QUERY FOLLOWED: user: %d, device: %d, %d viewpoints, start key %s, last key %s N/A user_id device_id N/A len N/A response N/A viewpoints start_key N/A N/A response get last_key None N/A N/A N/A gen Return response N/A N/A gen coroutine QueryNotifications N/A N/A client obj_store user_id device_id request N/A N/A N/A Queries a list of pending notifications for a user since the last
  request.
   N/A MAX_LONG_POLL 300 N/A LONG_POLL_INTERVAL 5 N/A start_key N/A N/A start_key request N/A int N/A N/A request get start_key None N/A limit N/A N/A request get limit None N/A scan_forward N/A N/A request get scan_forward True N/A max_long_poll N/A min N/A int N/A N/A request get max_long_poll 0 MAX_LONG_POLL N/A N/A max_long_poll 0 N/A N/A deadline N/A N/A N/A N/A N/A IOLoop current time max_long_poll N/A N/A deadline None N/A True N/A N/A notifications N/A N/A N/A NotificationManager QuerySince client user_id device_id start_key limit limit scan_forward scan_forward N/A N/A N/A N/A len notifications 0 N/A deadline None N/A N/A N/A now N/A N/A N/A N/A IOLoop current time N/A next_try N/A now LONG_POLL_INTERVAL N/A N/A next_try deadline N/A N/A N/A vf_context N/A N/A N/A base ViewfinderContext current N/A N/A N/A vf_context connection_close_event None N/A N/A N/A N/A N/A N/A N/A vf_context connection_close_event wait next_try N/A N/A N/A N/A toro Timeout N/A N/A N/A N/A N/A N/A N/A vf_context connection_close_event is_set N/A N/A activity_keys N/A N/A N/A db_client DBKey N/A n viewpoint_id N/A n activity_id N/A n notifications N/A N/A n activity_id None N/A activities N/A N/A N/A gen Task N/A Activity BatchQuery client activity_keys None N/A response N/A notifications N/A N/A N/A N/A len notifications 0 N/A N/A N/A response N/A last_key N/A N/A www_util FormatIntegralLastKey N/A N/A notifications N/A -1 notification_id N/A notification notifications N/A N/A notification_dict N/A notification_id name sender_id timestamp N/A notification notification_id N/A notification name N/A notification sender_id N/A notification timestamp N/A N/A N/A util SetIfNotNone notification_dict op_id N/A notification op_id N/A invalidate N/A N/A notification GetInvalidate N/A N/A N/A util SetIfNotNone notification_dict invalidate invalidate N/A N/A N/A N/A notification update_seq None N/A N/A notification viewed_seq None N/A N/A vp_dict N/A N/A N/A N/A notification_dict setdefault inline N/A setdefault viewpoint N/A N/A N/A vp_dict N/A viewpoint_id N/A notification viewpoint_id N/A N/A N/A notification update_seq None N/A N/A N/A vp_dict N/A update_seq N/A notification update_seq N/A N/A N/A notification viewed_seq None N/A N/A N/A vp_dict N/A viewed_seq N/A notification viewed_seq N/A N/A N/A notification activity_id None N/A N/A activity N/A N/A activities pop 0 N/A activity_dict N/A N/A activity MakeMetadataDict N/A N/A N/A N/A notification_dict setdefault inline N/A N/A activity activity_dict N/A N/A N/A N/A activity name post_comment N/A N/A notification invalidate None N/A N/A comment_id N/A N/A activity_dict N/A post_comment N/A comment_id N/A comment N/A N/A N/A gen Task N/A Comment Query client N/A notification viewpoint_id comment_id col_names None N/A N/A N/A notification_dict N/A inline N/A comment N/A N/A comment _asdict N/A N/A N/A N/A response N/A notifications append notification_dict N/A N/A N/A len N/A response N/A notifications 0 N/A _AccountingAsDict N/A N/A act N/A N/A N/A N/A act None N/A N/A None N/A act_dict N/A N/A act _asdict N/A N/A N/A act_dict pop hash_key None N/A N/A N/A act_dict pop sort_key None N/A N/A N/A act_dict pop op_ids None N/A act_dict N/A N/A N/A owned shared visible N/A N/A N/A gen Task N/A Accounting QueryUserAccounting client user_id N/A usage_dict N/A N/A N/A N/A util SetIfNotNone usage_dict owned_by N/A _AccountingAsDict owned N/A N/A N/A util SetIfNotNone usage_dict shared_by N/A _AccountingAsDict shared N/A N/A N/A util SetIfNotNone usage_dict visible_to N/A _AccountingAsDict visible N/A N/A N/A len N/A N/A usage_dict keys 0 N/A N/A last_notification N/A N/A response N/A notifications N/A -1 N/A N/A N/A N/A last_notification setdefault inline N/A N/A user N/A usage usage_dict N/A num_uploads N/A len N/A a N/A a activities N/A N/A a None N/A N/A a name upload_episode N/A num_shares N/A len N/A a N/A a activities N/A N/A a None N/A N/A a name N/A share_existing share_new N/A num_unshares N/A len N/A a N/A a activities N/A N/A a None N/A N/A a name unshare N/A num_comment_posts N/A len N/A a N/A a activities N/A N/A a None N/A N/A a name post_comment N/A N/A N/A logging info N/A QUERY NOTIFICATIONS: user: %d, device: %d, start_key: %r, count: %d, %d uploads, %d shares, %d unshares, %d comment posts N/A user_id device_id start_key N/A len notifications num_uploads num_shares num_unshares num_comment_posts N/A N/A N/A N/A request N/A headers N/A original_version N/A Message UPDATE_SHARE_VERSION N/A N/A N/A N/A gen Return N/A notifications N/A N/A N/A N/A N/A gen Return response N/A N/A gen coroutine QueryUsers N/A N/A client obj_store user_id device_id request N/A N/A N/A Queries users by user id, filtering by friendships. N/A user_friend_list N/A N/A N/A gen Task N/A User QueryUsers client user_id N/A request N/A user_ids N/A user_dicts N/A N/A N/A N/A gen Task N/A user MakeUserMetadataDict client user_id forward_friend reverse_friend N/A N/A user forward_friend reverse_friend user_friend_list N/A response N/A users user_dicts N/A N/A N/A logging info N/A QUERY USERS: user: %d, device: %d, %d users N/A user_id device_id N/A len user_dicts N/A N/A N/A gen Return response N/A N/A gen coroutine QueryViewpoints N/A N/A client obj_store user_id device_id request N/A N/A N/A Queries viewpoint metadata, as well as associated followers and episodes.
   _QueryFollowers N/A N/A N/A N/A N/A Produces list of (followers, last_key) tuples, one for each viewpoint in the request. N/A tasks N/A N/A vp_dict N/A request N/A viewpoints N/A N/A N/A N/A vp_dict get get_followers False N/A N/A start_key N/A N/A vp_dict get follower_start_key None N/A N/A N/A tasks append N/A N/A Viewpoint QueryFollowers client N/A vp_dict N/A viewpoint_id excl_start_key N/A N/A start_key None N/A int start_key None limit limit N/A N/A N/A N/A tasks append N/A N/A util GenConstant None N/A follower_results N/A tasks N/A N/A N/A gen Return follower_results N/A N/A gen coroutine _QueryActivities N/A N/A N/A N/A N/A Produces list of (activities, last_key) tuples, one for each viewpoint in the request. N/A tasks N/A N/A vp_dict N/A request N/A viewpoints N/A N/A N/A N/A vp_dict get get_activities False N/A N/A N/A N/A tasks append N/A N/A gen Task N/A Viewpoint QueryActivities client N/A vp_dict N/A viewpoint_id excl_start_key N/A N/A vp_dict get activity_start_key None limit limit N/A N/A N/A N/A tasks append N/A N/A util GenConstant None N/A activity_results N/A tasks N/A N/A N/A gen Return activity_results N/A N/A gen coroutine _QueryEpisodes N/A N/A N/A N/A N/A Produces list of (episodes, last_key) tuples, one for each viewpoint in the request. N/A tasks N/A N/A vp_dict N/A request N/A viewpoints N/A N/A N/A N/A vp_dict get get_episodes False N/A N/A N/A N/A tasks append N/A N/A gen Task N/A Viewpoint QueryEpisodes client N/A vp_dict N/A viewpoint_id excl_start_key N/A N/A vp_dict get episode_start_key None limit limit N/A N/A N/A N/A tasks append N/A N/A util GenConstant None N/A episode_results N/A tasks N/A N/A N/A gen Return episode_results N/A N/A gen coroutine _QueryComments N/A N/A N/A N/A N/A Produces list of (comments, last_key) tuples, one for each viewpoint in the request. N/A tasks N/A N/A vp_dict N/A request N/A viewpoints N/A N/A N/A N/A vp_dict get get_comments False N/A N/A N/A N/A tasks append N/A N/A gen Task N/A Viewpoint QueryComments client N/A vp_dict N/A viewpoint_id excl_start_key N/A N/A vp_dict get comment_start_key None limit limit N/A N/A N/A N/A tasks append N/A N/A util GenConstant None N/A comment_results N/A tasks N/A N/A N/A gen Return comment_results N/A N/A gen coroutine N/A limit N/A N/A request get limit None N/A viewpoint_keys N/A N/A N/A db_client DBKey N/A vp_dict N/A viewpoint_id None N/A vp_dict N/A request N/A viewpoints N/A follower_keys N/A N/A N/A db_client DBKey user_id N/A vp_dict N/A viewpoint_id N/A vp_dict N/A request N/A viewpoints N/A results N/A N/A N/A N/A gen Task N/A Viewpoint BatchQuery client viewpoint_keys None must_exist False N/A N/A gen Task N/A Follower BatchQuery client follower_keys None must_exist False N/A _QueryFollowers N/A _QueryActivities N/A _QueryEpisodes N/A _QueryComments N/A N/A viewpoints followers follower_id_results activity_results episode_results comment_results results N/A zip_list N/A zip N/A request N/A viewpoints viewpoints followers follower_id_results activity_results episode_results comment_results N/A num_followers 0 N/A num_activities 0 N/A num_episodes 0 N/A num_comments 0 N/A response_vp_dicts N/A N/A N/A vp_dict viewpoint follower follower_result activity_result episode_result comment_result zip_list N/A N/A N/A follower None N/A N/A response_vp_dict N/A viewpoint_id N/A viewpoint viewpoint_id N/A N/A N/A vp_dict get get_attributes False N/A N/A N/A N/A response_vp_dict update N/A _MakeViewpointMetadataDict viewpoint follower obj_store N/A N/A N/A N/A N/A follower IsRemoved N/A N/A vp_dict get get_followers False N/A N/A N/A followers last_key follower_result N/A N/A response_vp_dict N/A followers N/A N/A N/A foll MakeFriendMetadataDict N/A foll followers N/A N/A last_key None N/A N/A N/A response_vp_dict N/A follower_last_key N/A N/A www_util FormatIntegralLastKey last_key N/A num_followers N/A len followers N/A N/A _CanViewViewpointContent viewpoint follower N/A N/A N/A N/A vp_dict get get_activities False N/A N/A N/A activities last_key activity_result N/A N/A response_vp_dict N/A activities N/A N/A N/A act MakeMetadataDict N/A act activities N/A N/A last_key None N/A N/A N/A response_vp_dict N/A activity_last_key last_key N/A num_activities N/A len activities N/A N/A N/A vp_dict get get_episodes False N/A N/A N/A episodes last_key episode_result N/A N/A response_vp_dict N/A episodes N/A N/A N/A ep _asdict N/A ep episodes N/A N/A last_key None N/A N/A N/A response_vp_dict N/A episode_last_key last_key N/A num_episodes N/A len episodes N/A N/A N/A vp_dict get get_comments False N/A N/A N/A comments last_key comment_result N/A N/A response_vp_dict N/A comments N/A N/A N/A co _asdict N/A co comments N/A N/A last_key None N/A N/A N/A response_vp_dict N/A comment_last_key last_key N/A num_comments N/A len comments N/A N/A N/A response_vp_dicts append response_vp_dict N/A N/A N/A logging info N/A QUERY VIEWPOINTS: user: %d, device: %d, %d viewpoints, %d followers, %d activities, %d episodes, %d comments N/A user_id device_id N/A len response_vp_dicts num_followers num_activities num_episodes num_comments N/A N/A N/A gen Return N/A viewpoints response_vp_dicts N/A N/A gen coroutine RecordSubscription N/A N/A client obj_store user_id device_id request callback N/A N/A N/A Records an external subscription. _OnRecord N/A N/A verify_response op N/A N/A N/A N/A callback N/A subscription N/A N/A N/A N/A Subscription CreateFromITunes user_id verify_response MakeMetadataDict N/A _OnVerify N/A N/A environment verify_response N/A N/A N/A N/A N/A environment prod N/A N/A N/A verify_response GetStatus N/A VerifyResponse SANDBOX_ON_PROD_ERROR N/A N/A N/A N/A N/A N/A ITunesStoreClient Instance dev VerifyReceipt receipt_data N/A partial _OnVerify dev N/A N/A N/A N/A N/A verify_response IsValid N/A N/A N/A N/A logging warning record_subscription: invalid signature; request: %r request N/A N/A N/A web HTTPError 400 invalid receipt signature N/A N/A environment prod N/A N/A op_request N/A headers user_id verify_response_str N/A request N/A headers user_id N/A N/A verify_response ToString N/A N/A N/A Operation CreateAndExecute client user_id device_id Subscription.RecordITunesTransactionOperation op_request N/A partial _OnRecord verify_response N/A N/A N/A callback N/A subscription N/A N/A N/A N/A Subscription CreateFromITunes user_id verify_response MakeMetadataDict N/A N/A receipt_data N/A N/A base64 b64decode N/A request N/A receipt_data N/A N/A N/A N/A N/A ITunesStoreClient Instance prod VerifyReceipt receipt_data N/A partial _OnVerify prod N/A RemoveContacts N/A N/A client obj_store user_id device_id request N/A N/A N/A Remove contacts. N/A N/A request N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id RemoveContactsOperation.Execute request N/A N/A N/A logging info N/A REMOVE CONTACTS: user: %d, device: %d, contact_count: %d N/A user_id device_id N/A len N/A request N/A contacts N/A N/A N/A gen Return N/A N/A N/A gen coroutine RemoveFollowers N/A N/A client obj_store user_id device_id request N/A N/A N/A Remove followers of an existing viewpoint. N/A N/A request N/A user_id user_id N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id RemoveFollowersOperation.Execute request N/A N/A N/A logging info N/A REMOVE FOLLOWERS: user: %d, device: %d, %d followers N/A user_id device_id N/A len N/A request N/A remove_ids N/A N/A N/A gen Return N/A N/A N/A gen coroutine RemovePhotos N/A N/A client obj_store user_id device_id request N/A N/A N/A Removes photos from a user's personal library. To be more precise, *posts* are marked as
  removed. This means that if a photo has been uploaded or saved to the library multiple times,
  every instance of that photo (i.e. post) should be marked as removed.
   N/A N/A request N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id RemovePhotosOperation.Execute request N/A num_photos N/A sum N/A N/A len N/A ep_dict N/A photo_ids N/A ep_dict N/A request N/A episodes N/A N/A N/A logging info N/A REMOVE PHOTOS: user: %d, device: %d, %d photos N/A user_id device_id num_photos N/A N/A N/A gen Return N/A N/A N/A gen coroutine RemoveViewpoint N/A N/A client obj_store user_id device_id request N/A N/A N/A Remove a viewpoint from a user's inbox. N/A N/A request N/A user_id user_id N/A viewpoint_id N/A request N/A viewpoint_id N/A N/A N/A N/A N/A N/A N/A base ViewfinderContext current user private_vp_id viewpoint_id N/A N/A N/A PermissionError N/A User is not allowed to remove their default viewpoint: %s viewpoint_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id RemoveViewpointOperation.Execute request N/A N/A N/A logging info N/A REMOVE VIEWPOINT: user: %d, device: %d, viewpoint: %s N/A user_id device_id viewpoint_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine ResolveContacts N/A N/A client obj_store user_id device_id request N/A N/A N/A Resolves contact identities to user ids. N/A ident_tasks N/A N/A ident N/A request N/A identities N/A N/A N/A N/A Identity ValidateKey ident N/A N/A N/A ident startswith N/A Email: Phone: N/A N/A N/A N/A ident_tasks append N/A N/A gen Task N/A Identity Query client ident None must_exist False N/A N/A N/A N/A ident_tasks append N/A N/A util GenConstant None N/A ident_results N/A ident_tasks N/A user_tasks N/A N/A ident ident_results N/A N/A N/A N/A ident None N/A N/A ident user_id None N/A N/A N/A N/A user_tasks append N/A N/A gen Task N/A User Query client N/A ident user_id None must_exist False N/A N/A N/A N/A user_tasks append N/A N/A util GenConstant None N/A user_results N/A user_tasks N/A results N/A N/A N/A request_ident ident user N/A zip N/A request N/A identities ident_results user_results N/A N/A result_contact N/A identity request_ident N/A N/A user None N/A N/A N/A N/A ident None N/A N/A user user_id N/A ident user_id N/A N/A N/A ident key request_ident N/A N/A result_contact N/A user_id N/A ident user_id N/A N/A N/A util SetIfNotNone result_contact name N/A user name N/A N/A N/A util SetIfNotNone result_contact given_name N/A user given_name N/A N/A N/A util SetIfNotNone result_contact family_name N/A user family_name N/A N/A result_contact N/A labels N/A N/A user MakeLabelList False N/A N/A N/A results append result_contact N/A N/A N/A gen Return N/A contacts results N/A N/A gen coroutine SavePhotos N/A N/A client obj_store user_id device_id request N/A N/A N/A Saves photos from existing episodes to new episodes in the current user's default
  viewpoint. This is used to implement the "save photos to library" functionality.
   N/A N/A request N/A user_id user_id N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A vp_ids N/A N/A request get viewpoint_ids N/A N/A ep_dicts N/A N/A request get episodes N/A N/A num_photos 0 N/A ep_dict ep_dicts N/A N/A N/A N/A N/A Episode VerifyEpisodeId client user_id device_id N/A ep_dict N/A new_episode_id N/A num_photos N/A len N/A ep_dict N/A photo_ids N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id SavePhotosOperation.Execute request N/A N/A N/A logging info N/A SAVE PHOTOS: user: %d, device: %d, %d viewpoints, %d episodes, %d photos N/A user_id device_id N/A len vp_ids N/A len ep_dicts num_photos N/A N/A N/A gen Return N/A N/A N/A gen coroutine ShareExisting N/A N/A client obj_store user_id device_id request N/A N/A N/A Shares photos from existing episodes with the followers of an existing viewpoint. N/A N/A request N/A user_id user_id N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A num_photos 0 N/A ep_dict N/A request N/A episodes N/A N/A N/A N/A N/A Episode VerifyEpisodeId client user_id device_id N/A ep_dict N/A new_episode_id N/A num_photos N/A len N/A ep_dict N/A photo_ids N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id ShareExistingOperation.Execute request N/A N/A N/A logging info N/A SHARE EXISTING: user: %d, device: %d, viewpoint: %s, %d episodes, %d photos N/A user_id device_id N/A request N/A viewpoint_id N/A len N/A request N/A episodes num_photos N/A N/A N/A gen Return N/A N/A N/A gen coroutine ShareNew N/A N/A client obj_store user_id device_id request N/A N/A N/A Shares a list of photos with each of a list of contacts, specified
  by a contact identity key or a viewfinder user id. Creates a new
  viewpoint and episodes, with the contacts as followers.
   N/A N/A request N/A user_id user_id N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A vp_dict N/A request N/A viewpoint N/A N/A N/A N/A Viewpoint VerifyViewpointId client user_id device_id N/A vp_dict N/A viewpoint_id N/A num_photos 0 N/A ep_dict N/A request N/A episodes N/A N/A N/A N/A N/A Episode VerifyEpisodeId client user_id device_id N/A ep_dict N/A new_episode_id N/A num_photos N/A len N/A ep_dict N/A photo_ids N/A N/A _ValidateContacts N/A request N/A contacts N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id ShareNewOperation.Execute request N/A N/A N/A logging info N/A SHARE NEW: user: %d, device: %d, viewpoint: %s, %d episodes, %d photos N/A user_id device_id N/A vp_dict N/A viewpoint_id N/A len N/A request N/A episodes num_photos N/A N/A N/A gen Return N/A N/A N/A gen coroutine TerminateAccount N/A N/A client obj_store user_id device_id request N/A N/A N/A Terminate the calling user's account. Unlink all identities from the
  user, mute all device alerts, and disable all sharing.
   N/A N/A request N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id User.TerminateAccountOperation request N/A N/A N/A logging info N/A TERMINATE ACCOUNT: user: %d, device: %d N/A user_id device_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine UnlinkIdentity N/A N/A client obj_store user_id device_id request N/A N/A N/A Unlink an existing identity from the requesting account. N/A N/A N/A Identity ValidateKey N/A request N/A identity N/A unlink_ident N/A N/A N/A gen Task N/A Identity Query client N/A request N/A identity None must_exist False N/A N/A unlink_ident None N/A N/A N/A N/A unlink_ident user_id user_id N/A N/A N/A PermissionError N/A Identity "%s" not linked to this account N/A request N/A identity N/A N/A N/A unlink_ident authority None N/A N/A query_expr N/A identity.user_id=%d user_id N/A all_identities N/A N/A N/A gen Task N/A Identity IndexQuery client query_expr N/A key authority N/A N/A N/A any N/A N/A N/A N/A one_identity authority None N/A N/A one_identity key N/A unlink_ident key N/A one_identity all_identities N/A N/A N/A PermissionError N/A Removing this identity authorized by %s, would leave you with no way to access your account N/A unlink_ident authority N/A N/A request N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id Identity.UnlinkIdentityOperation request N/A N/A N/A logging info N/A IDENTITY UNLINK: user: %d, device: %d, identity: %s N/A user_id device_id N/A request N/A identity N/A N/A N/A gen Return N/A N/A N/A gen coroutine Unshare N/A N/A client obj_store user_id device_id request N/A N/A N/A Unshares photos from the episodes in the specified viewpoint, as
  well as from all derived episodes to which the photos were shared.
   N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id UnshareOperation.Execute request N/A N/A N/A logging info N/A UNSHARE: user: %d, device: %d, viewpoint: %s, %d episodes, %d photos N/A user_id device_id N/A request N/A viewpoint_id N/A len N/A request N/A episodes N/A sum N/A N/A len N/A ep_dict N/A photo_ids N/A ep_dict N/A request N/A episodes N/A N/A N/A gen Return N/A N/A N/A gen coroutine UpdateDevice N/A N/A client obj_store user_id device_id request N/A N/A N/A Updates the device metadata. Sets a new secure client access cookie.
   N/A device_dict N/A request N/A device_dict N/A N/A N/A N/A device_dict has_key device_id N/A N/A device_dict N/A device_id device_id N/A N/A N/A N/A web HTTPError 400 N/A bad auth cookie; device id mismatch %d != %d N/A N/A device_dict N/A device_id device_id N/A N/A request N/A user_id user_id N/A N/A request N/A device_id device_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id Device.UpdateOperation request N/A N/A N/A logging info N/A UPDATE DEVICE: user: %d, device: %d N/A user_id device_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine UpdateEpisode N/A N/A client obj_store user_id device_id request N/A N/A N/A Updates episode metadata. N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A headers N/A N/A request pop headers N/A activity N/A N/A request pop activity N/A request N/A headers user_id activity episode headers user_id activity request N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id UpdateEpisodeOperation.Execute request N/A N/A N/A logging info N/A UPDATE EPISODE: user: %d, device: %d, episode: %s N/A user_id device_id N/A N/A request N/A episode N/A episode_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine UpdateFollower N/A N/A client obj_store user_id device_id request N/A N/A N/A Updates follower metadata. N/A N/A request N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id UpdateFollowerOperation.Execute request N/A N/A N/A logging info N/A UPDATE FOLLOWER: user: %d, device: %d, viewpoint: %s N/A user_id device_id N/A N/A request N/A follower N/A viewpoint_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine UpdateFriend N/A N/A client obj_store user_id device_id request N/A N/A N/A Updates friend metadata. N/A N/A request N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id Friend.UpdateOperation request N/A N/A N/A logging info N/A UPDATE FRIEND: user: %d, device: %d, friend: %s N/A user_id device_id N/A N/A request N/A friend N/A user_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine UpdatePhoto N/A N/A client obj_store user_id device_id request N/A N/A N/A Updates photo metadata. N/A N/A request N/A user_id user_id N/A N/A N/A N/A request N/A headers N/A original_version N/A Message ADD_OP_HEADER_VERSION N/A N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A N/A N/A N/A N/A Activity VerifyActivityId client user_id 0 N/A N/A request N/A activity N/A activity_id N/A request N/A headers act_dict ph_dict N/A N/A request pop headers N/A N/A request pop activity request N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id Photo.UpdateOperation request N/A N/A N/A logging info N/A UPDATE PHOTO: user: %d, device: %d, photo: %s N/A user_id device_id N/A N/A request N/A ph_dict N/A photo_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine UpdateUser N/A N/A client obj_store user_id device_id request N/A N/A N/A Updates user profile and settings metadata. N/A password N/A N/A request pop password None N/A N/A password None N/A N/A context N/A N/A N/A base ViewfinderContext current N/A user N/A context user N/A old_password N/A N/A request pop old_password None N/A N/A N/A N/A context IsConfirmedUser N/A N/A N/A N/A old_password None N/A N/A user pwd_hash None N/A N/A N/A PermissionError UPDATE_PWD_NOT_CONFIRMED N/A N/A N/A user pwd_hash None N/A N/A N/A N/A N/A password_util ValidateUserPassword client user old_password N/A N/A pwd_hash salt N/A N/A password_util GeneratePasswordHash password N/A N/A request N/A pwd_hash pwd_hash N/A N/A request N/A salt salt N/A request N/A headers user_dict settings_dict N/A N/A request pop headers request N/A N/A request pop account_settings None N/A N/A N/A request N/A user_dict N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id User.UpdateOperation request N/A N/A N/A logging info N/A UPDATE USER: user: %d, device: %d N/A user_id device_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine UpdateUserPhoto N/A N/A client obj_store user_id device_id request N/A N/A N/A op_request N/A headers up_dict N/A N/A request pop headers request N/A N/A N/A op_request N/A up_dict N/A user_id user_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id UserPhoto.UpdateOperation op_request N/A N/A N/A logging info N/A UPDATE USER PHOTO: user: %d, device:%d, photo:%s N/A user_id device_id N/A N/A op_request N/A up_dict N/A photo_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine UpdateViewpoint N/A N/A client obj_store user_id device_id request N/A N/A N/A Updates viewpoint metadata. N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A headers N/A N/A request pop headers N/A activity N/A N/A request pop activity N/A viewpoint_id N/A request N/A viewpoint_id N/A follower_columns N/A N/A N/A Follower _table GetColumnNames N/A viewpoint_columns N/A N/A N/A Viewpoint _table GetColumnNames N/A N/A all N/A N/A attr follower_columns N/A attr N/A N/A request keys N/A N/A request N/A headers user_id follower headers user_id request N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id UpdateFollowerOperation.Execute request N/A N/A N/A all N/A N/A attr viewpoint_columns N/A attr N/A N/A request keys N/A N/A request N/A headers user_id activity viewpoint headers user_id activity request N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id UpdateViewpointOperation.Execute request N/A N/A N/A N/A web HTTPError 400 N/A Viewpoint and follower attributes cannot be updated together  in the same call to update_viewpoint. N/A N/A N/A logging info N/A UPDATE VIEWPOINT: user: %d, device: %d, viewpoint: %s N/A user_id device_id viewpoint_id N/A N/A N/A gen Return N/A N/A N/A gen coroutine UploadContacts N/A N/A client obj_store user_id device_id request N/A N/A N/A Creates/updates contacts metadata. N/A N/A request N/A user_id user_id N/A contact_count N/A len N/A request N/A contacts N/A result_contact_ids N/A N/A contact N/A request N/A contacts N/A N/A canon_identities N/A set N/A identities_properties N/A N/A contact_identity N/A contact N/A identities N/A N/A identity_key N/A contact_identity N/A identity N/A description N/A N/A contact_identity get description None N/A N/A identity_key N/A N/A Identity Canonicalize identity_key N/A N/A N/A InvalidRequestError IDENTITY_NOT_CANONICAL identity_key identity_key N/A N/A N/A canon_identities add identity_key N/A N/A N/A identities_properties append N/A identity_key description N/A N/A contact N/A identities N/A list canon_identities N/A N/A contact N/A identities_properties identities_properties N/A N/A contact N/A contact_id N/A N/A Contact CalculateContactId contact N/A N/A N/A result_contact_ids append N/A contact N/A contact_id N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id UploadContactsOperation.Execute request N/A N/A N/A logging info N/A UPLOAD CONTACTS: user: %d, device: %d, contact_count: %d N/A user_id device_id contact_count N/A N/A N/A gen Return N/A contact_ids result_contact_ids N/A N/A gen coroutine UploadEpisode N/A N/A client obj_store user_id device_id request N/A N/A N/A Creates metadata for new photos and returns URLs where the client
  should upload the photo images. Creates a new episode to group the
  photos or adds the photos to an existing episode.
   _GenerateUploadUrl N/A N/A obj_store ph_dict suffix md5_attr N/A N/A N/A Create an S3 URL that is the target of a photo upload. "suffix" is
    appended to the end of the photo id in order to distinguish different
    photo sizes. The value of the "md5_attr" attribute is converted to a
    base-64 encoded value for the HTTP Content-MD5 header. Using this
    attribute ensures that the user uploads a photo that exactly matches
    the MD5, and also enables detection of any bit corruption on the wire.
     N/A md5_hex N/A ph_dict N/A md5_attr N/A N/A N/A content_md5 N/A N/A base64 b64encode N/A N/A md5_hex decode hex N/A N/A N/A TypeError N/A N/A N/A InvalidRequestError N/A md5 value "%s" is invalid; it must be in ascii hex format md5_hex N/A N/A N/A obj_store GenerateUploadUrl N/A %s%s N/A N/A ph_dict N/A photo_id suffix content_type N/A N/A ph_dict get content_type image/jpeg content_md5 content_md5 N/A _VerifyAttributeUpdate N/A N/A photo suffix attr_name new_value N/A N/A N/A Checks whether the specified photo metadata attribute is about
    to be modified. Don't allow the change if the photo image data has
    already been uploaded to S3. This check prevents situations where
    photo MD5 values are updated after the initial upload, which could
    allow a user to overwrite an existing photo in order to bypass the
    7-day unshare rule. But it still allows cases where a new MD5 was
    generated by the client as part of a rebuild.
     N/A existing_value N/A getattr photo attr_name N/A N/A new_value existing_value N/A N/A etag N/A N/A N/A gen Task N/A Photo IsImageUploaded obj_store N/A photo photo_id suffix N/A N/A etag None N/A N/A N/A PermissionError N/A cannot overwrite existing photo "%s" with a new photo N/A N/A photo photo_id suffix N/A N/A gen coroutine _VerifyPhoto N/A N/A ph_dict N/A N/A N/A Verify the photo's id. Override any MD5 values that have changed
    on the client as long as the photo image data hasn't yet been uploaded.
     N/A N/A N/A N/A Photo VerifyPhotoId client user_id device_id N/A ph_dict N/A photo_id N/A photo N/A N/A N/A gen Task N/A Photo Query client N/A ph_dict N/A photo_id None must_exist False N/A N/A photo None N/A N/A N/A N/A photo user_id user_id N/A photo user_id N/A N/A N/A N/A N/A gen Task _VerifyAttributeUpdate photo .t tn_md5 N/A ph_dict N/A tn_md5 N/A N/A gen Task _VerifyAttributeUpdate photo .m med_md5 N/A ph_dict N/A med_md5 N/A N/A gen Task _VerifyAttributeUpdate photo .f full_md5 N/A ph_dict N/A full_md5 N/A N/A gen Task _VerifyAttributeUpdate photo .o orig_md5 N/A ph_dict N/A orig_md5 N/A N/A gen coroutine N/A N/A N/A N/A Activity VerifyActivityId client user_id device_id N/A N/A request N/A activity N/A activity_id N/A N/A request N/A user_id user_id N/A episode_id N/A N/A request N/A episode N/A episode_id N/A N/A N/A N/A Episode VerifyEpisodeId client user_id device_id episode_id N/A N/A N/A N/A N/A gen Task _VerifyPhoto ph_dict N/A ph_dict N/A request N/A photos N/A N/A N/A N/A gen Task N/A Operation CreateAndExecute client user_id device_id UploadEpisodeOperation.Execute request N/A N/A N/A logging info N/A UPLOAD EPISODE: user: %d, device: %d, episode: %s, %d photos N/A user_id device_id episode_id N/A len N/A request N/A photos N/A response N/A episode_id photos episode_id N/A N/A photo_id tn_put_url med_put_url full_put_url orig_put_url N/A ph_dict N/A photo_id N/A _GenerateUploadUrl obj_store ph_dict .t tn_md5 N/A _GenerateUploadUrl obj_store ph_dict .m med_md5 N/A _GenerateUploadUrl obj_store ph_dict .f full_md5 N/A _GenerateUploadUrl obj_store ph_dict .o orig_md5 N/A ph_dict N/A request N/A photos N/A N/A N/A gen Return response N/A N/A gen coroutine _ValidateContacts N/A N/A contact_dicts N/A N/A N/A For each contact in "contact_dicts" that has an identity attribute, validates the identity
  key format. The "contact_dicts" have the FOLLOWER_CONTACTS_METADATA format defined in
  json_schema.py.
   N/A contact contact_dicts N/A N/A N/A identity contact N/A N/A N/A N/A Identity ValidateKey N/A contact N/A identity N/A _CanViewViewpointContent N/A N/A viewpoint follower N/A N/A N/A Returns true if the given follower is allowed to view the viewpoint's content:
    1. Follower must exist
    2. Viewpoint must not be removed by the follower
    3. Cookie must allow access to the viewpoint (prospective user invitations have access to
       a single viewpoint's content and to any system viewpoints)
   N/A N/A N/A viewpoint None N/A follower None N/A N/A N/A follower CanViewContent N/A N/A False N/A N/A N/A N/A viewpoint IsSystem N/A N/A N/A N/A N/A base ViewfinderContext current CanViewViewpoint N/A viewpoint viewpoint_id N/A N/A True N/A False N/A _AddPhotoUrls N/A N/A obj_store ph_dict N/A N/A N/A Adds photo urls to the photo dict for each photo size: original, full, medium, and
  thumbnail. The photo dict should already have a "photo_id" property.
   N/A N/A ph_dict N/A tn_get_url N/A N/A photo_store GeneratePhotoUrl obj_store N/A ph_dict N/A photo_id .t N/A N/A ph_dict N/A med_get_url N/A N/A photo_store GeneratePhotoUrl obj_store N/A ph_dict N/A photo_id .m N/A N/A ph_dict N/A full_get_url N/A N/A photo_store GeneratePhotoUrl obj_store N/A ph_dict N/A photo_id .f N/A N/A ph_dict N/A orig_get_url N/A N/A photo_store GeneratePhotoUrl obj_store N/A ph_dict N/A photo_id .o N/A _MakeViewpointMetadataDict N/A N/A viewpoint follower obj_store N/A N/A N/A Returns a viewpoint metadata dictionary appropriate for a service query response.
  The response dictionary contains valid photo urls for the viewpoints cover photo.
   N/A metadata_dict N/A N/A viewpoint MakeMetadataDict follower N/A N/A cover_photo metadata_dict N/A N/A N/A _AddPhotoUrls obj_store N/A metadata_dict N/A cover_photo N/A metadata_dict N/A ServiceHandler N/A N/A base BaseHandler N/A N/A The RPC multiplexer for client request/responses. The POST
  request body contains the JSON-encoded RPC input, and the HTTP
  response body contains the JSON-encoded RPC output.
   Method N/A object N/A N/A An entry in the service map. When a service request is received,
    it is validated according to the "request" schema. If the message
    format has changed, it is migrated according to the "request_migrators".
    The request is dispatched to the "handler" function. The response is
    validated according to the "response" schema after format migration
    according to the "response_migrators". If "allow_prospective" is true,
    then prospective users are allowed access to the method.

    WARNING: If "allow_prospective" is true, then the method must ensure
             that the prospective user has access only to the viewpoint
             given in the cookie.
     __init__ N/A N/A self request response handler allow_prospective min_supported_version max_supported_version request_migrators response_migrators N/A False MIN_SUPPORTED_MESSAGE_VERSION MAX_SUPPORTED_MESSAGE_VERSION N/A N/A N/A N/A N/A self request request N/A N/A self response response N/A N/A self handler handler N/A N/A self allow_prospective allow_prospective N/A N/A self min_supported_version N/A max min_supported_version MIN_SUPPORTED_MESSAGE_VERSION N/A N/A self max_supported_version N/A min max_supported_version MAX_SUPPORTED_MESSAGE_VERSION N/A N/A self request_migrators N/A sorted N/A REQUIRED_MIGRATORS request_migrators N/A N/A self response_migrators N/A sorted N/A REQUIRED_MIGRATORS response_migrators N/A N/A N/A SERVICE_MAP N/A add_followers allocate_ids build_archive get_calendar hide_photos list_identities merge_accounts new_client_log_url post_comment query_contacts query_episodes query_followed query_notifications query_users query_viewpoints record_subscription remove_contacts remove_followers remove_photos remove_viewpoint resolve_contacts save_photos share_existing share_new terminate_account unlink_identity unshare update_device update_episode update_follower update_friend update_photo update_user update_user_photo update_viewpoint upload_contacts upload_episode N/A Method request N/A json_schema ADD_FOLLOWERS_REQUEST response N/A json_schema ADD_FOLLOWERS_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler AddFollowers N/A Method request N/A json_schema ALLOCATE_IDS_REQUEST response N/A json_schema ALLOCATE_IDS_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler AllocateIds N/A Method request N/A json_schema BUILD_ARCHIVE_REQUEST response N/A json_schema BUILD_ARCHIVE_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler BuildArchive N/A Method request N/A json_schema GET_CALENDAR_REQUEST response N/A json_schema GET_CALENDAR_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler GetCalendar N/A Method request N/A json_schema HIDE_PHOTOS_REQUEST response N/A json_schema HIDE_PHOTOS_RESPONSE min_supported_version N/A Message RENAME_PHOTO_LABEL handler HidePhotos N/A Method request N/A json_schema LIST_IDENTITIES_REQUEST response N/A json_schema LIST_IDENTITIES_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler ListIdentities N/A Method request N/A json_schema MERGE_ACCOUNTS_REQUEST response N/A json_schema MERGE_ACCOUNTS_RESPONSE handler MergeAccounts N/A Method request N/A json_schema NEW_CLIENT_LOG_URL_REQUEST response N/A json_schema NEW_CLIENT_LOG_URL_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler NewClientLogUrl N/A Method request N/A json_schema POST_COMMENT_REQUEST response N/A json_schema POST_COMMENT_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler PostComment N/A Method request N/A json_schema QUERY_CONTACTS_REQUEST response N/A json_schema QUERY_CONTACTS_RESPONSE response_migrators N/A SUPPORT_MULTIPLE_IDENTITIES_PER_CONTACT min_supported_version N/A Message EXTRACT_MD5_HASHES handler QueryContacts N/A Method request N/A json_schema QUERY_EPISODES_REQUEST response N/A json_schema QUERY_EPISODES_RESPONSE response_migrators N/A EXTRACT_ASSET_KEYS RENAME_PHOTO_LABEL min_supported_version N/A Message EXTRACT_MD5_HASHES handler QueryEpisodes allow_prospective True N/A Method request N/A json_schema QUERY_FOLLOWED_REQUEST response N/A json_schema QUERY_FOLLOWED_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler QueryFollowed allow_prospective True N/A Method request N/A json_schema QUERY_NOTIFICATIONS_REQUEST response N/A json_schema QUERY_NOTIFICATIONS_RESPONSE response_migrators N/A INLINE_INVALIDATIONS INLINE_COMMENTS min_supported_version N/A Message EXTRACT_MD5_HASHES handler QueryNotifications N/A Method request N/A json_schema QUERY_USERS_REQUEST response N/A json_schema QUERY_USERS_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler QueryUsers allow_prospective True N/A Method request N/A json_schema QUERY_VIEWPOINTS_REQUEST response N/A json_schema QUERY_VIEWPOINTS_RESPONSE response_migrators N/A SUPPORT_REMOVED_FOLLOWERS min_supported_version N/A Message EXTRACT_MD5_HASHES handler QueryViewpoints allow_prospective True N/A Method request N/A json_schema RECORD_SUBSCRIPTION_REQUEST response N/A json_schema RECORD_SUBSCRIPTION_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler RecordSubscription N/A Method request N/A json_schema REMOVE_CONTACTS_REQUEST response N/A json_schema REMOVE_CONTACTS_RESPONSE min_supported_version N/A Message SUPPORT_MULTIPLE_IDENTITIES_PER_CONTACT handler RemoveContacts N/A Method request N/A json_schema REMOVE_FOLLOWERS_REQUEST response N/A json_schema REMOVE_FOLLOWERS_RESPONSE handler RemoveFollowers N/A Method request N/A json_schema REMOVE_PHOTOS_REQUEST response N/A json_schema REMOVE_PHOTOS_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler RemovePhotos N/A Method request N/A json_schema REMOVE_VIEWPOINT_REQUEST response N/A json_schema REMOVE_VIEWPOINT_RESPONSE min_supported_version N/A Message INLINE_COMMENTS handler RemoveViewpoint N/A Method request N/A json_schema RESOLVE_CONTACTS_REQUEST response N/A json_schema RESOLVE_CONTACTS_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler ResolveContacts N/A Method request N/A json_schema SAVE_PHOTOS_REQUEST response N/A json_schema SAVE_PHOTOS_RESPONSE request_migrators N/A SUPPRESS_COPY_TIMESTAMP handler SavePhotos N/A Method request N/A json_schema SHARE_EXISTING_REQUEST response N/A json_schema SHARE_EXISTING_RESPONSE request_migrators N/A EXPLICIT_SHARE_ORDER SUPPRESS_COPY_TIMESTAMP min_supported_version N/A Message EXTRACT_MD5_HASHES handler ShareExisting N/A Method request N/A json_schema SHARE_NEW_REQUEST response N/A json_schema SHARE_NEW_RESPONSE request_migrators N/A EXPLICIT_SHARE_ORDER SUPPRESS_BLANK_COVER_PHOTO SUPPRESS_COPY_TIMESTAMP min_supported_version N/A Message EXTRACT_MD5_HASHES handler ShareNew N/A Method request N/A json_schema TERMINATE_ACCOUNT_REQUEST response N/A json_schema TERMINATE_ACCOUNT_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler TerminateAccount N/A Method request N/A json_schema UNLINK_IDENTITY_REQUEST response N/A json_schema UNLINK_IDENTITY_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler UnlinkIdentity N/A Method request N/A json_schema UNSHARE_REQUEST response N/A json_schema UNSHARE_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler Unshare N/A Method request N/A json_schema UPDATE_DEVICE_REQUEST response N/A json_schema UPDATE_DEVICE_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler UpdateDevice N/A Method request N/A json_schema UPDATE_EPISODE_REQUEST response N/A json_schema UPDATE_EPISODE_RESPONSE min_supported_version N/A Message EXTRACT_MD5_HASHES handler UpdateEpisode N/A Method request N/A json_schema UPDATE_FOLLOWER_REQUEST response N/A json_schema UPDATE_FOLLOWER_RESPONSE handler UpdateFollower N/A Method request N/A json_schema UPDATE_FRIEND_REQUEST response N/A json_schema UPDATE_FRIEND_RESPONSE handler UpdateFriend N/A Method request N/A json_schema UPDATE_PHOTO_REQUEST response N/A json_schema UPDATE_PHOTO_RESPONSE request_migrators N/A EXTRACT_ASSET_KEYS min_supported_version N/A Message EXTRACT_MD5_HASHES handler UpdatePhoto N/A Method request N/A json_schema UPDATE_USER_REQUEST response N/A json_schema UPDATE_USER_RESPONSE request_migrators N/A SPLIT_NAMES handler UpdateUser N/A Method request N/A json_schema UPDATE_USER_PHOTO_REQUEST response N/A json_schema UPDATE_USER_PHOTO_RESPONSE min_supported_version N/A Message EXTRACT_ASSET_KEYS handler UpdateUserPhoto N/A Method request N/A json_schema UPDATE_VIEWPOINT_REQUEST response N/A json_schema UPDATE_VIEWPOINT_RESPONSE request_migrators N/A SUPPRESS_EMPTY_TITLE min_supported_version N/A Message EXTRACT_MD5_HASHES handler UpdateViewpoint N/A Method request N/A json_schema UPLOAD_CONTACTS_REQUEST response N/A json_schema UPLOAD_CONTACTS_RESPONSE request_migrators N/A SUPPORT_CONTACT_LIMITS min_supported_version N/A Message SUPPORT_MULTIPLE_IDENTITIES_PER_CONTACT handler UploadContacts N/A Method request N/A json_schema UPLOAD_EPISODE_REQUEST response N/A json_schema UPLOAD_EPISODE_RESPONSE request_migrators N/A EXTRACT_FILE_SIZES EXTRACT_ASSET_KEYS min_supported_version N/A Message EXTRACT_MD5_HASHES handler UploadEpisode __init__ N/A N/A self application request N/A kwargs N/A N/A N/A N/A N/A super ServiceHandler self __init__ application request kwargs N/A post N/A N/A self method_name N/A N/A N/A Parses the JSON request body, validates it, and invokes the
    method as specified in the request URI. On completion, the
    response is returned as a JSON-encoded HTTP response body.
     _OnSuccess N/A N/A method start_time user device_id response_dict N/A N/A N/A N/A N/A self set_status 200 N/A N/A N/A self set_header Content-Type application/json; charset=UTF-8 N/A N/A N/A self write N/A N/A json dumps response_dict N/A request_time N/A N/A N/A time time start_time N/A N/A N/A _avg_req_time add request_time N/A N/A N/A logging debug N/A serviced %s request in %.4fs: %s N/A method_name request_time response_dict N/A N/A N/A self finish N/A N/A N/A self api_name method_name N/A N/A N/A _req_per_min increment N/A start_time N/A N/A time time N/A N/A N/A N/A N/A ServiceHandler SERVICE_MAP has_key method_name N/A N/A N/A N/A _fail_per_min increment N/A N/A N/A self send_error status_code 501 N/A N/A json_request N/A N/A self _LoadJSONRequest N/A N/A json_request None N/A N/A N/A N/A _fail_per_min increment N/A N/A user N/A N/A N/A N/A base ViewfinderContext current user N/A device_id N/A N/A N/A N/A base ViewfinderContext current device_id N/A method N/A N/A ServiceHandler SERVICE_MAP N/A method_name N/A N/A N/A ServiceHandler InvokeService N/A self _client N/A self _obj_store method_name N/A user user_id device_id json_request callback N/A partial _OnSuccess method start_time user device_id N/A N/A N/A handler authenticated allow_prospective True N/A N/A handler asynchronous datastore True obj_store True _handle_request_exception N/A N/A self e N/A N/A N/A Need to override to increment _fail_per_min counter. N/A N/A N/A _fail_per_min increment N/A N/A N/A N/A super ServiceHandler self _handle_request_exception e N/A InvokeService N/A N/A client obj_store method_name user_id device_id json_request N/A N/A N/A Validates the JSON request body and invokes the method as specified
    in the request URI. On completion, the response is returned as a
    JSON-encoded response dictionary.
     N/A method N/A N/A ServiceHandler SERVICE_MAP N/A method_name N/A N/A N/A N/A N/A N/A N/A N/A N/A base ViewfinderContext current user IsRegistered N/A N/A method allow_prospective N/A N/A N/A N/A web HTTPError 403 Permission denied; user account is not registered. N/A N/A N/A request_message N/A N/A N/A gen Task N/A N/A base BaseHandler _CreateRequestMessage client json_request N/A method request migrators N/A method request_migrators min_supported_version N/A method min_supported_version max_supported_version N/A method max_supported_version N/A N/A N/A Exception N/A ex N/A N/A N/A N/A logging warning N/A N/A util FormatLogArgument json_request N/A N/A InvalidRequestError INVALID_JSON_REQUEST request N/A ex message N/A N/A N/A method_name remove_photos N/A N/A request_message original_version N/A Message RENAME_PHOTO_LABEL N/A N/A handler OldRemovePhotos N/A N/A handler N/A method handler N/A response_dict N/A N/A N/A gen Task handler client obj_store user_id device_id N/A request_message dict N/A response_message N/A N/A N/A gen Task N/A N/A base BaseHandler _CreateResponseMessage client response_dict N/A method response N/A request_message original_version migrators N/A method response_migrators N/A N/A N/A gen Return N/A response_message dict N/A staticmethod N/A gen coroutine N/A