Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import 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 TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Str Assign NameStore BinOpMult Num Num Assign NameStore Num Assign NameStore TupleLoad Str Str Str Assign NameStore BinOpMult Num Num Assign NameStore BinOpMult Num Num Assign NameStore Dict Str Str Str Str Str BinOpMult Num NameLoad BinOpMult Num NameLoad Num BinOpMult Num NameLoad Num Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Assign NameStore Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGt NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Print AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Print AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad TupleLoad Str Str body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str orelse Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad TupleLoad Str Str body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str orelse Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return TupleLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad Str If AttributeLoad NameLoad attr body Return TupleLoad AttributeLoad NameLoad attr NameLoad orelse Return TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num If CompareIs NameLoad NameLoad body Print AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad BoolOpAnd BoolOpOr UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd ListLoad NameLoad Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Return Dict Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num body Expr Str Assign NameStore NameLoad Assign NameStore Num While NameLoad body Assign TupleStore NameStore NameStore Call NameLoad AugAssignAdd NameStore Num If NameLoad body Return TupleLoad NameLoad NameLoad If CompareGtE NameLoad NameLoad body Return TupleLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpMult NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Print Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str If AttributeLoad NameLoad attr body Expr Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If BoolOpOr CompareNotEq AttributeLoad NameLoad attr Num CompareIsNot AttributeLoad NameLoad attr NameLoad body Raise decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str While NameLoad body Print Str Print Print Call AttributeLoad NameLoad attr Print Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareEq NameLoad Str body Return NameLoad orelse If BoolOpOr CompareEq NameLoad Str UnaryOpNot NameLoad body Return NameLoad orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Return NameLoad orelse Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body For NameStore AttributeLoad NameLoad attr body If BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad Num body Assign NameStore Str orelse Assign NameStore BinOpMod Str NameLoad For NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad AttributeLoad NameLoad attr body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad If CompareLt NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore BinOpSub NameLoad Call AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad TryFinally body While NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad NameLoad body Break Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Str Break Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore AttributeLoad NameLoad attr orelse TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num TryFinally body Assign NameStore Call NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore NameLoad If BoolOpAnd NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Delete SubscriptDel NameLoad Index Num If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If BoolOpAnd NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Delete SubscriptDel NameLoad Index Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr NameLoad CompareIn SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num TupleLoad Str Str body Return NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Continue If NameLoad body If CompareGt NameLoad NameLoad body Continue orelse Assign AttributeStore NameLoad attr NameStore NameLoad If BoolOpAnd NameLoad UnaryOpNot CompareLtELtE SubscriptLoad NameLoad Index Num NameLoad SubscriptLoad NameLoad Index Num body Return NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str If UnaryOpNot NameLoad body Return NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad If UnaryOpNot NameLoad body Return NameLoad TryExcept body Return Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Str Slice Num handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str AugAssignSub NameStore BinOpMult Num Num If Call NameLoad NameLoad body AugAssignAdd NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assert CompareGtE NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Num Num Num Num Num Num Num While CompareNotEq AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad body AugAssignAdd NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Num Num Num Num Num Num Num While CompareNotEq AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad body AugAssignAdd NameStore NameLoad Return CompareLtELt NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults BinOpPow Num Num body Expr Str Assign NameStore Num Expr Call AttributeLoad NameLoad attr Num Num Assign NameStore BinOpFloorDiv Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str For NameStore Call NameLoad BinOpAdd NameLoad Num Num Num body Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Slice Num Call AttributeLoad Call AttributeLoad Str attr BinOpAdd SubscriptLoad NameLoad Slice Num ListLoad NameLoad attr NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body AugAssignAdd SubscriptStore NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareGt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults BinOpPow Num Num body Expr Str If CompareEq NameLoad Str body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call NameLoad NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Delete SubscriptDel NameLoad Slice Num Assign NameStore NameLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Return NameLoad Return Call AttributeLoad NameLoad attr Str finalbody Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assert CompareIn NameLoad TupleLoad Str Str Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpAdd Str NameLoad Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body While CompareIn NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr Num Num Assert CompareLt Call NameLoad NameLoad Num Str Assign NameStore Call AttributeLoad Str attr ListLoad Str BinOpMod Str Call AttributeLoad NameLoad attr NameLoad BinOpMod Str Call NameLoad NameLoad BinOpMod Str NameLoad BinOpMod Str Call NameLoad NameLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotEq AttributeLoad NameLoad attr Num body Raise Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore Call NameLoad NameLoad If CompareLtE NameLoad NameLoad body If BoolOpOr CompareGtE Call NameLoad AttributeLoad NameLoad attr NameLoad CompareGt BinOpAdd AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpAdd NameLoad NameLoad Return Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str TupleLoad SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad Str Assign NameStore Dict Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr If CompareLt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Return Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Num If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad Return AugAssignAdd NameStore Num Assign TupleStore NameStore NameStore NameStore NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return Expr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad FunctionDef arguments args defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword NameLoad Return TupleLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Return TupleLoad NameLoad NameLoad orelse Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad BinOpMod Str NameLoad decorator_list Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd NameStore Num Continue If CompareNotEq Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Call NameLoad NameLoad AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd NameStore Num Continue Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad AugAssignAdd NameStore Num Continue TryExcept body Assign NameStore Call NameLoad NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad AugAssignAdd NameStore Num Continue TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad AugAssignAdd NameStore Num Continue finalbody Expr Call AttributeLoad NameLoad attr If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Dict If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assert UnaryOpNot AttributeLoad NameLoad attr Str Assert CompareIsNot NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Assign NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert UnaryOpNot AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Expr Call NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad BoolOpOr BoolOpAnd CompareNotEq Call NameLoad NameLoad Num Str Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad body If BoolOpAnd CompareGt NameLoad Num CompareEq BinOpMod NameLoad NameLoad Num body Expr Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Call NameLoad Call NameLoad NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad NameLoad If NameLoad body Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num If CompareEq NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Break Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call NameLoad Str NameLoad Str Expr Call NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Assign NameStore ListLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body For NameStore AttributeLoad NameLoad attr body If BoolOpAnd Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad While NameLoad body If NameLoad body Expr Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Expr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad If UnaryOpNot NameLoad body Return ListLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad BinOpMod Str NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad Lambda arguments args defaults TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Num Num If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign TupleStore NameStore NameStore Call NameLoad Lambda arguments args defaults TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Num Num If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Return CompareEq NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str Expr Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assert AttributeLoad NameLoad attr Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Return CompareEq NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore Str TryExcept body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Str Assign NameStore Num For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad TryFinally body Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareGt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num If CompareEq BinOpMod NameLoad Num Num body Expr Call NameLoad BinOpMod Str NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Raise ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Raise Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr AugAssignAdd NameStore Num If CompareEq BinOpMod NameLoad Num Num body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad BinOpMod Str NameLoad If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareIn AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str If BoolOpOr CompareEq AttributeLoad NameLoad attr Num CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Raise Print AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Raise ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Raise Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Assign NameStore ListLoad Str While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str If BoolOpAnd CompareEq NameLoad Str UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd CompareEq NameLoad Str CompareIn BinOpAdd NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Continue If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Yield NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad Str attr GeneratorExp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults AttributeLoad NameLoad attr body Expr Str Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore SubscriptLoad NameLoad Index Str Return BinOpMod Str TupleLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad orelse If AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr orelse Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore BinOpMod Str SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list If CompareEq NameLoad NameLoad body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore NameLoad orelse If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore BinOpAdd BinOpAdd NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore NameLoad If BoolOpOr CompareLt Call NameLoad AttributeLoad NameLoad attr Num CompareEq NameLoad NameLoad body Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If BoolOpOr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr NameLoad orelse If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Global identifier Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Str orelse Assign NameStore Str Print AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return Num ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Num Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore Str For NameStore NameLoad body If UnaryOpNot AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body AugAssignAdd NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpAdd NameLoad Str decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Num keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list Expr Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot NameLoad body If UnaryOpNot NameLoad body Raise Call NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call NameLoad If NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args defaults TupleLoad NameLoad Str Call NameLoad NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Num orelse Assign NameStore Num Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str For NameStore TupleLoad NameLoad NameLoad body For NameStore TupleLoad BinOpAdd NameLoad Str BinOpAdd NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad If CompareIs AttributeLoad AttributeLoad NameLoad attr attr Str body If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str TryFinally body Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr ListLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr If BoolOpOr CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num CompareNotIn SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign TupleStore AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad If CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore BinOpAdd ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str AttributeLoad NameLoad attr Str Str Str NameLoad Str NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Str NameLoad If CompareNotEq NameLoad Num body Raise Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body If CompareIn NameLoad NameLoad body Return Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Str Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str decorator_list Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareNotEq NameLoad Str body Expr Call NameLoad BinOpMod Str NameLoad Continue Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Print AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Print AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr orelse Print AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr orelse Print AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr orelse Print AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr orelse Print AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr orelse Print AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad If NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore ListLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad orelse Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num orelse If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad Print AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad Print AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad Print AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore NameLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareNotEq NameLoad Str body Expr Call NameLoad AttributeLoad NameLoad attr BinOpMod Str NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body If UnaryOpNot BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Print AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore BoolOpOr AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body If UnaryOpNot BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Str If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore BoolOpOr AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad Num body If UnaryOpNot BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad UnaryOpNot CompareLtELtE Num AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad If CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str If UnaryOpNot NameLoad body Return Call NameLoad Call NameLoad Return Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad AttributeLoad NameLoad attr body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd NameLoad AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Str If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str Print NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Str body Print NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Print NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword Num keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore ListLoad Str body If CompareIs Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr body If Call NameLoad GeneratorExp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Slice Num If CompareEq NameLoad Str body Return BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Return BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Num NameLoad orelse Return BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd CompareNotEq Call NameLoad AttributeLoad NameLoad attr Num UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr If CompareLt AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq NameLoad Num body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListComp TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore TupleLoad 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 Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str UnaryOpNot SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str UnaryOpNot SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Num keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Print NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad Lambda arguments args NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call 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 Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad Call NameLoad keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword NameLoad Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword NameLoad keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword NameLoad keyword NameLoad keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword NameLoad keyword NameLoad keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword NameLoad keyword NameLoad keyword Str keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword NameLoad keyword Str keyword Str keyword NameLoad Call NameLoad keyword Str keyword Str keyword NameLoad keyword Str keyword Str keyword NameLoad Call NameLoad keyword Str keyword Str keyword NameLoad keyword Str keyword Str keyword NameLoad Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword NameLoad Call NameLoad keyword Str keyword Str keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str TryExcept body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad AttributeLoad NameLoad attr
N/A N/A Tool for deploying apps to an app server.

Currently, the application only uploads new appversions. To do this, it first
walks the directory tree rooted at the path the user specifies, adding all the
files it finds to a list. It then uploads the application configuration
(app.yaml) to the server using HTTP, followed by uploading each of the files.
It then commits the transaction with another request.

The bulk of this work is handled by the AppVersionUpload class, which exposes
methods to add to the list of files, fetch a list of modified files, upload
files, and commit or rollback the transaction.
 N/A calendar N/A copy N/A datetime N/A errno N/A getpass N/A hashlib N/A logging N/A mimetypes N/A optparse N/A os N/A random N/A re N/A subprocess N/A sys N/A tempfile N/A time N/A urllib N/A urllib2 N/A google N/A yaml google.appengine.cron groctimespecification google.appengine.api appinfo google.appengine.api appinfo_includes google.appengine.api backendinfo google.appengine.api croninfo google.appengine.api dispatchinfo google.appengine.api dosinfo google.appengine.api queueinfo google.appengine.api yaml_errors google.appengine.api yaml_object google.appengine.datastore datastore_index google.appengine.tools appengine_rpc N/A N/A google.appengine.tools appengine_rpc_httplib2 N/A N/A N/A ImportError N/A N/A appengine_rpc_httplib2 None google.appengine.tools bulkloader google.appengine.tools sdk_update_checker N/A LIST_DELIMITER N/A TUPLE_DELIMITER | N/A BACKENDS_ACTION backends N/A MAX_LOG_LEVEL 4 N/A MAX_BATCH_SIZE 3200000 N/A MAX_BATCH_COUNT 100 N/A MAX_BATCH_FILE_SIZE 200000 N/A BATCH_OVERHEAD 500 N/A verbosity 1 N/A PREFIXED_BY_ADMIN_CONSOLE_RE ^(?:admin-console)(.*) N/A SDK_PRODUCT appcfg_py N/A DAY N/A 24 3600 N/A SUNDAY 6 N/A SUPPORTED_RUNTIMES N/A go python python27 N/A MEGA N/A 1024 1024 N/A MILLION N/A 1000 1000 N/A DEFAULT_RESOURCE_LIMITS N/A max_file_size max_blob_size max_files_to_clone max_total_file_size max_file_count N/A 32 MILLION N/A 32 MILLION 100 N/A 150 MEGA 10000 N/A APPCFG_CLIENT_ID 550516889912.apps.googleusercontent.com N/A APPCFG_CLIENT_NOTSOSECRET ykPq-0UYfKNprLRjVx1hBBar N/A APPCFG_SCOPES N/A https://www.googleapis.com/auth/appengine.admin N/A STATIC_FILE_PREFIX __static__ Error N/A Exception N/A N/A N/A OAuthNotAvailable N/A Error N/A N/A The appengine_rpc_httplib2 module could not be imported. N/A PrintUpdate N/A N/A msg N/A N/A N/A Print a message to stderr.

  If 'verbosity' is greater than 0, print the message.

  Args:
    msg: The string to print.
   N/A N/A verbosity 0 N/A N/A timestamp N/A N/A N/A datetime datetime now N/A N/A sys stderr N/A %s N/A N/A N/A N/A N/A datetime datetime now strftime %I:%M %p N/A N/A sys stderr msg N/A StatusUpdate N/A N/A msg N/A N/A N/A Print a status message to stderr. N/A N/A PrintUpdate msg N/A ErrorUpdate N/A N/A msg N/A N/A N/A Print an error message to stderr. N/A N/A PrintUpdate msg N/A _PrintErrorAndExit N/A N/A stream msg exit_code N/A 2 N/A N/A Prints the given error message and exists the program.

  Args:
    stream: The stream (e.g. StringIO or file) to write the message to.
    msg: The error message to display as a string.
    exit_code: The integer code to pass to sys.exit().
   N/A N/A N/A stream write msg N/A N/A N/A sys exit exit_code N/A FileClassification N/A object N/A N/A A class to hold a file's classification.

  This class both abstracts away the details of how we determine
  whether a file is a regular, static or error file as well as acting
  as a container for various metadata about the file.
   __init__ N/A N/A self config filename N/A N/A N/A Initializes a FileClassification instance.

    Args:
      config: The app.yaml object to check the filename against.
      filename: The name of the file.
     N/A N/A self __static_mime_type N/A N/A self __GetMimeTypeIfStaticFile config filename N/A N/A self __static_app_readable N/A N/A self __GetAppReadableIfStaticFile config filename N/A N/A N/A self __error_mime_type N/A self __error_code N/A N/A self __LookupErrorBlob config filename N/A __GetMimeTypeIfStaticFile N/A N/A config filename N/A N/A N/A Looks up the mime type for 'filename'.

    Uses the handlers in 'config' to determine if the file should
    be treated as a static file.

    Args:
      config: The app.yaml object to check the filename against.
      filename: The name of the file.

    Returns:
      The mime type string.  For example, 'text/plain' or 'image/gif'.
      None if this is not a static file.
     N/A handler N/A config handlers N/A N/A handler_type N/A N/A handler GetHandlerType N/A N/A handler_type N/A static_dir static_files N/A N/A N/A handler_type static_dir N/A N/A regex N/A N/A N/A os path join N/A N/A re escape N/A N/A handler GetHandler .* N/A N/A regex N/A handler upload N/A N/A N/A re match regex filename N/A N/A N/A N/A handler mime_type N/A N/A FileClassification __MimeType filename N/A None N/A staticmethod __GetAppReadableIfStaticFile N/A N/A config filename N/A N/A N/A Looks up whether a static file is readable by the application.

    Uses the handlers in 'config' to determine if the file should
    be treated as a static file and if so, if the file should be readable by the
    application.

    Args:
      config: The AppInfoExternal object to check the filename against.
      filename: The name of the file.

    Returns:
      True if the file is static and marked as app readable, False otherwise.
     N/A handler N/A config handlers N/A N/A handler_type N/A N/A handler GetHandlerType N/A N/A handler_type N/A static_dir static_files N/A N/A N/A handler_type static_dir N/A N/A regex N/A N/A N/A os path join N/A N/A re escape N/A N/A handler GetHandler .* N/A N/A regex N/A handler upload N/A N/A N/A re match regex filename N/A N/A N/A handler application_readable N/A False N/A staticmethod __LookupErrorBlob N/A N/A config filename N/A N/A N/A Looks up the mime type and error_code for 'filename'.

    Uses the error handlers in 'config' to determine if the file should
    be treated as an error blob.

    Args:
      config: The app.yaml object to check the filename against.
      filename: The name of the file.

    Returns:

      A tuple of (mime_type, error_code), or (None, None) if this is not an
      error blob.  For example, ('text/plain', default) or ('image/gif',
      timeout) or (None, None).
     N/A N/A N/A config error_handlers N/A N/A N/A None None N/A error_handler N/A config error_handlers N/A N/A N/A N/A error_handler file filename N/A N/A error_code N/A error_handler error_code N/A error_code N/A error_code default N/A N/A error_handler mime_type N/A N/A N/A N/A error_handler mime_type error_code N/A N/A N/A N/A N/A FileClassification __MimeType filename error_code N/A N/A None None N/A staticmethod __MimeType N/A N/A filename default N/A application/octet-stream N/A N/A guess N/A N/A N/A mimetypes guess_type filename N/A 0 N/A N/A guess None N/A N/A N/A sys stderr N/A Could not guess mimetype for %s.  Using %s. N/A filename default N/A default N/A guess N/A staticmethod IsApplicationFile N/A N/A self N/A N/A N/A N/A bool N/A N/A N/A N/A N/A self IsStaticFile N/A self __static_app_readable N/A N/A N/A self IsErrorFile N/A IsStaticFile N/A N/A self N/A N/A N/A N/A bool N/A self __static_mime_type N/A StaticMimeType N/A N/A self N/A N/A N/A N/A self __static_mime_type N/A IsErrorFile N/A N/A self N/A N/A N/A N/A bool N/A self __error_mime_type N/A ErrorMimeType N/A N/A self N/A N/A N/A N/A self __error_mime_type N/A ErrorCode N/A N/A self N/A N/A N/A N/A self __error_code N/A N/A BuildClonePostBody N/A N/A file_tuples N/A N/A N/A Build the post body for the /api/clone{files,blobs,errorblobs} urls.

  Args:
    file_tuples: A list of tuples.  Each tuple should contain the entries
      appropriate for the endpoint in question.

  Returns:
    A string containing the properly delimited tuples.
   N/A file_list N/A N/A tup file_tuples N/A N/A path N/A tup N/A 1 N/A tup N/A tup N/A 2 N/A N/A N/A file_list append N/A N/A TUPLE_DELIMITER join N/A N/A path N/A list tup N/A N/A N/A LIST_DELIMITER join file_list N/A GetRemoteResourceLimits N/A N/A rpcserver config N/A N/A N/A Get the resource limit as reported by the admin console.

  Get the resource limits by querying the admin_console/appserver. The
  actual limits returned depends on the server we are talking to and
  could be missing values we expect or include extra values.

  Args:
    rpcserver: The RPC server to use.
    config: The appyaml configuration.

  Returns:
    A dictionary.
   N/A N/A N/A N/A StatusUpdate Getting current resource limits. N/A yaml_data N/A N/A rpcserver Send /api/appversion/getresourcelimits app_id N/A config application version N/A config version N/A N/A N/A N/A urllib2 HTTPError N/A err N/A N/A N/A N/A err code 404 N/A N/A N/A N/A N/A N/A N/A yaml safe_load yaml_data N/A GetResourceLimits N/A N/A rpcserver config N/A N/A N/A Gets the resource limits.

  Gets the resource limits that should be applied to apps. Any values
  that the server does not know about will have their default value
  reported (although it is also possible for the server to report
  values we don't know about).

  Args:
    rpcserver: The RPC server to use.
    config: The appyaml configuration.

  Returns:
    A dictionary.
   N/A resource_limits N/A N/A DEFAULT_RESOURCE_LIMITS copy N/A N/A N/A resource_limits update N/A GetRemoteResourceLimits rpcserver config N/A N/A N/A logging debug Using resource limits: %s resource_limits N/A resource_limits N/A RetryWithBackoff N/A N/A callable_func retry_notify_func initial_delay backoff_factor max_delay max_tries N/A 1 2 60 20 N/A N/A Calls a function multiple times, backing off more and more each time.

  Args:
    callable_func: A function that performs some operation that should be
      retried a number of times up on failure.  Signature: () -> (done, value)
      If 'done' is True, we'll immediately return (True, value)
      If 'done' is False, we'll delay a bit and try again, unless we've
      hit the 'max_tries' limit, in which case we'll return (False, value).
    retry_notify_func: This function will be called immediately before the
      next retry delay.  Signature: (value, delay) -> None
      'value' is the value returned by the last call to 'callable_func'
      'delay' is the retry delay, in seconds
    initial_delay: Initial delay after first try, in seconds.
    backoff_factor: Delay will be multiplied by this factor after each try.
    max_delay: Maximum delay, in seconds.
    max_tries: Maximum number of tries (the first one counts).

  Returns:
    What the last call to 'callable_func' returned, which is of the form
    (done, value).  If 'done' is True, you know 'callable_func' returned True
    before we ran out of retries.  If 'done' is False, you know 'callable_func'
    kept returning False and we ran out of retries.

  Raises:
    Whatever the function raises--an exception will immediately stop retries.
   N/A delay initial_delay N/A num_tries 0 N/A True N/A N/A N/A done opaque_value N/A callable_func N/A num_tries 1 N/A done N/A N/A N/A True opaque_value N/A N/A num_tries max_tries N/A N/A N/A False opaque_value N/A N/A retry_notify_func opaque_value delay N/A N/A N/A time sleep delay N/A delay N/A min N/A delay backoff_factor max_delay N/A MigratePython27Notice N/A N/A N/A N/A N/A Tells the user that Python 2.5 runtime is deprecated.

  Encourages the user to migrate from Python 2.5 to Python 2.7.

  Prints a message to sys.stdout. The caller should have tested that the user is
  using Python 2.5, so as not to spuriously display this message.
   N/A WARNING: This application is using the Python 2.5 runtime, which is deprecated! It should be updated to the Python 2.7 runtime as soon as possible, which offers performance improvements and many new features. Learn how simple it is to migrate your application to Python 2.7 at https://developers.google.com/appengine/docs/python/python25/migrate27. N/A IndexDefinitionUpload N/A object N/A N/A Provides facilities to upload index definitions to the hosting service. __init__ N/A N/A self rpcserver config definitions N/A N/A N/A Creates a new DatastoreIndexUpload.

    Args:
      rpcserver: The RPC server to use.  Should be an instance of HttpRpcServer
        or TestRpcServer.
      config: The AppInfoExternal object derived from the app.yaml file.
      definitions: An IndexDefinitions object.
     N/A N/A self rpcserver rpcserver N/A N/A self config config N/A N/A self definitions definitions N/A DoUpload N/A N/A self N/A N/A N/A Uploads the index definitions. N/A N/A StatusUpdate Uploading index definitions. N/A N/A N/A N/A self rpcserver Send /api/datastore/index/add app_id N/A N/A self config application version N/A N/A self config version payload N/A N/A N/A self definitions ToYAML N/A N/A CronEntryUpload N/A object N/A N/A Provides facilities to upload cron entries to the hosting service. __init__ N/A N/A self rpcserver config cron N/A N/A N/A Creates a new CronEntryUpload.

    Args:
      rpcserver: The RPC server to use.  Should be an instance of a subclass of
      AbstractRpcServer
      config: The AppInfoExternal object derived from the app.yaml file.
      cron: The CronInfoExternal object loaded from the cron.yaml file.
     N/A N/A self rpcserver rpcserver N/A N/A self config config N/A N/A self cron cron N/A DoUpload N/A N/A self N/A N/A N/A Uploads the cron entries. N/A N/A StatusUpdate Uploading cron entries. N/A N/A N/A N/A self rpcserver Send /api/cron/update app_id N/A N/A self config application version N/A N/A self config version payload N/A N/A N/A self cron ToYAML N/A N/A QueueEntryUpload N/A object N/A N/A Provides facilities to upload task queue entries to the hosting service. __init__ N/A N/A self rpcserver config queue N/A N/A N/A Creates a new QueueEntryUpload.

    Args:
      rpcserver: The RPC server to use.  Should be an instance of a subclass of
      AbstractRpcServer
      config: The AppInfoExternal object derived from the app.yaml file.
      queue: The QueueInfoExternal object loaded from the queue.yaml file.
     N/A N/A self rpcserver rpcserver N/A N/A self config config N/A N/A self queue queue N/A DoUpload N/A N/A self N/A N/A N/A Uploads the task queue entries. N/A N/A StatusUpdate Uploading task queue entries. N/A N/A N/A N/A self rpcserver Send /api/queue/update app_id N/A N/A self config application version N/A N/A self config version payload N/A N/A N/A self queue ToYAML N/A N/A DosEntryUpload N/A object N/A N/A Provides facilities to upload dos entries to the hosting service. __init__ N/A N/A self rpcserver config dos N/A N/A N/A Creates a new DosEntryUpload.

    Args:
      rpcserver: The RPC server to use. Should be an instance of a subclass of
        AbstractRpcServer.
      config: The AppInfoExternal object derived from the app.yaml file.
      dos: The DosInfoExternal object loaded from the dos.yaml file.
     N/A N/A self rpcserver rpcserver N/A N/A self config config N/A N/A self dos dos N/A DoUpload N/A N/A self N/A N/A N/A Uploads the dos entries. N/A N/A StatusUpdate Uploading DOS entries. N/A N/A N/A N/A self rpcserver Send /api/dos/update app_id N/A N/A self config application version N/A N/A self config version payload N/A N/A N/A self dos ToYAML N/A N/A PagespeedEntryUpload N/A object N/A N/A Provides facilities to upload pagespeed configs to the hosting service. __init__ N/A N/A self rpcserver config pagespeed N/A N/A N/A Creates a new PagespeedEntryUpload.

    Args:
      rpcserver: The RPC server to use. Should be an instance of a subclass of
        AbstractRpcServer.
      config: The AppInfoExternal object derived from the app.yaml file.
      pagespeed: The PagespeedEntry object from config.
     N/A N/A self rpcserver rpcserver N/A N/A self config config N/A N/A self pagespeed pagespeed N/A DoUpload N/A N/A self N/A N/A N/A Uploads the pagespeed entries. N/A pagespeed_yaml N/A N/A self pagespeed N/A N/A N/A StatusUpdate Uploading PageSpeed configuration. N/A pagespeed_yaml N/A N/A N/A self pagespeed ToYAML N/A N/A N/A N/A N/A N/A self rpcserver Send /api/appversion/updatepagespeed app_id N/A N/A self config application version N/A N/A self config version payload pagespeed_yaml N/A N/A N/A N/A urllib2 HTTPError N/A err N/A N/A N/A N/A N/A err code 404 N/A N/A self pagespeed None N/A N/A N/A N/A DefaultVersionSet N/A object N/A N/A Provides facilities to set the default (serving) version. __init__ N/A N/A self rpcserver app_id server version N/A N/A N/A Creates a new DefaultVersionSet.

    Args:
      rpcserver: The RPC server to use. Should be an instance of a subclass of
        AbstractRpcServer.
      app_id: The application to make the change to.
      server: The server to set the default version of (if any).
      version: The version to set as the default.
     N/A N/A self rpcserver rpcserver N/A N/A self app_id app_id N/A N/A self server server N/A N/A self version version N/A SetVersion N/A N/A self N/A N/A N/A Sets the default version. N/A N/A self server N/A N/A N/A StatusUpdate N/A Setting default version of server %s of application %s to %s. N/A N/A self app_id N/A self server N/A self version N/A N/A N/A StatusUpdate N/A Setting default version of application %s to %s. N/A N/A self app_id N/A self version N/A N/A N/A N/A self rpcserver Send /api/appversion/setdefault app_id N/A self app_id server N/A self server version N/A self version N/A N/A IndexOperation N/A object N/A N/A Provide facilities for writing Index operation commands. __init__ N/A N/A self rpcserver config N/A N/A N/A Creates a new IndexOperation.

    Args:
      rpcserver: The RPC server to use.  Should be an instance of HttpRpcServer
        or TestRpcServer.
      config: appinfo.AppInfoExternal configuration object.
     N/A N/A self rpcserver rpcserver N/A N/A self config config N/A DoDiff N/A N/A self definitions N/A N/A N/A Retrieve diff file from the server.

    Args:
      definitions: datastore_index.IndexDefinitions as loaded from users
        index.yaml file.

    Returns:
      A pair of datastore_index.IndexDefinitions objects.  The first record
      is the set of indexes that are present in the index.yaml file but missing
      from the server.  The second record is the set of indexes that are
      present on the server but missing from the index.yaml file (indicating
      that these indexes should probably be vacuumed).
     N/A N/A StatusUpdate Fetching index definitions diff. N/A response N/A N/A N/A self rpcserver Send /api/datastore/index/diff app_id N/A N/A self config application payload N/A N/A definitions ToYAML N/A N/A N/A datastore_index ParseMultipleIndexDefinitions response N/A DoDelete N/A N/A self definitions N/A N/A N/A Delete indexes from the server.

    Args:
      definitions: Index definitions to delete from datastore.

    Returns:
      A single datstore_index.IndexDefinitions containing indexes that were
      not deleted, probably because they were already removed.  This may
      be normal behavior as there is a potential race condition between fetching
      the index-diff and sending deletion confirmation through.
     N/A N/A StatusUpdate Deleting selected index definitions. N/A response N/A N/A N/A self rpcserver Send /api/datastore/index/delete app_id N/A N/A self config application payload N/A N/A definitions ToYAML N/A N/A N/A datastore_index ParseIndexDefinitions response N/A N/A VacuumIndexesOperation N/A IndexOperation N/A N/A Provide facilities to request the deletion of datastore indexes. __init__ N/A N/A self rpcserver config force confirmation_fn N/A raw_input N/A N/A Creates a new VacuumIndexesOperation.

    Args:
      rpcserver: The RPC server to use.  Should be an instance of HttpRpcServer
        or TestRpcServer.
      config: appinfo.AppInfoExternal configuration object.
      force: True to force deletion of indexes, else False.
      confirmation_fn: Function used for getting input form user.
     N/A N/A N/A N/A super VacuumIndexesOperation self __init__ rpcserver config N/A N/A self force force N/A N/A self confirmation_fn confirmation_fn N/A GetConfirmation N/A N/A self index N/A N/A N/A Get confirmation from user to delete an index.

    This method will enter an input loop until the user provides a
    response it is expecting.  Valid input is one of three responses:

      y: Confirm deletion of index.
      n: Do not delete index.
      a: Delete all indexes without asking for further confirmation.

    If the user enters nothing at all, the default action is to skip
    that index and do not delete.

    If the user selects 'a', as a side effect, the 'force' flag is set.

    Args:
      index: Index to confirm.

    Returns:
      True if user enters 'y' or 'a'.  False if user enter 'n'.
     N/A True N/A N/A This index is no longer defined in your index.yaml file. N/A N/A N/A N/A index ToYAML N/A N/A confirmation N/A N/A self confirmation_fn Are you sure you want to delete this index? (N/y/a):  N/A confirmation N/A N/A N/A N/A confirmation strip lower N/A N/A confirmation y N/A N/A True N/A N/A N/A N/A confirmation n N/A confirmation N/A N/A False N/A N/A N/A confirmation a N/A N/A N/A self force True N/A True N/A N/A Did not understand your response. N/A DoVacuum N/A N/A self definitions N/A N/A N/A Vacuum indexes in datastore.

    This method will query the server to determine which indexes are not
    being used according to the user's local index.yaml file.  Once it has
    made this determination, it confirms with the user which unused indexes
    should be deleted.  Once confirmation for each index is receives, it
    deletes those indexes.

    Because another user may in theory delete the same indexes at the same
    time as the user, there is a potential race condition.  In this rare cases,
    some of the indexes previously confirmed for deletion will not be found.
    The user is notified which indexes these were.

    Args:
      definitions: datastore_index.IndexDefinitions as loaded from users
        index.yaml file.
     N/A N/A unused_new_indexes notused_indexes N/A N/A self DoDiff definitions N/A deletions N/A N/A datastore_index IndexDefinitions indexes N/A N/A N/A N/A notused_indexes indexes None N/A N/A index N/A notused_indexes indexes N/A N/A N/A N/A self force N/A N/A self GetConfirmation index N/A N/A N/A N/A N/A deletions indexes append index N/A N/A deletions indexes N/A N/A not_deleted N/A N/A self DoDelete deletions N/A N/A not_deleted indexes N/A N/A not_deleted_count N/A len N/A not_deleted indexes N/A N/A not_deleted_count 1 N/A N/A warning_message An index was not deleted.  Most likely this is because it no longer exists.

 N/A N/A warning_message N/A %d indexes were not deleted.  Most likely this is because they no longer exist.

 not_deleted_count N/A index N/A not_deleted indexes N/A N/A warning_message N/A N/A index ToYAML N/A N/A N/A logging warning warning_message N/A N/A LogsRequester N/A object N/A N/A Provide facilities to export request logs. __init__ N/A N/A self rpcserver app_id server version_id output_file num_days append severity end vhost include_vhost include_all time_func N/A None N/A time time N/A N/A Constructor.

    Args:
      rpcserver: The RPC server to use.  Should be an instance of HttpRpcServer
        or TestRpcServer.
      app_id: The application to fetch logs from.
      server: The server of the app to fetch logs from, optional.
      version_id: The version of the app to fetch logs for.
      output_file: Output file name.
      num_days: Number of days worth of logs to export; 0 for all available.
      append: True if appending to an existing file.
      severity: App log severity to request (0-4); None for no app logs.
      end: date object representing last day of logs to return.
      vhost: The virtual host of log messages to get. None for all hosts.
      include_vhost: If true, the virtual host is included in log messages.
      include_all: If true, we add to the log message everything we know
        about the request.
      time_func: Method that return a timestamp representing now (for testing).
     N/A N/A self rpcserver rpcserver N/A N/A self app_id app_id N/A N/A self output_file output_file N/A N/A self append append N/A N/A self num_days num_days N/A N/A self severity severity N/A N/A self vhost vhost N/A N/A self include_vhost include_vhost N/A N/A self include_all include_all N/A N/A self server server N/A N/A self version_id version_id N/A N/A self sentinel None N/A N/A self write_mode w N/A N/A self append N/A N/A N/A self sentinel N/A FindSentinel N/A self output_file N/A N/A self write_mode a N/A N/A self skip_until False N/A now N/A PacificDate N/A time_func N/A N/A end now N/A N/A N/A self skip_until end N/A N/A end now N/A N/A self valid_dates None N/A N/A self num_days N/A N/A start N/A end N/A N/A datetime timedelta N/A N/A self num_days 1 N/A N/A self valid_dates N/A start end N/A DownloadLogs N/A N/A self N/A N/A N/A Download the requested logs.

    This will write the logs to the file designated by
    self.output_file, or to stdout if the filename is '-'.
    Multiple roundtrips to the server may be made.
     N/A N/A self server N/A N/A N/A StatusUpdate N/A Downloading request logs for app %s server %s version %s. N/A N/A self app_id N/A self server N/A self version_id N/A N/A N/A StatusUpdate N/A Downloading request logs for app %s version %s. N/A N/A self app_id N/A self version_id N/A tf N/A N/A tempfile TemporaryFile N/A last_offset None N/A N/A N/A True N/A N/A N/A N/A new_offset N/A N/A self RequestLogLines tf last_offset N/A N/A N/A new_offset N/A new_offset last_offset N/A N/A N/A last_offset new_offset N/A N/A N/A KeyboardInterrupt N/A N/A N/A StatusUpdate Keyboard interrupt; saving data downloaded so far. N/A N/A N/A StatusUpdate N/A Copying request logs to %r. N/A self output_file N/A N/A N/A self output_file - N/A N/A of N/A sys stdout N/A N/A N/A N/A of N/A open N/A self output_file N/A self write_mode N/A N/A N/A IOError N/A err N/A N/A N/A StatusUpdate N/A Can't write %r: %s. N/A N/A self output_file err N/A N/A N/A sys exit 1 N/A N/A N/A line_count N/A CopyReversedLines tf of N/A N/A N/A N/A of flush N/A N/A of N/A sys stdout N/A N/A N/A N/A of close N/A N/A N/A N/A tf close N/A N/A StatusUpdate N/A Copied %d records. line_count N/A RequestLogLines N/A N/A self tf offset N/A N/A N/A Make a single roundtrip to the server.

    Args:
      tf: Writable binary stream to which the log lines returned by
        the server are written, stripped of headers, and excluding
        lines skipped due to self.sentinel or self.valid_dates filtering.
      offset: Offset string for a continued request; None for the first.

    Returns:
      The offset string to be used for the next request, if another
      request should be issued; or None, if not.
     N/A N/A N/A logging info Request with offset %r. offset N/A kwds N/A app_id version limit N/A self app_id N/A self version_id 1000 N/A N/A self server N/A N/A N/A kwds N/A server N/A self server N/A offset N/A N/A N/A kwds N/A offset offset N/A N/A N/A self severity None N/A N/A N/A kwds N/A severity N/A str N/A self severity N/A N/A N/A self vhost None N/A N/A N/A kwds N/A vhost N/A str N/A self vhost N/A N/A N/A self include_vhost None N/A N/A N/A kwds N/A include_vhost N/A str N/A self include_vhost N/A N/A N/A self include_all None N/A N/A N/A kwds N/A include_all N/A str N/A self include_all N/A response N/A N/A N/A self rpcserver Send /api/request_logs payload None kwds N/A response N/A N/A response replace N/A lines N/A N/A response splitlines N/A N/A N/A logging info Received %d bytes, %d records. N/A len response N/A len lines N/A offset None N/A N/A lines N/A N/A N/A lines N/A 0 startswith # N/A N/A match N/A N/A re match ^#\s*next_offset=(\S+)\s*$ N/A lines N/A 0 N/A N/A lines N/A 0 N/A match N/A N/A offset N/A N/A match group 1 N/A N/A lines N/A N/A N/A lines N/A -1 startswith # N/A N/A N/A lines N/A -1 N/A valid_dates N/A self valid_dates N/A sentinel N/A self sentinel N/A skip_until N/A self skip_until N/A len_sentinel None N/A sentinel N/A N/A len_sentinel N/A len sentinel N/A line lines N/A N/A N/A sentinel N/A N/A line startswith sentinel N/A N/A line N/A len_sentinel N/A len_sentinel 1 N/A N/A N/A None N/A linedate N/A DateOfLogLine line N/A N/A linedate N/A N/A N/A skip_until N/A N/A N/A linedate skip_until N/A N/A N/A N/A N/A self skip_until skip_until False N/A N/A valid_dates N/A N/A N/A valid_dates N/A 0 linedate N/A valid_dates N/A 1 N/A N/A None N/A N/A N/A tf write N/A line N/A N/A lines N/A N/A None N/A offset N/A N/A DateOfLogLine N/A N/A line N/A N/A N/A Returns a date object representing the log line's timestamp.

  Args:
    line: a log line string.
  Returns:
    A date object representing the timestamp or None if parsing fails.
   N/A m N/A N/A N/A N/A re compile [^[]+\[(\d+/[A-Za-z]+/\d+):[^\d]* match line N/A N/A m N/A N/A None N/A N/A N/A N/A N/A datetime date N/A N/A N/A time strptime N/A N/A m group 1 %d/%b/%Y N/A 3 N/A N/A N/A ValueError N/A N/A None N/A PacificDate N/A N/A now N/A N/A N/A For a UTC timestamp, return the date in the US/Pacific timezone.

  Args:
    now: A posix timestamp giving current UTC time.

  Returns:
    A date object representing what day it is in the US/Pacific timezone.
   N/A N/A N/A datetime date N/A N/A N/A time gmtime N/A PacificTime now N/A 3 N/A PacificTime N/A N/A now N/A N/A N/A Helper to return the number of seconds between UTC and Pacific time.

  This is needed to compute today's date in Pacific time (more
  specifically: Mountain View local time), which is how request logs
  are reported.  (Google servers always report times in Mountain View
  local time, regardless of where they are physically located.)

  This takes (post-2006) US DST into account.  Pacific time is either
  8 hours or 7 hours west of UTC, depending on whether DST is in
  effect.  Since 2007, US DST starts on the Second Sunday in March
  March, and ends on the first Sunday in November.  (Reference:
  http://aa.usno.navy.mil/faq/docs/daylight_time.php.)

  Note that the server doesn't report its local time (the HTTP Date
  header uses UTC), and the client's local time is irrelevant.

  Args:
    now: A posix timestamp giving current UTC time.

  Returns:
    A pseudo-posix timestamp giving current Pacific time.  Passing
    this through time.gmtime() will produce a tuple in Pacific local
    time.
   N/A now N/A 8 3600 N/A N/A IsPacificDST now N/A N/A now 3600 N/A now N/A IsPacificDST N/A N/A now N/A N/A N/A Helper for PacificTime to decide whether now is Pacific DST (PDT).

  Args:
    now: A pseudo-posix timestamp giving current time in PST.

  Returns:
    True if now falls within the range of DST, False otherwise.
   N/A pst N/A N/A time gmtime now N/A year N/A pst N/A 0 N/A N/A year 2007 N/A begin N/A N/A calendar timegm N/A year 3 8 2 0 0 0 0 0 N/A N/A N/A N/A N/A time gmtime begin tm_wday SUNDAY N/A N/A begin DAY N/A end N/A N/A calendar timegm N/A year 11 1 2 0 0 0 0 0 N/A N/A N/A N/A N/A time gmtime end tm_wday SUNDAY N/A N/A end DAY N/A N/A begin now end N/A CopyReversedLines N/A N/A instream outstream blocksize N/A N/A 2 16 N/A N/A Copy lines from input stream to output stream in reverse order.

  As a special feature, null bytes in the input are turned into
  newlines followed by tabs in the output, but these 'sub-lines'
  separated by null bytes are not reversed.  E.g. If the input is
  'A\0B\nC\0D\n', the output is 'C\n\tD\nA\n\tB\n'.

  Args:
    instream: A seekable stream open for reading in binary mode.
    outstream: A stream open for writing; doesn't have to be seekable or binary.
    blocksize: Optional block size for buffering, for unit testing.

  Returns:
    The number of lines copied.
   N/A line_count 0 N/A N/A N/A instream seek 0 2 N/A last_block N/A N/A N/A instream tell blocksize N/A spillover N/A iblock N/A xrange N/A last_block 1 -1 -1 N/A N/A N/A N/A instream seek N/A iblock blocksize N/A data N/A N/A instream read blocksize N/A lines N/A N/A data splitlines True N/A N/A lines N/A -1 N/A N/A N/A N/A join N/A N/A lines N/A -1 N/A spillover splitlines True N/A N/A lines N/A N/A N/A N/A lines N/A -1 endswith N/A N/A N/A lines N/A -1 N/A N/A N/A lines reverse N/A N/A lines N/A iblock 0 N/A N/A spillover N/A N/A lines pop N/A lines N/A N/A line_count N/A len lines N/A data N/A N/A N/A N/A join lines replace N/A N/A N/A outstream write data N/A line_count N/A FindSentinel N/A N/A filename blocksize N/A N/A 2 16 N/A N/A Return the sentinel line from the output file.

  Args:
    filename: The filename of the output file.  (We'll read this file.)
    blocksize: Optional block size for buffering, for unit testing.

  Returns:
    The contents of the last line in the file that doesn't start with
    a tab, with its trailing newline stripped; or None if the file
    couldn't be opened or no such line could be found by inspecting
    the last 'blocksize' bytes of the file.
   N/A N/A filename - N/A N/A N/A StatusUpdate Can't combine --append with output to stdout. N/A N/A N/A sys exit 2 N/A N/A N/A fp N/A open filename rb N/A N/A N/A IOError N/A err N/A N/A N/A StatusUpdate N/A Append mode disabled: can't read %r: %s. N/A filename err N/A None N/A N/A N/A N/A N/A fp seek 0 2 N/A N/A N/A fp seek N/A max 0 N/A N/A N/A fp tell blocksize N/A lines N/A N/A fp readlines N/A N/A lines N/A 1 N/A sentinel None N/A line lines N/A N/A N/A N/A N/A line startswith N/A N/A sentinel line N/A N/A sentinel N/A N/A N/A StatusUpdate N/A Append mode disabled: can't find sentinel in %r. filename N/A None N/A N/A N/A sentinel rstrip N/A N/A N/A N/A fp close N/A UploadBatcher N/A object N/A N/A Helper to batch file uploads. __init__ N/A N/A self what rpcserver params N/A N/A N/A Constructor.

    Args:
      what: Either 'file' or 'blob' or 'errorblob' indicating what kind of
        objects this batcher uploads.  Used in messages and URLs.
      rpcserver: The RPC server.
      params: A dictionary object containing URL params to add to HTTP requests.
     N/A N/A what N/A file blob errorblob N/A repr what N/A N/A self what what N/A N/A self params params N/A N/A self rpcserver rpcserver N/A N/A self single_url N/A /api/appversion/add what N/A N/A self batch_url N/A N/A self single_url s N/A N/A self batching True N/A N/A self batch N/A N/A N/A self batch_size 0 N/A SendBatch N/A N/A self N/A N/A N/A Send the current batch on its way.

    If successful, resets self.batch and self.batch_size.

    Raises:
      HTTPError with code=404 if the server doesn't support batching.
     N/A boundary boundary N/A parts N/A N/A N/A path payload mime_type N/A self batch N/A N/A N/A boundary payload N/A N/A boundary N/A %04x N/A N/A random randint 0 65535 N/A N/A N/A len boundary 80 Unexpected error, please try again. N/A part N/A N/A join N/A N/A X-Appcfg-File: %s N/A N/A urllib quote path N/A X-Appcfg-Hash: %s N/A _Hash payload N/A Content-Type: %s mime_type N/A Content-Length: %d N/A len payload Content-Transfer-Encoding: 8bit payload N/A N/A N/A parts append part N/A N/A N/A parts insert 0 N/A MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="%s"

This is a message with multiple parts in MIME format. boundary N/A N/A N/A parts append --
 N/A delimiter N/A 
--%s boundary N/A payload N/A N/A delimiter join parts N/A N/A N/A logging info Uploading batch of %d %ss to %s with boundary="%s". N/A len N/A self batch N/A self what N/A self batch_url boundary N/A N/A N/A N/A self rpcserver Send N/A self batch_url payload payload content_type message/rfc822 N/A self params N/A N/A self batch N/A N/A N/A self batch_size 0 N/A SendSingleFile N/A N/A self path payload mime_type N/A N/A N/A Send a single file on its way. N/A N/A N/A logging info Uploading %s %s (%s bytes, type=%s) to %s. N/A self what path N/A len payload mime_type N/A self single_url N/A N/A N/A N/A self rpcserver Send N/A self single_url payload payload content_type mime_type path path N/A self params N/A Flush N/A N/A self N/A N/A N/A Flush the current batch.

    This first attempts to send the batch as a single request; if that
    fails because the server doesn't support batching, the files are
    sent one by one, and self.batching is reset to False.

    At the end, self.batch and self.batch_size are reset.
     N/A N/A N/A self batch N/A N/A N/A N/A N/A N/A N/A self SendBatch N/A N/A N/A N/A urllib2 HTTPError N/A err N/A N/A N/A N/A err code 404 N/A N/A N/A N/A N/A logging info Old server detected; turning off %s batching. N/A self what N/A N/A self batching False N/A N/A path payload mime_type N/A self batch N/A N/A N/A N/A self SendSingleFile path payload mime_type N/A N/A self batch N/A N/A N/A self batch_size 0 N/A AddToBatch N/A N/A self path payload mime_type N/A N/A N/A Batch a file, possibly flushing first, or perhaps upload it directly.

    Args:
      path: The name of the file.
      payload: The contents of the file.
      mime_type: The MIME Content-type of the file, or None.

    If mime_type is None, application/octet-stream is substituted.
     N/A N/A mime_type N/A N/A mime_type application/octet-stream N/A size N/A len payload N/A N/A size MAX_BATCH_FILE_SIZE N/A N/A N/A N/A N/A len N/A self batch MAX_BATCH_COUNT N/A N/A N/A self batch_size size MAX_BATCH_SIZE N/A N/A N/A N/A self Flush N/A N/A self batching N/A N/A N/A N/A logging info Adding %s %s (%s bytes, type=%s) to batch. N/A self what path size mime_type N/A N/A N/A N/A self batch append N/A path payload mime_type N/A N/A self batch_size N/A size BATCH_OVERHEAD N/A N/A N/A N/A self SendSingleFile path payload mime_type N/A N/A _FormatHash N/A N/A h N/A N/A N/A Return a string representation of a hash.

  The hash is a sha1 hash. It is computed both for files that need to be
  pushed to App Engine and for data payloads of requests made to App Engine.

  Args:
    h: The hash

  Returns:
    The string representation of the hash.
   N/A N/A %s_%s_%s_%s_%s N/A N/A h N/A 0 8 N/A h N/A 8 16 N/A h N/A 16 24 N/A h N/A 24 32 N/A h N/A 32 40 N/A _Hash N/A N/A content N/A N/A N/A Compute the sha1 hash of the content.

  Args:
    content: The data to hash as a string.

  Returns:
    The string representation of the hash.
   N/A h N/A N/A N/A N/A hashlib sha1 content hexdigest N/A N/A _FormatHash h N/A _HashFromFileHandle N/A N/A file_handle N/A N/A N/A Compute the hash of the content of the file pointed to by file_handle.

  Args:
    file_handle: File-like object which provides seek, read and tell.

  Returns:
    The string representation of the hash.
   N/A pos N/A N/A file_handle tell N/A content_hash N/A _Hash N/A N/A file_handle read N/A N/A N/A file_handle seek pos 0 N/A content_hash N/A EnsureDir N/A N/A path N/A N/A N/A Makes sure that a directory exists at the given path.

  If a directory already exists at that path, nothing is done.
  Otherwise, try to create a directory at that path with os.makedirs.
  If that fails, propagate the resulting OSError exception.

  Args:
    path: The path that you want to refer to a directory.
   N/A N/A N/A N/A N/A os makedirs path N/A N/A N/A OSError N/A exc N/A N/A N/A N/A N/A N/A exc errno N/A errno EEXIST N/A N/A N/A os path isdir path N/A N/A N/A DoDownloadApp N/A N/A rpcserver out_dir app_id server app_version N/A N/A N/A Downloads the files associated with a particular app version.

  Args:
    rpcserver: The RPC server to use to download.
    out_dir: The directory the files should be downloaded to.
    app_id: The app ID of the app whose files we want to download.
    server: The server we want to download from.  Can be:
      - None: We'll download from the default server.
      - <server>: We'll download from the specified server.
    app_version: The version number we want to download.  Can be:
      - None: We'll download the latest default version.
      - <major>: We'll download the latest minor version.
      - <major>/<minor>: We'll download that exact version.
   N/A N/A StatusUpdate Fetching file list... N/A url_args N/A app_id app_id N/A server N/A N/A N/A url_args N/A server server N/A N/A app_version None N/A N/A N/A url_args N/A version_match app_version N/A result N/A N/A rpcserver Send /api/files/list url_args N/A N/A StatusUpdate Fetching files... N/A lines N/A N/A result splitlines N/A N/A N/A len lines 1 N/A N/A N/A N/A logging error Invalid response from server: empty N/A N/A full_version N/A lines N/A 0 N/A file_lines N/A lines N/A 1 N/A current_file_number 0 N/A num_files N/A len file_lines N/A num_errors 0 N/A line file_lines N/A N/A parts N/A N/A line split | 2 N/A N/A N/A len parts 3 N/A N/A N/A N/A logging error Invalid response from server: expecting "<id>|<size>|<path>", found: "%s"
 line N/A N/A current_file_number 1 N/A N/A file_id size_str path parts N/A N/A N/A size N/A int size_str N/A N/A N/A ValueError N/A N/A N/A N/A logging error Invalid file list entry from server: invalid size: "%s" size_str N/A N/A N/A StatusUpdate N/A [%d/%d] %s N/A current_file_number num_files path TryGet N/A N/A N/A N/A N/A A request to /api/files/get which works with the RetryWithBackoff. N/A N/A N/A contents N/A N/A rpcserver Send /api/files/get app_id app_id version full_version id file_id N/A N/A True contents N/A N/A N/A N/A urllib2 HTTPError N/A exc N/A N/A N/A N/A exc code 503 N/A N/A N/A False exc N/A N/A N/A PrintRetryMessage N/A N/A _ delay N/A N/A N/A N/A StatusUpdate N/A Server busy.  Will try again in %d seconds. delay N/A N/A N/A success contents N/A RetryWithBackoff TryGet PrintRetryMessage N/A N/A success N/A N/A N/A N/A logging error Unable to download file "%s". path N/A num_errors 1 N/A N/A N/A N/A len contents size N/A N/A N/A N/A logging error File "%s": server listed as %d bytes but served %d bytes. path size N/A len contents N/A num_errors 1 N/A full_path N/A N/A N/A os path join out_dir path N/A N/A N/A N/A os path exists full_path N/A N/A N/A N/A logging error Unable to create file "%s": path conflicts with an existing file or directory path N/A num_errors 1 N/A N/A full_dir N/A N/A N/A os path dirname full_path N/A N/A N/A N/A EnsureDir full_dir N/A N/A N/A OSError N/A exc N/A N/A N/A N/A logging error Couldn't create directory "%s": %s full_dir exc N/A num_errors 1 N/A N/A N/A N/A out_file N/A open full_path wb N/A N/A N/A IOError N/A exc N/A N/A N/A N/A logging error Couldn't open file "%s": %s full_path exc N/A num_errors 1 N/A N/A N/A N/A N/A N/A N/A N/A out_file write contents N/A N/A N/A IOError N/A exc N/A N/A N/A N/A logging error Couldn't write to file "%s": %s full_path exc N/A num_errors 1 N/A N/A N/A N/A N/A out_file close N/A N/A num_errors 0 N/A N/A N/A N/A logging error Number of errors: %d.  See output for details. num_errors N/A AppVersionUpload N/A object N/A N/A Provides facilities to upload a new appversion to the hosting service.

  Attributes:
    rpcserver: The AbstractRpcServer to use for the upload.
    config: The AppInfoExternal object derived from the app.yaml file.
    app_id: The application string from 'config'.
    version: The version string from 'config'.
    backend: The backend to update, if any.
    files: A dictionary of files to upload to the rpcserver, mapping path to
      hash of the file contents.
    in_transaction: True iff a transaction with the server has started.
      An AppVersionUpload can do only one transaction at a time.
    deployed: True iff the Deploy method has been called.
    started: True iff the StartServing method has been called.
   __init__ N/A N/A self rpcserver config server_yaml_path backend error_fh N/A app.yaml None None N/A N/A Creates a new AppVersionUpload.

    Args:
      rpcserver: The RPC server to use. Should be an instance of HttpRpcServer
        or TestRpcServer.
      config: An AppInfoExternal object that specifies the configuration for
        this application.
      server_yaml_path: The (string) path to the yaml file corresponding to
        <config>, relative to the bundle directory.
      backend: If specified, indicates the update applies to the given backend.
        The backend name must match an entry in the backends: stanza.
      error_fh: Unexpected HTTPErrors are printed to this file handle.
     N/A N/A self rpcserver rpcserver N/A N/A self config config N/A N/A self app_id N/A N/A self config application N/A N/A self server N/A N/A self config server N/A N/A self backend backend N/A N/A self error_fh N/A error_fh N/A sys stderr N/A N/A self version N/A N/A self config version N/A N/A self params N/A N/A N/A self app_id N/A N/A N/A N/A self params N/A app_id N/A self app_id N/A N/A self server N/A N/A N/A N/A self params N/A server N/A self server N/A N/A self backend N/A N/A N/A N/A self params N/A backend N/A self backend N/A N/A N/A self version N/A N/A N/A N/A self params N/A version N/A self version N/A N/A self files N/A N/A N/A self all_files N/A set N/A N/A self in_transaction False N/A N/A self deployed False N/A N/A self started False N/A N/A self batching True N/A N/A self file_batcher N/A UploadBatcher file N/A self rpcserver N/A self params N/A N/A self blob_batcher N/A UploadBatcher blob N/A self rpcserver N/A self params N/A N/A self errorblob_batcher N/A UploadBatcher errorblob N/A self rpcserver N/A self params N/A N/A N/A N/A self config vm_settings N/A N/A N/A N/A self config vm_settings N/A N/A appinfo VmSettings N/A N/A N/A N/A self config vm_settings N/A server_yaml_path server_yaml_path N/A Send N/A N/A self url payload N/A N/A N/A Sends a request to the server, with common params. N/A N/A N/A logging info Send: %s, params=%s url N/A self params N/A N/A N/A N/A self rpcserver Send url payload payload N/A self params N/A AddFile N/A N/A self path file_handle N/A N/A N/A Adds the provided file to the list to be pushed to the server.

    Args:
      path: The path the file should be uploaded as.
      file_handle: A stream containing data to upload.
     N/A N/A N/A self in_transaction Already in a transaction. N/A N/A file_handle None N/A reason N/A N/A appinfo ValidFilename path N/A reason N/A N/A N/A N/A logging error reason N/A N/A content_hash N/A _HashFromFileHandle file_handle N/A N/A N/A self files N/A path content_hash N/A N/A N/A N/A self all_files add path N/A Describe N/A N/A self N/A N/A N/A Returns a string describing the object being updated. N/A result N/A app: %s N/A self app_id N/A N/A N/A N/A self server None N/A N/A self server N/A appinfo DEFAULT_SERVER N/A N/A result N/A , server: %s N/A self server N/A N/A self backend N/A N/A result N/A , backend: %s N/A self backend N/A N/A N/A self version N/A N/A result N/A , version: %s N/A self version N/A result N/A Begin N/A N/A self N/A N/A N/A Begins the transaction, returning a list of files that need uploading.

    All calls to AddFile must be made before calling Begin().

    Returns:
      A list of pathnames for files that should be uploaded using UploadFile()
      before Commit() can be called.
     N/A N/A N/A self in_transaction Already in a transaction. N/A config_copy N/A N/A copy deepcopy N/A self config N/A url N/A config_copy handlers N/A N/A handler_type N/A N/A url GetHandlerType N/A N/A url application_readable N/A N/A N/A handler_type static_dir N/A N/A N/A url static_dir N/A N/A N/A os path join STATIC_FILE_PREFIX N/A url static_dir N/A N/A N/A handler_type static_files N/A N/A N/A url static_files N/A N/A N/A os path join STATIC_FILE_PREFIX N/A url static_files N/A N/A url upload N/A N/A N/A os path join STATIC_FILE_PREFIX N/A url upload N/A N/A N/A self Send /api/appversion/create payload N/A N/A config_copy ToYAML N/A N/A self in_transaction True N/A files_to_clone N/A N/A blobs_to_clone N/A N/A errorblobs N/A N/A N/A path content_hash N/A N/A N/A self files iteritems N/A N/A file_classification N/A FileClassification N/A self config path N/A N/A N/A file_classification IsStaticFile N/A N/A upload_path path N/A N/A N/A file_classification IsApplicationFile N/A N/A upload_path N/A N/A N/A os path join STATIC_FILE_PREFIX path N/A N/A N/A blobs_to_clone append N/A path upload_path content_hash N/A N/A file_classification StaticMimeType N/A N/A N/A file_classification IsErrorFile N/A N/A N/A errorblobs N/A path content_hash N/A N/A N/A file_classification IsApplicationFile N/A N/A N/A N/A files_to_clone append N/A path path content_hash N/A files_to_upload N/A CloneFiles N/A N/A url files file_type N/A N/A N/A Sends files to the given url.

      Args:
        url: the server URL to use.
        files: a list of files
        file_type: the type of the files
       N/A N/A files N/A N/A N/A N/A StatusUpdate N/A Cloning %d %s file%s. N/A N/A len files file_type N/A N/A N/A N/A len files 1 s N/A max_files N/A N/A self resource_limits N/A max_files_to_clone N/A i N/A xrange 0 N/A len files max_files N/A N/A N/A N/A i 0 N/A N/A i max_files 0 N/A N/A N/A StatusUpdate N/A Cloned %d files. i N/A chunk N/A files N/A i N/A min N/A len files N/A i max_files N/A result N/A N/A self Send url payload N/A BuildClonePostBody chunk N/A result N/A N/A to_upload N/A N/A f N/A N/A result split LIST_DELIMITER N/A N/A entry files N/A N/A N/A real_path upload_path N/A entry N/A 2 N/A N/A f upload_path N/A N/A N/A to_upload N/A real_path N/A N/A self files N/A real_path N/A N/A N/A N/A files_to_upload update to_upload N/A N/A N/A CloneFiles /api/appversion/cloneblobs blobs_to_clone static N/A N/A CloneFiles /api/appversion/clonefiles files_to_clone application N/A N/A N/A logging debug Files to upload: %s files_to_upload N/A N/A path content_hash N/A N/A errorblobs iteritems N/A N/A N/A files_to_upload N/A path content_hash N/A N/A self files files_to_upload N/A N/A sorted N/A N/A files_to_upload iterkeys N/A UploadFile N/A N/A self path file_handle N/A N/A N/A Uploads a file to the hosting service.

    Must only be called after Begin().
    The path provided must be one of those that were returned by Begin().

    Args:
      path: The path the file is being uploaded as.
      file_handle: A file-like object containing the data to upload.

    Raises:
      KeyError: The provided file is not amongst those to be uploaded.
     N/A N/A self in_transaction Begin() must be called before UploadFile(). N/A N/A path N/A self files N/A N/A N/A KeyError N/A File '%s' is not in the list of files to be uploaded. path N/A N/A N/A self files N/A path N/A file_classification N/A FileClassification N/A self config path N/A payload N/A N/A file_handle read N/A N/A N/A file_classification IsStaticFile N/A N/A upload_path path N/A N/A N/A file_classification IsApplicationFile N/A N/A upload_path N/A N/A N/A os path join STATIC_FILE_PREFIX path N/A N/A N/A N/A self blob_batcher AddToBatch upload_path payload N/A N/A file_classification StaticMimeType N/A N/A N/A file_classification IsErrorFile N/A N/A N/A N/A N/A self errorblob_batcher AddToBatch N/A N/A file_classification ErrorCode payload N/A N/A file_classification ErrorMimeType N/A N/A N/A file_classification IsApplicationFile N/A N/A N/A N/A N/A self file_batcher AddToBatch path payload None N/A Precompile N/A N/A self N/A N/A N/A Handle bytecode precompilation. N/A N/A StatusUpdate Compilation starting. N/A files N/A N/A N/A N/A N/A self config runtime go N/A N/A f N/A self all_files N/A N/A N/A N/A N/A f endswith .go N/A N/A N/A N/A N/A self config nobuild_files match f N/A N/A N/A N/A files append f N/A True N/A N/A files N/A N/A N/A StatusUpdate N/A Compilation: %d files left. N/A len files N/A files N/A N/A self PrecompileBatch files N/A N/A files N/A N/A N/A N/A StatusUpdate Compilation completed. N/A PrecompileBatch N/A N/A self files N/A N/A N/A Precompile a batch of files.

    Args:
      files: Either an empty list (for the initial request) or a list
        of files to be precompiled.

    Returns:
      Either an empty list (if no more files need to be precompiled)
      or a list of files to be precompiled subsequently.
     N/A payload N/A N/A LIST_DELIMITER join files N/A response N/A N/A self Send /api/appversion/precompile payload payload N/A N/A response N/A N/A N/A N/A N/A N/A response split LIST_DELIMITER N/A Commit N/A N/A self N/A N/A N/A Commits the transaction, making the new app version available.

    All the files returned by Begin() must have been uploaded with UploadFile()
    before Commit() can be called.

    This tries the new 'deploy' method; if that fails it uses the old 'commit'.

    Returns:
      An appinfo.AppInfoSummary if one was returned from the Deploy, None
      otherwise.

    Raises:
      Exception: Some required files were not uploaded.
     N/A N/A self in_transaction Begin() must be called before Commit(). N/A N/A self files N/A N/A N/A Exception Not all required files have been uploaded. PrintRetryMessage N/A N/A _ delay N/A N/A N/A N/A StatusUpdate N/A Will check again in %s seconds. delay N/A N/A app_summary None N/A app_summary N/A N/A self Deploy N/A N/A success unused_contents N/A RetryWithBackoff N/A N/A N/A N/A N/A N/A N/A self IsReady None PrintRetryMessage 1 2 60 20 N/A N/A success N/A N/A N/A N/A logging warning Version still not ready to serve, aborting. N/A N/A Exception Version not ready. N/A result N/A N/A self StartServing N/A N/A result N/A N/A N/A self in_transaction False N/A N/A N/A success unused_contents N/A RetryWithBackoff N/A N/A N/A N/A N/A N/A N/A self IsServing None PrintRetryMessage 1 2 60 20 N/A N/A success N/A N/A N/A N/A logging warning Version still not serving, aborting. N/A N/A Exception Version not ready. N/A N/A self in_transaction False N/A app_summary N/A Deploy N/A N/A self N/A N/A N/A Deploys the new app version but does not make it default.

    All the files returned by Begin() must have been uploaded with UploadFile()
    before Deploy() can be called.

    Returns:
      An appinfo.AppInfoSummary if one was returned from the Deploy, None
      otherwise.

    Raises:
      Exception: Some required files were not uploaded.
     N/A N/A self in_transaction Begin() must be called before Deploy(). N/A N/A self files N/A N/A N/A Exception Not all required files have been uploaded. N/A N/A StatusUpdate Starting deployment. N/A result N/A N/A self Send /api/appversion/deploy N/A N/A self deployed True N/A result N/A N/A N/A N/A yaml_object BuildSingleObject N/A appinfo AppInfoSummary result N/A N/A None N/A IsReady N/A N/A self N/A N/A N/A Check if the new app version is ready to serve traffic.

    Raises:
      Exception: Deploy has not yet been called.

    Returns:
      True if the server returned the app is ready to serve.
     N/A N/A self deployed Deploy() must be called before IsReady(). N/A N/A StatusUpdate Checking if deployment succeeded. N/A result N/A N/A self Send /api/appversion/isready N/A N/A result 1 N/A StartServing N/A N/A self N/A N/A N/A Start serving with the newly created version.

    Raises:
      Exception: Deploy has not yet been called.

    Returns:
      The response body, as a string.
     N/A N/A self deployed Deploy() must be called before StartServing(). N/A N/A StatusUpdate Deployment successful. N/A N/A N/A self params N/A willcheckserving 1 N/A result N/A N/A self Send /api/appversion/startserving N/A N/A N/A self params N/A willcheckserving N/A N/A self started True N/A result N/A IsServing N/A N/A self N/A N/A N/A Check if the new app version is serving.

    Raises:
      Exception: Deploy has not yet been called.

    Returns:
      True if the deployed app version is serving.
     N/A N/A self started StartServing() must be called before IsServing(). N/A N/A StatusUpdate Checking if updated app version is serving. N/A result N/A N/A self Send /api/appversion/isserving N/A N/A result 1 N/A Rollback N/A N/A self N/A N/A N/A Rolls back the transaction if one is in progress. N/A N/A N/A self in_transaction N/A N/A N/A N/A StatusUpdate Rolling back the update. N/A N/A N/A self Send /api/appversion/rollback N/A N/A self in_transaction False N/A N/A self files N/A N/A DoUpload N/A N/A self paths openfunc N/A N/A N/A Uploads a new appversion with the given config and files to the server.

    Args:
      paths: An iterator that yields the relative paths of the files to upload.
      openfunc: A function that takes a path and returns a file-like object.

    Returns:
      An appinfo.AppInfoSummary if one was returned from the server, None
      otherwise.
     N/A N/A N/A logging info Reading app configuration. N/A N/A StatusUpdate N/A 
Starting update of %s N/A N/A self Describe N/A path N/A N/A N/A N/A self resource_limits N/A GetResourceLimits N/A self rpcserver N/A self config N/A N/A StatusUpdate Scanning files on local disk. N/A num_files 0 N/A path paths N/A N/A file_handle N/A openfunc path N/A file_classification N/A FileClassification N/A self config path N/A N/A N/A file_length N/A GetFileLength file_handle N/A N/A N/A file_classification IsApplicationFile N/A N/A max_size N/A N/A self resource_limits N/A max_file_size N/A N/A max_size N/A N/A self resource_limits N/A max_blob_size N/A N/A file_length max_size N/A N/A N/A N/A logging error Ignoring file '%s': Too long (max %d bytes, file is %d bytes) path max_size file_length N/A N/A N/A N/A logging info Processing file '%s' path N/A N/A N/A self AddFile path file_handle N/A N/A N/A N/A file_handle close N/A num_files 1 N/A N/A N/A num_files 500 0 N/A N/A N/A StatusUpdate N/A Scanned %d files. num_files N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A logging info User interrupted. Aborting. N/A N/A N/A EnvironmentError N/A e N/A N/A N/A N/A logging error An error occurred processing file '%s': %s. Aborting. path e N/A N/A app_summary None N/A N/A N/A missing_files N/A N/A self Begin N/A missing_files N/A N/A N/A StatusUpdate N/A Uploading %d files and blobs. N/A len missing_files N/A num_files 0 N/A missing_file missing_files N/A N/A file_handle N/A openfunc missing_file N/A N/A N/A N/A N/A self UploadFile missing_file file_handle N/A N/A N/A N/A file_handle close N/A num_files 1 N/A N/A N/A num_files 500 0 N/A N/A N/A StatusUpdate N/A Processed %d out of %s. N/A num_files N/A len missing_files N/A N/A N/A N/A self file_batcher Flush N/A N/A N/A N/A self blob_batcher Flush N/A N/A N/A N/A self errorblob_batcher Flush N/A N/A StatusUpdate N/A Uploaded %d files and blobs num_files N/A N/A N/A N/A self config derived_file_type N/A N/A appinfo PYTHON_PRECOMPILED N/A N/A self config derived_file_type N/A N/A N/A N/A N/A N/A self Precompile N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A N/A ErrorUpdate N/A Error %d: --- begin server output ---
%s
--- end server output --- N/A N/A e code N/A N/A N/A N/A e read rstrip N/A N/A N/A N/A e code 422 N/A N/A N/A self config runtime go N/A N/A N/A N/A self error_fh Precompilation failed. Your app can still serve but may have reduced startup performance. You can retry the update later to retry the precompilation step. N/A app_summary N/A N/A self Commit N/A N/A StatusUpdate N/A Completed update of %s N/A N/A self Describe N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A logging info User interrupted. Aborting. N/A N/A N/A self Rollback N/A N/A N/A N/A urllib2 HTTPError N/A err N/A N/A N/A N/A logging info HTTP Error (%s) err N/A N/A N/A self Rollback N/A N/A N/A N/A N/A N/A logging exception An unexpected error occurred. Aborting. N/A N/A N/A self Rollback N/A N/A N/A N/A logging info Done! N/A app_summary N/A N/A FileIterator N/A N/A base skip_files runtime separator N/A N/A N/A os path sep N/A N/A Walks a directory tree, returning all the files. Follows symlinks.

  Args:
    base: The base path to search for files under.
    skip_files: A regular expression object for files/directories to skip.
    runtime: The name of the runtime e.g. "python". If "python27" then .pyc
      files with matching .py files will be skipped.
    separator: Path separator used by the running system's platform.

  Yields:
    Paths of files found, relative to base.
   N/A dirs N/A N/A dirs N/A N/A current_dir N/A N/A dirs pop N/A entries N/A set N/A N/A os listdir N/A N/A N/A os path join base current_dir N/A entry N/A sorted entries N/A N/A name N/A N/A N/A os path join current_dir entry N/A fullname N/A N/A N/A os path join base name N/A N/A separator \ N/A N/A name N/A N/A name replace \ / N/A N/A N/A runtime python27 N/A N/A N/A skip_files match name N/A N/A N/A root extension N/A N/A N/A os path splitext entry N/A N/A N/A extension .pyc N/A N/A root .py entries N/A N/A N/A N/A logging warning Ignoring file '%s': Cannot upload both <filename>.py and <filename>.pyc name N/A N/A N/A N/A N/A os path isfile fullname N/A N/A N/A N/A skip_files match name N/A N/A N/A N/A logging info Ignoring file '%s': File matches ignore regex. name N/A N/A N/A name N/A N/A N/A N/A N/A os path isdir fullname N/A N/A N/A N/A skip_files match name N/A N/A N/A N/A logging info Ignoring directory '%s': Directory matches ignore regex. name N/A N/A N/A N/A dirs append name N/A GetFileLength N/A N/A fh N/A N/A N/A Returns the length of the file represented by fh.

  This function is capable of finding the length of any seekable stream,
  unlike os.fstat, which only works on file streams.

  Args:
    fh: The stream to get the length of.

  Returns:
    The length of the stream.
   N/A pos N/A N/A fh tell N/A N/A N/A fh seek 0 2 N/A length N/A N/A fh tell N/A N/A N/A fh seek pos 0 N/A length N/A GetUserAgent N/A N/A get_version get_platform sdk_product N/A N/A sdk_update_checker GetVersionObject N/A appengine_rpc GetPlatformToken SDK_PRODUCT N/A N/A Determines the value of the 'User-agent' header to use for HTTP requests.

  If the 'APPCFG_SDK_NAME' environment variable is present, that will be
  used as the first product token in the user-agent.

  Args:
    get_version: Used for testing.
    get_platform: Used for testing.
    sdk_product: Used as part of sdk/version product token.

  Returns:
    String containing the 'user-agent' header value, which includes the SDK
    version, the platform information, and the version of Python;
    e.g., 'appcfg_py/1.0.1 Darwin/9.2.0 Python/2.5.2'.
   N/A product_tokens N/A N/A sdk_name N/A N/A N/A os environ get APPCFG_SDK_NAME N/A sdk_name N/A N/A N/A N/A product_tokens append sdk_name N/A N/A version N/A get_version N/A N/A version None N/A N/A release unknown N/A N/A release N/A version N/A release N/A N/A N/A product_tokens append N/A %s/%s N/A sdk_product release N/A N/A N/A product_tokens append N/A get_platform N/A python_version N/A N/A . join N/A N/A str i N/A i N/A sys version_info N/A N/A N/A product_tokens append N/A Python/%s python_version N/A N/A N/A join product_tokens N/A GetSourceName N/A N/A get_version N/A N/A sdk_update_checker GetVersionObject N/A N/A Gets the name of this source version. N/A version N/A get_version N/A N/A version None N/A N/A release unknown N/A N/A release N/A version N/A release N/A N/A Google-appcfg-%s N/A release N/A AppCfgApp N/A object N/A N/A Singleton class to wrap AppCfg tool functionality.

  This class is responsible for parsing the command line and executing
  the desired action on behalf of the user.  Processing files and
  communicating with the server is handled by other classes.

  Attributes:
    actions: A dictionary mapping action names to Action objects.
    action: The Action specified on the command line.
    parser: An instance of optparse.OptionParser.
    options: The command line options parsed by 'parser'.
    argv: The original command line as a list.
    args: The positional command line args left over after parsing the options.
    raw_input_fn: Function used for getting raw user input, like email.
    password_input_fn: Function used for getting user password.
    error_fh: Unexpected HTTPErrors are printed to this file handle.

  Attributes for testing:
    parser_class: The class to use for parsing the command line.  Because
      OptionsParser will exit the program when there is a parse failure, it
      is nice to subclass OptionsParser and catch the error before exiting.
   __init__ N/A N/A self argv parser_class rpc_server_class raw_input_fn password_input_fn out_fh error_fh update_check_class throttle_class opener file_iterator time_func wrap_server_error_message oauth_client_id oauth_client_secret oauth_scopes N/A N/A optparse OptionParser None raw_input N/A getpass getpass N/A sys stdout N/A sys stderr N/A sdk_update_checker SDKUpdateChecker None open FileIterator N/A time time True APPCFG_CLIENT_ID APPCFG_CLIENT_NOTSOSECRET APPCFG_SCOPES N/A N/A Initializer.  Parses the cmdline and selects the Action to use.

    Initializes all of the attributes described in the class docstring.
    Prints help or error messages if there is an error parsing the cmdline.

    Args:
      argv: The list of arguments passed to this program.
      parser_class: Options parser to use for this application.
      rpc_server_class: RPC server class to use for this application.
      raw_input_fn: Function used for getting user email.
      password_input_fn: Function used for getting user password.
      out_fh: All normal output is printed to this file handle.
      error_fh: Unexpected HTTPErrors are printed to this file handle.
      update_check_class: sdk_update_checker.SDKUpdateChecker class (can be
        replaced for testing).
      throttle_class: A class to use instead of ThrottledHttpRpcServer
        (only used in the bulkloader).
      opener: Function used for opening files.
      file_iterator: Callable that takes (basepath, skip_files, file_separator)
        and returns a generator that yields all filenames in the file tree
        rooted at that path, skipping files that match the skip_files compiled
        regular expression.
      time_func: Function which provides the current time (can be replaced for
          testing).
      wrap_server_error_message: If true, the error messages from
          urllib2.HTTPError exceptions in Run() are wrapped with
          '--- begin server output ---' and '--- end server output ---',
          otherwise the error message is printed as is.
      oauth_client_id: The client ID of the project providing Auth. Defaults to
          the SDK default project client ID, the constant APPCFG_CLIENT_ID.
      oauth_client_secret: The client secret of the project providing Auth.
          Defaults to the SDK default project client secret, the constant
          APPCFG_CLIENT_NOTSOSECRET.
      oauth_scopes: The scope or set of scopes to be accessed by the OAuth2
          token retrieved. Defaults to APPCFG_SCOPES. Can be a string or list of
          strings, representing the scope(s) to request.
     N/A N/A self parser_class parser_class N/A N/A self argv argv N/A N/A self rpc_server_class rpc_server_class N/A N/A self raw_input_fn raw_input_fn N/A N/A self password_input_fn password_input_fn N/A N/A self out_fh out_fh N/A N/A self error_fh error_fh N/A N/A self update_check_class update_check_class N/A N/A self throttle_class throttle_class N/A N/A self time_func time_func N/A N/A self wrap_server_error_message wrap_server_error_message N/A N/A self oauth_client_id oauth_client_id N/A N/A self oauth_client_secret oauth_client_secret N/A N/A self oauth_scopes oauth_scopes N/A N/A self parser N/A N/A self _GetOptionParser N/A action N/A N/A N/A self actions itervalues N/A N/A N/A N/A action options self N/A self parser N/A N/A N/A self options N/A self args N/A N/A N/A self parser parse_args N/A argv N/A 1 N/A N/A N/A len N/A self args 1 N/A N/A N/A N/A self _PrintHelpAndExit N/A N/A N/A self options allow_any_runtime N/A N/A N/A N/A appinfo AppInfoExternal _skip_runtime_checks True N/A N/A N/A N/A self options runtime N/A N/A N/A N/A N/A self options runtime SUPPORTED_RUNTIMES N/A N/A N/A _PrintErrorAndExit N/A self error_fh N/A "%s" is not a supported runtime
 N/A N/A self options runtime N/A N/A N/A N/A N/A appinfo AppInfoExternal ATTRIBUTES N/A N/A appinfo RUNTIME N/A N/A | join SUPPORTED_RUNTIMES N/A action N/A N/A N/A self args pop 0 RaiseParseError N/A N/A actionname action N/A N/A N/A N/A N/A self parser N/A self options N/A N/A self _MakeSpecificParser action N/A error_desc N/A action error_desc N/A N/A error_desc N/A N/A error_desc N/A Expected a <directory> argument after '%s'. N/A N/A N/A actionname split N/A 0 N/A N/A N/A N/A self parser error error_desc N/A N/A N/A action BACKENDS_ACTION N/A N/A N/A N/A len N/A self args 1 N/A N/A N/A RaiseParseError action N/A N/A self actions N/A BACKENDS_ACTION N/A backend_action_first N/A N/A BACKENDS_ACTION N/A N/A self args N/A 0 N/A N/A backend_action_first N/A self actions N/A N/A N/A N/A N/A self args pop 0 N/A action backend_action_first N/A N/A N/A N/A len N/A self args 1 N/A N/A backend_directory_first N/A N/A BACKENDS_ACTION N/A N/A self args N/A 1 N/A N/A backend_directory_first N/A self actions N/A N/A N/A N/A N/A self args pop 1 N/A action backend_directory_first N/A N/A N/A N/A len N/A self args 1 N/A action BACKENDS_ACTION N/A N/A N/A RaiseParseError action N/A N/A self actions N/A action N/A N/A action N/A self actions N/A N/A N/A N/A N/A self parser error N/A Unknown action: '%s'
%s N/A action N/A N/A N/A self parser get_description N/A N/A self action N/A N/A self actions N/A action N/A N/A N/A N/A N/A self action uses_basepath N/A N/A self options help N/A N/A N/A self basepath None N/A N/A N/A N/A self args N/A N/A N/A RaiseParseError action N/A self action N/A N/A self basepath N/A N/A N/A self args pop 0 N/A N/A N/A self parser N/A self options N/A N/A self _MakeSpecificParser N/A self action N/A N/A N/A self options help N/A N/A N/A N/A self _PrintHelpAndExit N/A N/A N/A N/A self options verbose 2 N/A N/A N/A N/A N/A N/A logging getLogger setLevel N/A logging INFO N/A N/A N/A N/A N/A self options verbose 3 N/A N/A N/A N/A N/A N/A logging getLogger setLevel N/A logging DEBUG N/A verbosity N/A verbosity N/A N/A self options verbose N/A N/A N/A self options oauth2_refresh_token N/A N/A N/A N/A self options oauth2 True N/A N/A N/A self options oauth2_client_id N/A N/A N/A self oauth_client_id N/A N/A self options oauth2_client_id N/A N/A N/A self options oauth2_client_secret N/A N/A N/A self oauth_client_secret N/A N/A self options oauth2_client_secret N/A N/A self opener opener N/A N/A self file_iterator file_iterator N/A Run N/A N/A self N/A N/A N/A Executes the requested action.

    Catches any HTTPErrors raised by the action and prints them to stderr.

    Returns:
      1 on error, 0 if successful.
     N/A N/A N/A N/A N/A self action self N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A body N/A N/A e read N/A N/A self wrap_server_error_message N/A N/A error_format Error %d: --- begin server output ---
%s
--- end server output --- N/A N/A error_format Error %d: %s N/A N/A self error_fh N/A error_format N/A N/A e code N/A N/A body rstrip N/A 1 N/A N/A N/A yaml_errors EventListenerError N/A e N/A N/A N/A self error_fh N/A Error parsing yaml file:
%s e N/A 1 N/A 0 N/A _GetActionDescriptions N/A N/A self N/A N/A N/A Returns a formatted string containing the short_descs for all actions. N/A action_names N/A N/A N/A self actions keys N/A N/A N/A action_names sort N/A desc N/A action_name action_names N/A N/A N/A N/A N/A N/A self actions N/A action_name hidden N/A N/A desc N/A   %s: %s
 N/A action_name N/A N/A N/A self actions N/A action_name short_desc N/A desc N/A _GetOptionParser N/A N/A self N/A N/A N/A Creates an OptionParser with generic usage and description strings.

    Returns:
      An OptionParser instance.
     Formatter N/A N/A optparse IndentedHelpFormatter N/A N/A Custom help formatter that does not reformat the description. format_description N/A N/A self description N/A N/A N/A Very simple formatter. N/A N/A description N/A N/A N/A desc N/A N/A self _GetActionDescriptions N/A desc N/A Action must be one of:
%sUse 'help <action>' for a detailed description. desc N/A parser N/A N/A self parser_class usage %prog [options] <action> description desc formatter N/A Formatter conflict_handler resolve N/A N/A N/A parser add_option -h --help action store_true dest help help Show the help message and exit. N/A N/A N/A parser add_option -q --quiet action store_const const 0 dest verbose help Print errors only. N/A N/A N/A parser add_option -v --verbose action store_const const 2 dest verbose default 1 help Print info level logs. N/A N/A N/A parser add_option --noisy action store_const const 3 dest verbose help Print all logs. N/A N/A N/A parser add_option -s --server action store dest server default appengine.google.com metavar SERVER help The App Engine server. N/A N/A N/A parser add_option --secure action store_true dest secure default True help N/A optparse SUPPRESS_HELP N/A N/A N/A parser add_option --ignore_bad_cert action store_true dest ignore_certs default False help N/A optparse SUPPRESS_HELP N/A N/A N/A parser add_option --insecure action store_false dest secure help N/A optparse SUPPRESS_HELP N/A N/A N/A parser add_option -e --email action store dest email metavar EMAIL default None help The username to use. Will prompt if omitted. N/A N/A N/A parser add_option -H --host action store dest host metavar HOST default None help Overrides the Host header sent with all RPCs. N/A N/A N/A parser add_option --no_cookies action store_false dest save_cookies default True help Do not save authentication cookies to local disk. N/A N/A N/A parser add_option --skip_sdk_update_check action store_true dest skip_sdk_update_check default False help Do not check for SDK updates. N/A N/A N/A parser add_option --passin action store_true dest passin default False help Read the login password from stdin. N/A N/A N/A parser add_option -A --application action store dest app_id help Set the application, overriding the application value from app.yaml file. N/A N/A N/A parser add_option -S --server_id action store dest server_id help N/A optparse SUPPRESS_HELP N/A N/A N/A parser add_option -V --version action store dest version help Set the (major) version, overriding the version value from app.yaml file. N/A N/A N/A parser add_option -r --runtime action store dest runtime help Override runtime from app.yaml file. N/A N/A N/A parser add_option -R --allow_any_runtime action store_true dest allow_any_runtime default False help Do not validate the runtime in app.yaml N/A N/A N/A parser add_option --oauth2 action store_true dest oauth2 default False help Use OAuth2 instead of password auth. N/A N/A N/A parser add_option --oauth2_refresh_token action store dest oauth2_refresh_token default None help An existing OAuth2 refresh token to use. Will not attempt interactive OAuth approval. N/A N/A N/A parser add_option --oauth2_client_id action store dest oauth2_client_id default None help N/A optparse SUPPRESS_HELP N/A N/A N/A parser add_option --oauth2_client_secret action store dest oauth2_client_secret default None help N/A optparse SUPPRESS_HELP N/A N/A N/A parser add_option --oauth2_credential_file action store dest oauth2_credential_file default None help N/A optparse SUPPRESS_HELP N/A N/A N/A parser add_option --noauth_local_webserver action store_false dest auth_local_webserver default True help Do not run a local web server to handle redirects during OAuth authorization. N/A parser N/A _MakeSpecificParser N/A N/A self action N/A N/A N/A Creates a new parser with documentation specific to 'action'.

    Args:
      action: An Action instance to be used when initializing the new parser.

    Returns:
      A tuple containing:
      parser: An instance of OptionsParser customized to 'action'.
      options: The command line options after re-parsing.
     N/A parser N/A N/A self _GetOptionParser N/A N/A N/A parser set_usage N/A action usage N/A N/A N/A parser set_description N/A %s
%s N/A N/A action short_desc N/A action long_desc N/A N/A N/A action options self parser N/A N/A options unused_args N/A N/A parser parse_args N/A N/A self argv N/A 1 N/A N/A parser options N/A _PrintHelpAndExit N/A N/A self exit_code N/A 2 N/A N/A Prints the parser's help message and exits the program.

    Args:
      exit_code: The integer code to pass to sys.exit().
     N/A N/A N/A N/A self parser print_help N/A N/A N/A sys exit exit_code N/A _GetRpcServer N/A N/A self N/A N/A N/A Returns an instance of an AbstractRpcServer.

    Returns:
      A new AbstractRpcServer, on which RPC calls can be made.

    Raises:
      OAuthNotAvailable: Oauth is requested but the dependecies aren't imported.
     GetUserCredentials N/A N/A N/A N/A N/A Prompts the user for a username and password. N/A email N/A N/A self options email N/A N/A email None N/A N/A email N/A N/A self raw_input_fn Email:  N/A password_prompt N/A Password for %s:  email N/A N/A N/A self options passin N/A N/A password N/A N/A self raw_input_fn password_prompt N/A N/A password N/A N/A self password_input_fn password_prompt N/A N/A email password N/A N/A N/A StatusUpdate N/A Host: %s N/A N/A self options server N/A dev_appserver N/A N/A N/A self options host localhost N/A N/A N/A N/A self options oauth2 N/A dev_appserver N/A N/A N/A appengine_rpc_httplib2 N/A N/A N/A OAuthNotAvailable N/A N/A N/A self rpc_server_class N/A N/A N/A self rpc_server_class N/A appengine_rpc_httplib2 HttpRpcServerOauth2 N/A get_user_credentials N/A N/A self options oauth2_refresh_token N/A source N/A N/A self oauth_client_id N/A self oauth_client_secret N/A self oauth_scopes N/A N/A self options oauth2_credential_file N/A N/A N/A N/A appengine_rpc_httplib2 tools FLAGS auth_local_webserver N/A N/A self options auth_local_webserver N/A N/A N/A N/A self rpc_server_class N/A N/A N/A self rpc_server_class N/A appengine_rpc HttpRpcServerWithOAuth2Suggestion N/A get_user_credentials GetUserCredentials N/A source N/A GetSourceName N/A dev_appserver N/A N/A email N/A N/A self options email N/A N/A email None N/A N/A email test@example.com N/A N/A N/A logging info Using debug user %s.  Override with --email email N/A rpcserver N/A N/A self rpc_server_class N/A N/A self options server N/A N/A N/A N/A N/A email password N/A GetUserAgent source host_override N/A N/A self options host save_cookies N/A N/A self options save_cookies secure False N/A N/A rpcserver authenticated True N/A rpcserver N/A N/A N/A self options passin N/A N/A auth_tries 1 N/A N/A auth_tries 3 N/A N/A N/A self rpc_server_class N/A N/A self options server get_user_credentials N/A GetUserAgent source host_override N/A N/A self options host save_cookies N/A N/A self options save_cookies auth_tries auth_tries account_type HOSTED_OR_GOOGLE secure N/A N/A self options secure ignore_certs N/A N/A self options ignore_certs N/A _FindYaml N/A N/A self basepath file_name N/A N/A N/A Find yaml files in application directory.

    Args:
      basepath: Base application directory.
      file_name: Relative file path from basepath, without extension, to search
        for.

    Returns:
      Path to located yaml file if one exists, else None.
     N/A N/A N/A N/A N/A os path isdir basepath N/A N/A N/A N/A N/A self parser error N/A Not a directory: %s basepath N/A alt_basepath N/A N/A N/A os path join basepath WEB-INF appengine-generated N/A yaml_basepath N/A basepath alt_basepath N/A N/A yaml_file N/A N/A file_name .yaml N/A file_name .yml N/A N/A yaml_path N/A N/A N/A os path join yaml_basepath yaml_file N/A N/A N/A N/A os path isfile yaml_path N/A N/A yaml_path N/A None N/A _ParseAppInfoFromYaml N/A N/A self basepath basename N/A app N/A N/A Parses the app.yaml file.

    Args:
      basepath: The directory of the application.
      basename: The relative file path, from basepath, to search for.

    Returns:
      An AppInfoExternal object.
     N/A appyaml N/A N/A self _ParseYamlFile basepath basename N/A appinfo_includes Parse N/A N/A appyaml None N/A N/A N/A N/A N/A self parser error N/A Directory does not contain an %s.yaml configuration file. basename N/A orig_application N/A appyaml application N/A orig_server N/A appyaml server N/A orig_version N/A appyaml version N/A N/A N/A self options app_id N/A N/A N/A appyaml application N/A N/A self options app_id N/A N/A N/A self options server_id N/A N/A N/A appyaml server N/A N/A self options server_id N/A N/A N/A self options version N/A N/A N/A appyaml version N/A N/A self options version N/A N/A N/A self options runtime N/A N/A N/A appyaml runtime N/A N/A self options runtime N/A msg N/A Application: %s N/A appyaml application N/A N/A N/A appyaml application orig_application N/A N/A msg N/A  (was: %s) orig_application N/A N/A N/A N/A self action function Update N/A N/A N/A N/A N/A appyaml server None N/A N/A appyaml server N/A appinfo DEFAULT_SERVER N/A N/A msg N/A ; server: %s N/A appyaml server N/A N/A N/A appyaml server orig_server N/A N/A msg N/A  (was: %s) orig_server N/A msg N/A ; version: %s N/A appyaml version N/A N/A N/A appyaml version orig_version N/A N/A msg N/A  (was: %s) orig_version N/A N/A StatusUpdate msg N/A appyaml N/A _ParseYamlFile N/A N/A self basepath basename parser N/A N/A N/A Parses a yaml file.

    Args:
      basepath: The base directory of the application.
      basename: The relative file path, from basepath, (with the '.yaml'
        stripped off).
      parser: the function or method used to parse the file.

    Returns:
      A single parsed yaml file or None if the file does not exist.
     N/A file_name N/A N/A self _FindYaml basepath basename N/A N/A file_name None N/A N/A fh N/A N/A self opener file_name r N/A N/A N/A defns N/A parser fh open_fn N/A self opener N/A N/A N/A N/A fh close N/A defns N/A None N/A _ParseBackendsYaml N/A N/A self basepath N/A N/A N/A Parses the backends.yaml file.

    Args:
      basepath: the directory of the application.

    Returns:
      A BackendsInfoExternal object or None if the file does not exist.
     N/A N/A N/A self _ParseYamlFile basepath backends N/A backendinfo LoadBackendInfo N/A _ParseIndexYaml N/A N/A self basepath N/A N/A N/A Parses the index.yaml file.

    Args:
      basepath: the directory of the application.

    Returns:
      A single parsed yaml file or None if the file does not exist.
     N/A N/A N/A self _ParseYamlFile basepath index N/A datastore_index ParseIndexDefinitions N/A _ParseCronYaml N/A N/A self basepath N/A N/A N/A Parses the cron.yaml file.

    Args:
      basepath: the directory of the application.

    Returns:
      A CronInfoExternal object or None if the file does not exist.
     N/A N/A N/A self _ParseYamlFile basepath cron N/A croninfo LoadSingleCron N/A _ParseQueueYaml N/A N/A self basepath N/A N/A N/A Parses the queue.yaml file.

    Args:
      basepath: the directory of the application.

    Returns:
      A QueueInfoExternal object or None if the file does not exist.
     N/A N/A N/A self _ParseYamlFile basepath queue N/A queueinfo LoadSingleQueue N/A _ParseDispatchYaml N/A N/A self basepath N/A N/A N/A Parses the dispatch.yaml file.

    Args:
      basepath: the directory of the application.

    Returns:
      A DispatchInfoExternal object or None if the file does not exist.
     N/A N/A N/A self _ParseYamlFile basepath dispatch N/A dispatchinfo LoadSingleDispatch N/A _ParseDosYaml N/A N/A self basepath N/A N/A N/A Parses the dos.yaml file.

    Args:
      basepath: the directory of the application.

    Returns:
      A DosInfoExternal object or None if the file does not exist.
     N/A N/A N/A self _ParseYamlFile basepath dos N/A dosinfo LoadSingleDos N/A Help N/A N/A self action N/A None N/A N/A Prints help for a specific action.

    Args:
      action: If provided, print help for the action provided.

    Expects self.args[0], or 'action', to contain the name of the action in
    question.  Exits the program after printing the help message.
     N/A N/A action N/A N/A N/A N/A len N/A self args 1 N/A N/A N/A self args N/A N/A N/A join N/A self args N/A N/A N/A N/A len N/A self args 1 N/A N/A N/A self args N/A 0 N/A self actions N/A N/A N/A N/A N/A self parser error N/A Expected a single action argument.  Must be one of:
 N/A N/A self _GetActionDescriptions N/A action N/A N/A self args N/A 0 N/A action N/A N/A self actions N/A action N/A N/A N/A self parser unused_options N/A N/A self _MakeSpecificParser action N/A N/A N/A self _PrintHelpAndExit exit_code 0 N/A DownloadApp N/A N/A self N/A N/A N/A Downloads the given app+version. N/A N/A N/A len N/A self args 1 N/A N/A N/A N/A N/A self parser error N/A N/A "download_app" expects one non-option argument, found  N/A str N/A len N/A self args . N/A out_dir N/A N/A self args N/A 0 N/A app_id N/A N/A self options app_id N/A N/A app_id None N/A N/A N/A N/A N/A self parser error You must specify an app ID via -A or --application. N/A server N/A N/A self options server_id N/A app_version N/A N/A self options version N/A N/A N/A N/A os path exists out_dir N/A N/A N/A N/A N/A N/A os path isdir out_dir N/A N/A N/A N/A N/A self parser error N/A Cannot download to path "%s": there's a file in the way. out_dir N/A N/A N/A N/A os listdir out_dir N/A N/A N/A N/A N/A self parser error N/A Cannot download to path "%s": directory already exists and it isn't empty. out_dir N/A rpcserver N/A N/A self _GetRpcServer N/A N/A DoDownloadApp rpcserver out_dir app_id server app_version N/A UpdateVersion N/A N/A self rpcserver basepath appyaml server_yaml_path backend N/A None N/A N/A Updates and deploys a new appversion.

    Args:
      rpcserver: An AbstractRpcServer instance on which RPC calls can be made.
      basepath: The root directory of the version to update.
      appyaml: The AppInfoExternal object parsed from an app.yaml-like file.
      server_yaml_path: The (string) path to the yaml file, relative to the
        bundle directory.
      backend: The name of the backend to update, if any.

    Returns:
      An appinfo.AppInfoSummary if one was returned from the Deploy, None
      otherwise.
     N/A N/A N/A self options precompilation N/A N/A N/A N/A appyaml derived_file_type N/A N/A N/A appyaml derived_file_type N/A N/A N/A N/A appinfo PYTHON_PRECOMPILED N/A appyaml derived_file_type N/A N/A N/A N/A N/A appyaml derived_file_type append N/A appinfo PYTHON_PRECOMPILED N/A paths N/A N/A self file_iterator basepath N/A appyaml skip_files N/A appyaml runtime N/A openfunc N/A N/A N/A path N/A N/A N/A self opener N/A N/A N/A os path join basepath path rb N/A N/A N/A appyaml runtime go N/A N/A goroot N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A google appengine __file__ ../../goroot N/A gopath N/A N/A N/A os environ get GOPATH N/A N/A N/A N/A N/A os path isdir goroot gopath N/A N/A app_paths N/A list paths N/A go_files N/A f N/A f app_paths N/A N/A N/A f endswith .go N/A N/A N/A N/A appyaml nobuild_files match f N/A N/A go_files N/A N/A N/A Exception no Go source files to upload (-nobuild_files applied) N/A gab_argv N/A N/A N/A N/A N/A os path join goroot bin go-app-builder -app_base N/A self basepath -arch 6 -gopath gopath -goroot goroot -print_extras go_files N/A N/A N/A p N/A N/A subprocess Popen gab_argv stdout N/A subprocess PIPE stderr N/A subprocess PIPE env N/A N/A rc N/A N/A p wait N/A N/A N/A Exception N/A e N/A N/A N/A Exception failed running go-app-builder e N/A N/A rc 0 N/A N/A N/A Exception N/A N/A N/A p stderr read N/A overlay N/A dict N/A N/A N/A l split | N/A l N/A N/A N/A N/A N/A p stdout read split l N/A N/A N/A logging info GOPATH overlay: %s overlay ofunc N/A N/A path N/A N/A N/A N/A path overlay N/A N/A N/A N/A self opener N/A overlay N/A path rb N/A N/A N/A self opener N/A N/A N/A os path join basepath path rb N/A N/A paths N/A app_paths N/A N/A overlay keys N/A openfunc ofunc N/A appversion N/A AppVersionUpload rpcserver appyaml server_yaml_path server_yaml_path backend backend error_fh N/A self error_fh N/A N/A N/A appversion DoUpload paths openfunc N/A UpdateUsingSpecificFiles N/A N/A self N/A N/A N/A Updates and deploys new app versions based on given config files. N/A rpcserver N/A N/A self _GetRpcServer N/A all_files N/A N/A N/A self basepath N/A self args N/A has_python25_version False N/A yaml_path all_files N/A N/A file_name N/A N/A N/A os path basename yaml_path N/A N/A self basepath N/A N/A N/A os path dirname yaml_path N/A N/A N/A self basepath N/A N/A N/A self basepath . N/A server_yaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A N/A N/A N/A os path splitext file_name N/A 0 N/A N/A N/A server_yaml runtime python N/A N/A has_python25_version True N/A N/A N/A N/A server_yaml server N/A file_name app.yaml N/A N/A N/A ErrorUpdate N/A Error: 'server' parameter not specified in %s yaml_path N/A N/A N/A N/A self UpdateVersion rpcserver N/A self basepath server_yaml file_name N/A has_python25_version N/A N/A N/A MigratePython27Notice N/A Update N/A N/A self N/A N/A N/A Updates and deploys a new appversion and global app configs. N/A appyaml None N/A rpcserver N/A N/A self _GetRpcServer N/A N/A N/A N/A N/A os path isdir N/A self basepath N/A N/A N/A N/A self UpdateUsingSpecificFiles N/A N/A yaml_file_basename app.yaml N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath basename N/A N/A N/A N/A os path splitext yaml_file_basename N/A 0 N/A N/A N/A self options skip_sdk_update_check N/A N/A N/A N/A logging info Skipping update check N/A N/A updatecheck N/A N/A self update_check_class rpcserver appyaml N/A N/A N/A updatecheck CheckForUpdates N/A N/A N/A self UpdateVersion rpcserver N/A self basepath appyaml yaml_file_basename N/A N/A N/A appyaml runtime python N/A N/A N/A MigratePython27Notice N/A N/A N/A self options backends N/A N/A N/A N/A self BackendsUpdate N/A index_defs N/A N/A self _ParseIndexYaml N/A self basepath N/A index_defs N/A N/A index_upload N/A IndexDefinitionUpload rpcserver appyaml index_defs N/A N/A N/A N/A N/A index_upload DoUpload N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A N/A ErrorUpdate N/A Error %d: --- begin server output ---
%s
--- end server output --- N/A N/A e code N/A N/A N/A N/A e read rstrip N/A N/A self error_fh Your app was updated, but there was an error updating your indexes. Please retry later with appcfg.py update_indexes. N/A cron_yaml N/A N/A self _ParseCronYaml N/A self basepath N/A cron_yaml N/A N/A cron_upload N/A CronEntryUpload rpcserver appyaml cron_yaml N/A N/A N/A cron_upload DoUpload N/A queue_yaml N/A N/A self _ParseQueueYaml N/A self basepath N/A queue_yaml N/A N/A queue_upload N/A QueueEntryUpload rpcserver appyaml queue_yaml N/A N/A N/A queue_upload DoUpload N/A dos_yaml N/A N/A self _ParseDosYaml N/A self basepath N/A dos_yaml N/A N/A dos_upload N/A DosEntryUpload rpcserver appyaml dos_yaml N/A N/A N/A dos_upload DoUpload N/A appyaml N/A N/A pagespeed_upload N/A PagespeedEntryUpload rpcserver appyaml N/A appyaml pagespeed N/A N/A N/A N/A N/A pagespeed_upload DoUpload N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A N/A ErrorUpdate N/A Error %d: --- begin server output ---
%s
--- end server output --- N/A N/A e code N/A N/A N/A N/A e read rstrip N/A N/A self error_fh Your app was updated, but there was an error updating PageSpeed. Please try the update again later. N/A _UpdateOptions N/A N/A self parser N/A N/A N/A Adds update-specific options to 'parser'.

    Args:
      parser: An instance of OptionsParser.
     N/A N/A N/A parser add_option --no_precompilation action store_false dest precompilation default True help Disable automatic Python precompilation. N/A N/A N/A parser add_option --backends action store_true dest backends default False help Update backends when performing appcfg update. N/A VacuumIndexes N/A N/A self N/A N/A N/A Deletes unused indexes. N/A N/A self args N/A N/A N/A N/A N/A self parser error Expected a single <directory> argument. N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A index_defs N/A N/A self _ParseIndexYaml N/A self basepath N/A N/A index_defs None N/A N/A index_defs N/A N/A datastore_index IndexDefinitions N/A rpcserver N/A N/A self _GetRpcServer N/A vacuum N/A VacuumIndexesOperation rpcserver appyaml N/A N/A self options force_delete N/A N/A N/A vacuum DoVacuum index_defs N/A _VacuumIndexesOptions N/A N/A self parser N/A N/A N/A Adds vacuum_indexes-specific options to 'parser'.

    Args:
      parser: An instance of OptionsParser.
     N/A N/A N/A parser add_option -f --force action store_true dest force_delete default False help Force deletion without being prompted. N/A UpdateCron N/A N/A self N/A N/A N/A Updates any new or changed cron definitions. N/A N/A self args N/A N/A N/A N/A N/A self parser error Expected a single <directory> argument. N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A rpcserver N/A N/A self _GetRpcServer N/A cron_yaml N/A N/A self _ParseCronYaml N/A self basepath N/A cron_yaml N/A N/A cron_upload N/A CronEntryUpload rpcserver appyaml cron_yaml N/A N/A N/A cron_upload DoUpload N/A N/A N/A sys stderr Could not find cron configuration. No action taken. N/A UpdateIndexes N/A N/A self N/A N/A N/A Updates indexes. N/A N/A self args N/A N/A N/A N/A N/A self parser error Expected a single <directory> argument. N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A rpcserver N/A N/A self _GetRpcServer N/A index_defs N/A N/A self _ParseIndexYaml N/A self basepath N/A index_defs N/A N/A index_upload N/A IndexDefinitionUpload rpcserver appyaml index_defs N/A N/A N/A index_upload DoUpload N/A N/A N/A sys stderr Could not find index configuration. No action taken. N/A UpdateQueues N/A N/A self N/A N/A N/A Updates any new or changed task queue definitions. N/A N/A self args N/A N/A N/A N/A N/A self parser error Expected a single <directory> argument. N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A rpcserver N/A N/A self _GetRpcServer N/A queue_yaml N/A N/A self _ParseQueueYaml N/A self basepath N/A queue_yaml N/A N/A queue_upload N/A QueueEntryUpload rpcserver appyaml queue_yaml N/A N/A N/A queue_upload DoUpload N/A N/A N/A sys stderr Could not find queue configuration. No action taken. N/A UpdateDispatch N/A N/A self N/A N/A N/A Updates new or changed dispatch definitions. N/A N/A self args N/A N/A N/A N/A N/A self parser error Expected a single <directory> argument. N/A rpcserver N/A N/A self _GetRpcServer N/A dispatch_yaml N/A N/A self _ParseDispatchYaml N/A self basepath N/A dispatch_yaml N/A N/A N/A N/A self options app_id N/A N/A N/A dispatch_yaml application N/A N/A self options app_id N/A N/A N/A dispatch_yaml application N/A N/A N/A N/A N/A self parser error Expected -A app_id when dispatch.yaml.application is not set. N/A N/A StatusUpdate Uploading dispatch entries. N/A N/A N/A rpcserver Send /api/dispatch/update app_id N/A dispatch_yaml application payload N/A N/A dispatch_yaml ToYAML N/A N/A N/A sys stderr Could not find dispatch configuration. No action taken. N/A UpdateDos N/A N/A self N/A N/A N/A Updates any new or changed dos definitions. N/A N/A self args N/A N/A N/A N/A N/A self parser error Expected a single <directory> argument. N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A rpcserver N/A N/A self _GetRpcServer N/A dos_yaml N/A N/A self _ParseDosYaml N/A self basepath N/A dos_yaml N/A N/A dos_upload N/A DosEntryUpload rpcserver appyaml dos_yaml N/A N/A N/A dos_upload DoUpload N/A N/A N/A sys stderr Could not find dos configuration. No action taken. N/A BackendsAction N/A N/A self N/A N/A N/A Placeholder; we never expect this action to be invoked. N/A N/A BackendsYamlCheck N/A N/A self appyaml backend N/A None N/A N/A Check the backends.yaml file is sane and which backends to update. N/A N/A appyaml backends N/A N/A N/A N/A N/A self parser error Backends are not allowed in app.yaml. N/A backends_yaml N/A N/A self _ParseBackendsYaml N/A self basepath N/A N/A appyaml backends N/A backends_yaml backends N/A N/A N/A appyaml backends N/A N/A N/A N/A N/A self parser error No backends found in backends.yaml. N/A backends N/A N/A backend_entry N/A appyaml backends N/A N/A entry N/A N/A backendinfo LoadBackendEntry N/A N/A backend_entry ToYAML N/A N/A N/A entry name backends N/A N/A N/A N/A N/A self parser error N/A Duplicate entry for backend: %s. N/A entry name N/A N/A N/A N/A backends append N/A entry name N/A backends_to_update N/A N/A backend N/A N/A N/A backend backends N/A N/A backends_to_update N/A backend N/A N/A N/A N/A N/A self parser error N/A Backend '%s' not found in backends.yaml. backend N/A N/A backends_to_update backends N/A backends_to_update N/A BackendsUpdate N/A N/A self N/A N/A N/A Updates a backend. N/A N/A self backend None N/A N/A N/A len N/A self args 1 N/A N/A N/A self backend N/A N/A self args N/A 0 N/A N/A N/A N/A len N/A self args 1 N/A N/A N/A N/A N/A self parser error Expected an optional <backend> argument. N/A yaml_file_basename app N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath basename yaml_file_basename N/A rpcserver N/A N/A self _GetRpcServer N/A backends_to_update N/A N/A self BackendsYamlCheck appyaml N/A self backend N/A backend backends_to_update N/A N/A N/A N/A self UpdateVersion rpcserver N/A self basepath appyaml yaml_file_basename backend backend N/A BackendsList N/A N/A self N/A N/A N/A Lists all backends for an app. N/A N/A self args N/A N/A N/A N/A N/A self parser error Expected no arguments. N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A rpcserver N/A N/A self _GetRpcServer N/A response N/A N/A rpcserver Send /api/backends/list app_id N/A appyaml application N/A N/A self out_fh response N/A BackendsRollback N/A N/A self N/A N/A N/A Does a rollback of an existing transaction on this backend. N/A N/A N/A len N/A self args 1 N/A N/A N/A N/A N/A self parser error Expected a single <backend> argument. N/A N/A N/A self _Rollback N/A N/A self args N/A 0 N/A BackendsStart N/A N/A self N/A N/A N/A Starts a backend. N/A N/A N/A len N/A self args 1 N/A N/A N/A N/A N/A self parser error Expected a single <backend> argument. N/A backend N/A N/A self args N/A 0 N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A rpcserver N/A N/A self _GetRpcServer N/A response N/A N/A rpcserver Send /api/backends/start app_id N/A appyaml application backend backend N/A N/A self out_fh response N/A BackendsStop N/A N/A self N/A N/A N/A Stops a backend. N/A N/A N/A len N/A self args 1 N/A N/A N/A N/A N/A self parser error Expected a single <backend> argument. N/A backend N/A N/A self args N/A 0 N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A rpcserver N/A N/A self _GetRpcServer N/A response N/A N/A rpcserver Send /api/backends/stop app_id N/A appyaml application backend backend N/A N/A self out_fh response N/A BackendsDelete N/A N/A self N/A N/A N/A Deletes a backend. N/A N/A N/A len N/A self args 1 N/A N/A N/A N/A N/A self parser error Expected a single <backend> argument. N/A backend N/A N/A self args N/A 0 N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A rpcserver N/A N/A self _GetRpcServer N/A response N/A N/A rpcserver Send /api/backends/delete app_id N/A appyaml application backend backend N/A N/A self out_fh response N/A BackendsConfigure N/A N/A self N/A N/A N/A Changes the configuration of an existing backend. N/A N/A N/A len N/A self args 1 N/A N/A N/A N/A N/A self parser error Expected a single <backend> argument. N/A backend N/A N/A self args N/A 0 N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A backends_yaml N/A N/A self _ParseBackendsYaml N/A self basepath N/A rpcserver N/A N/A self _GetRpcServer N/A response N/A N/A rpcserver Send /api/backends/configure app_id N/A appyaml application backend backend payload N/A N/A backends_yaml ToYAML N/A N/A self out_fh response N/A _ParseAndValidateServerYamls N/A N/A self yaml_paths N/A N/A N/A Validates given yaml paths and returns the parsed yaml objects.

    Args:
      yaml_paths: List of paths to AppInfo yaml files.

    Returns:
      List of parsed AppInfo yamls.
     N/A results N/A N/A app_id None N/A last_yaml_path None N/A yaml_path yaml_paths N/A N/A N/A N/A N/A N/A os path isfile yaml_path N/A N/A N/A _PrintErrorAndExit N/A self error_fh N/A Error: The given path '%s' is not to a YAML configuration file.
 yaml_path N/A file_name N/A N/A N/A os path basename yaml_path N/A base_path N/A N/A N/A os path dirname yaml_path N/A N/A base_path N/A N/A base_path . N/A server_yaml N/A N/A self _ParseAppInfoFromYaml base_path N/A N/A N/A N/A os path splitext file_name N/A 0 N/A N/A N/A N/A server_yaml server N/A file_name app.yaml N/A N/A N/A _PrintErrorAndExit N/A self error_fh N/A Error: 'server' parameter not specified in %s yaml_path N/A N/A N/A app_id None N/A N/A server_yaml application app_id N/A N/A N/A _PrintErrorAndExit N/A self error_fh N/A Error: 'application' value '%s' in %s does not match the value '%s', found in %s N/A N/A server_yaml application yaml_path app_id last_yaml_path N/A app_id N/A server_yaml application N/A last_yaml_path yaml_path N/A N/A N/A results append server_yaml N/A results N/A _ServerAction N/A N/A self action_path N/A N/A N/A Process flags and yaml files and make a call to the given path.

    The 'start' and 'stop' actions are extremely similar in how they process
    input to appcfg.py and only really differ in what path they hit on the
    RPCServer.

    Args:
      action_path: Path on the RPCServer to send the call to.
     N/A servers_to_process N/A N/A N/A N/A len N/A self args 0 N/A N/A N/A N/A N/A N/A self options app_id N/A N/A self options server_id N/A N/A self options version N/A N/A N/A _PrintErrorAndExit N/A self error_fh Expected at least one <file> argument or the --application, --server_id and --version flags to be set. N/A N/A N/A N/A servers_to_process append N/A N/A N/A self options app_id N/A N/A self options server_id N/A N/A self options version N/A N/A N/A N/A self options server_id N/A N/A N/A _PrintErrorAndExit N/A self error_fh You may not specify a <file> argument with the --server_id flag. N/A server_yamls N/A N/A self _ParseAndValidateServerYamls N/A self args N/A serv_yaml server_yamls N/A N/A app_id N/A serv_yaml application N/A N/A N/A servers_to_process append N/A N/A N/A N/A self options app_id N/A serv_yaml application N/A N/A serv_yaml server N/A appinfo DEFAULT_SERVER N/A N/A N/A self options version N/A serv_yaml version N/A rpcserver N/A N/A self _GetRpcServer N/A N/A app_id server version servers_to_process N/A N/A response N/A N/A rpcserver Send action_path app_id app_id server server version version N/A N/A self out_fh response N/A Start N/A N/A self N/A N/A N/A Starts one or more servers. N/A N/A N/A self _ServerAction /api/servers/start N/A Stop N/A N/A self N/A N/A N/A Stops one or more servers. N/A N/A N/A self _ServerAction /api/servers/stop N/A Rollback N/A N/A self N/A N/A N/A Does a rollback of an existing transaction for this app version. N/A N/A self args N/A N/A N/A N/A N/A self parser error Expected a single <directory> or <file> argument. N/A N/A N/A self _Rollback N/A _Rollback N/A N/A self backend N/A None N/A N/A Does a rollback of an existing transaction.

    Args:
      backend: name of a backend to rollback, or None

    If a backend is specified the rollback will affect only that backend, if no
    backend is specified the rollback will affect the current app version.
     N/A N/A N/A N/A os path isdir N/A self basepath N/A N/A server_yaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A N/A file_name N/A N/A N/A os path basename N/A self basepath N/A N/A self basepath N/A N/A N/A os path dirname N/A self basepath N/A N/A N/A self basepath N/A N/A N/A self basepath . N/A server_yaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A N/A N/A N/A os path splitext file_name N/A 0 N/A appversion N/A AppVersionUpload N/A N/A self _GetRpcServer server_yaml server_yaml_path app.yaml backend backend N/A N/A appversion in_transaction True N/A N/A N/A appversion Rollback N/A SetDefaultVersion N/A N/A self N/A N/A N/A Sets the default version. N/A server N/A N/A N/A len N/A self args 1 N/A N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A N/A self args N/A 0 N/A app_id N/A appyaml application N/A server N/A N/A appyaml server N/A version N/A appyaml version N/A N/A N/A N/A len N/A self args 0 N/A N/A N/A N/A N/A N/A self options app_id N/A N/A self options version N/A N/A N/A N/A N/A self parser error Expected a <directory> argument or both --application and --version flags. N/A N/A N/A N/A self _PrintHelpAndExit N/A N/A N/A self options app_id N/A N/A app_id N/A N/A self options app_id N/A N/A N/A self options server_id N/A N/A server N/A N/A self options server_id N/A N/A N/A self options version N/A N/A version N/A N/A self options version N/A version_setter N/A DefaultVersionSet N/A N/A self _GetRpcServer app_id server version N/A N/A N/A version_setter SetVersion N/A RequestLogs N/A N/A self N/A N/A N/A Write request logs to a file. N/A args_length N/A len N/A self args N/A server N/A N/A args_length 2 N/A N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A N/A N/A self args pop 0 N/A app_id N/A appyaml application N/A server N/A N/A appyaml server N/A version N/A appyaml version N/A N/A N/A args_length 1 N/A N/A N/A N/A N/A N/A self options app_id N/A N/A self options version N/A N/A N/A N/A N/A self parser error Expected the --application and --version flags if <directory> argument is not specified. N/A N/A N/A N/A self _PrintHelpAndExit N/A N/A N/A self options app_id N/A N/A app_id N/A N/A self options app_id N/A N/A N/A self options server_id N/A N/A server N/A N/A self options server_id N/A N/A N/A self options version N/A N/A version N/A N/A self options version N/A N/A N/A N/A N/A self options severity None N/A N/A 0 N/A N/A self options severity MAX_LOG_LEVEL N/A N/A N/A N/A N/A self parser error N/A Severity range is 0 (DEBUG) through %s (CRITICAL). MAX_LOG_LEVEL N/A N/A N/A N/A self options num_days None N/A N/A N/A N/A self options num_days N/A int N/A N/A N/A self options append N/A N/A N/A end_date N/A N/A self _ParseEndDate N/A N/A self options end_date N/A N/A N/A N/A TypeError ValueError N/A N/A N/A N/A N/A self parser error End date must be in the format YYYY-MM-DD. N/A rpcserver N/A N/A self _GetRpcServer N/A logs_requester N/A LogsRequester rpcserver app_id server version N/A N/A self args N/A 0 N/A N/A self options num_days N/A N/A self options append N/A N/A self options severity end_date N/A N/A self options vhost N/A N/A self options include_vhost N/A N/A self options include_all time_func N/A self time_func N/A N/A N/A logs_requester DownloadLogs N/A _ParseEndDate N/A N/A date time_func N/A N/A time time N/A N/A Translates an ISO 8601 date to a date object.

    Args:
      date: A date string as YYYY-MM-DD.
      time_func: time.time() function for testing.

    Returns:
      A date object representing the last day of logs to get.
      If no date is given, returns today in the US/Pacific timezone.
     N/A N/A date N/A N/A N/A PacificDate N/A time_func N/A N/A N/A datetime date N/A N/A int i N/A i N/A N/A date split - N/A staticmethod _RequestLogsOptions N/A N/A self parser N/A N/A N/A Adds request_logs-specific options to 'parser'.

    Args:
      parser: An instance of OptionsParser.
     N/A N/A N/A parser add_option -n --num_days type int dest num_days action store default None help Number of days worth of log data to get. The cut-off point is midnight US/Pacific. Use 0 to get all available logs. Default is 1, unless --append is also given; then the default is 0. N/A N/A N/A parser add_option -a --append dest append action store_true default False help Append to existing file. N/A N/A N/A parser add_option --severity type int dest severity action store default None help Severity of app-level log messages to get. The range is 0 (DEBUG) through 4 (CRITICAL). If omitted, only request logs are returned. N/A N/A N/A parser add_option --vhost type string dest vhost action store default None help The virtual host of log messages to get. If omitted, all log messages are returned. N/A N/A N/A parser add_option --include_vhost dest include_vhost action store_true default False help Include virtual host in log messages. N/A N/A N/A parser add_option --include_all dest include_all action store_true default None help Include everything in log messages. N/A N/A N/A parser add_option --end_date dest end_date action store default help End date (as YYYY-MM-DD) of period for log data. Defaults to today. N/A CronInfo N/A N/A self now output N/A None N/A sys stdout N/A N/A Displays information about cron definitions.

    Args:
      now: used for testing.
      output: Used for testing.
     N/A N/A self args N/A N/A N/A N/A N/A self parser error Expected a single <directory> argument. N/A N/A now None N/A N/A now N/A N/A N/A datetime datetime utcnow N/A cron_yaml N/A N/A self _ParseCronYaml N/A self basepath N/A N/A cron_yaml N/A cron_yaml cron N/A N/A entry N/A cron_yaml cron N/A N/A description N/A entry description N/A N/A description N/A N/A description <no description> N/A N/A N/A entry timezone N/A N/A N/A entry timezone UTC N/A output N/A 
%s:
URL: %s
Schedule: %s (%s) N/A description N/A entry url N/A entry schedule N/A entry timezone N/A N/A N/A entry timezone UTC N/A N/A output Note: Schedules with timezones won't be calculated correctly here N/A schedule N/A N/A groctimespecification GrocTimeSpecification N/A entry schedule N/A matches N/A N/A schedule GetMatches now N/A N/A self options num_runs N/A match matches N/A N/A output N/A %s, %s from now N/A N/A N/A match strftime %Y-%m-%d %H:%M:%SZ N/A match now N/A _CronInfoOptions N/A N/A self parser N/A N/A N/A Adds cron_info-specific options to 'parser'.

    Args:
      parser: An instance of OptionsParser.
     N/A N/A N/A parser add_option -n --num_runs type int dest num_runs action store default 5 help Number of runs of each cron job to displayDefault is 5 N/A _CheckRequiredLoadOptions N/A N/A self N/A N/A N/A Checks that upload/download options are present. N/A option N/A filename N/A N/A N/A N/A getattr N/A self options option None N/A N/A N/A N/A N/A self parser error N/A Option '%s' is required. option N/A N/A N/A N/A self options url N/A N/A N/A N/A N/A self parser error You must have google.appengine.ext.remote_api.handler assigned to an endpoint in app.yaml, or provide the url of the handler via the 'url' option. N/A InferRemoteApiUrl N/A N/A self appyaml N/A N/A N/A Uses app.yaml to determine the remote_api endpoint.

    Args:
      appyaml: A parsed app.yaml file.

    Returns:
      The url of the remote_api endpoint as a string, or None
     N/A handlers N/A appyaml handlers N/A handler_suffixes N/A remote_api/handler.py remote_api.handler.application N/A app_id N/A appyaml application N/A handler handlers N/A N/A N/A N/A hasattr handler script N/A handler script N/A N/A N/A any N/A N/A N/A N/A handler script endswith suffix N/A suffix handler_suffixes N/A N/A server N/A N/A self options server N/A url N/A handler url N/A N/A N/A url endswith (/.*)? N/A N/A url N/A url N/A -6 N/A N/A server appengine.google.com N/A N/A N/A http://%s.appspot.com%s N/A app_id url N/A N/A match N/A N/A re match PREFIXED_BY_ADMIN_CONSOLE_RE server N/A match N/A N/A N/A http://%s%s%s N/A app_id N/A N/A match group 1 url N/A N/A N/A http://%s%s N/A server url N/A None N/A RunBulkloader N/A N/A self arg_dict N/A N/A N/A Invokes the bulkloader with the given keyword arguments.

    Args:
      arg_dict: Dictionary of arguments to pass to bulkloader.Run().
     N/A N/A N/A sqlite3 N/A N/A N/A ImportError N/A N/A N/A N/A logging error upload_data action requires SQLite3 and the python sqlite3 module (included in python since 2.5). N/A N/A N/A sys exit 1 N/A N/A N/A sys exit N/A N/A bulkloader Run arg_dict N/A _SetupLoad N/A N/A self N/A N/A N/A Performs common verification and set up for upload and download. N/A N/A N/A N/A len N/A self args 1 N/A N/A N/A self options url N/A N/A N/A N/A N/A self parser error Expected either --url or a single <directory> argument. N/A N/A N/A len N/A self args 1 N/A N/A N/A self basepath N/A N/A self args N/A 0 N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A N/A N/A self options app_id N/A appyaml application N/A N/A N/A N/A self options url N/A N/A url N/A N/A self InferRemoteApiUrl appyaml N/A N/A url None N/A N/A N/A N/A self options url url N/A N/A N/A self _CheckRequiredLoadOptions N/A N/A N/A N/A self options batch_size 1 N/A N/A N/A N/A N/A self parser error batch_size must be 1 or larger. N/A N/A verbosity 1 N/A N/A N/A N/A N/A N/A logging getLogger setLevel N/A logging INFO N/A N/A N/A self options debug False N/A N/A N/A N/A N/A N/A logging getLogger setLevel N/A logging DEBUG N/A N/A N/A self options debug True N/A _MakeLoaderArgs N/A N/A self N/A N/A N/A args N/A dict N/A N/A arg_name N/A getattr N/A self options arg_name None N/A arg_name N/A url filename batch_size kind num_threads bandwidth_limit rps_limit http_limit db_filename config_file auth_domain has_header loader_opts log_file passin email debug exporter_opts mapper_opts result_db_filename mapper_opts dry_run dump restore namespace create_config N/A N/A args N/A application N/A N/A self options app_id N/A N/A args N/A throttle_class N/A self throttle_class N/A args N/A PerformDownload N/A N/A self run_fn N/A None N/A N/A Performs a datastore download via the bulkloader.

    Args:
      run_fn: Function to invoke the bulkloader, used for testing.
     N/A N/A run_fn None N/A N/A run_fn N/A self RunBulkloader N/A N/A N/A self _SetupLoad N/A N/A StatusUpdate Downloading data records. N/A args N/A N/A self _MakeLoaderArgs N/A N/A args N/A download N/A bool N/A args N/A config_file N/A N/A args N/A has_header False N/A N/A args N/A map False N/A N/A args N/A dump N/A N/A args N/A config_file N/A N/A args N/A restore False N/A N/A args N/A create_config False N/A N/A run_fn args N/A PerformUpload N/A N/A self run_fn N/A None N/A N/A Performs a datastore upload via the bulkloader.

    Args:
      run_fn: Function to invoke the bulkloader, used for testing.
     N/A N/A run_fn None N/A N/A run_fn N/A self RunBulkloader N/A N/A N/A self _SetupLoad N/A N/A StatusUpdate Uploading data records. N/A args N/A N/A self _MakeLoaderArgs N/A N/A args N/A download False N/A N/A args N/A map False N/A N/A args N/A dump False N/A N/A args N/A restore N/A N/A args N/A config_file N/A N/A args N/A create_config False N/A N/A run_fn args N/A CreateBulkloadConfig N/A N/A self run_fn N/A None N/A N/A Create a bulkloader config via the bulkloader wizard.

    Args:
      run_fn: Function to invoke the bulkloader, used for testing.
     N/A N/A run_fn None N/A N/A run_fn N/A self RunBulkloader N/A N/A N/A self _SetupLoad N/A N/A StatusUpdate Creating bulkloader configuration. N/A args N/A N/A self _MakeLoaderArgs N/A N/A args N/A download False N/A N/A args N/A has_header False N/A N/A args N/A map False N/A N/A args N/A dump False N/A N/A args N/A restore False N/A N/A args N/A create_config True N/A N/A run_fn args N/A _PerformLoadOptions N/A N/A self parser N/A N/A N/A Adds options common to 'upload_data' and 'download_data'.

    Args:
      parser: An instance of OptionsParser.
     N/A N/A N/A parser add_option --url type string dest url action store help The location of the remote_api endpoint. N/A N/A N/A parser add_option --batch_size type int dest batch_size action store default 10 help Number of records to post in each request. N/A N/A N/A parser add_option --bandwidth_limit type int dest bandwidth_limit action store default 250000 help The maximum bytes/second bandwidth for transfers. N/A N/A N/A parser add_option --rps_limit type int dest rps_limit action store default 20 help The maximum records/second for transfers. N/A N/A N/A parser add_option --http_limit type int dest http_limit action store default 8 help The maximum requests/second for transfers. N/A N/A N/A parser add_option --db_filename type string dest db_filename action store help Name of the progress database file. N/A N/A N/A parser add_option --auth_domain type string dest auth_domain action store default gmail.com help The name of the authorization domain to use. N/A N/A N/A parser add_option --log_file type string dest log_file help File to write bulkloader logs.  If not supplied then a new log file will be created, named: bulkloader-log-TIMESTAMP. N/A N/A N/A parser add_option --dry_run action store_true dest dry_run default False help Do not execute any remote_api calls N/A N/A N/A parser add_option --namespace type string dest namespace action store default help Namespace to use when accessing datastore. N/A N/A N/A parser add_option --num_threads type int dest num_threads action store default 10 help Number of threads to transfer records with. N/A _PerformUploadOptions N/A N/A self parser N/A N/A N/A Adds 'upload_data' specific options to the 'parser' passed in.

    Args:
      parser: An instance of OptionsParser.
     N/A N/A N/A self _PerformLoadOptions parser N/A N/A N/A parser add_option --filename type string dest filename action store help The name of the file containing the input data. (Required) N/A N/A N/A parser add_option --kind type string dest kind action store help The kind of the entities to store. N/A N/A N/A parser add_option --has_header dest has_header action store_true default False help Whether the first line of the input file should be skipped N/A N/A N/A parser add_option --loader_opts type string dest loader_opts help A string to pass to the Loader.initialize method. N/A N/A N/A parser add_option --config_file type string dest config_file action store help Name of the configuration file. N/A _PerformDownloadOptions N/A N/A self parser N/A N/A N/A Adds 'download_data' specific options to the 'parser' passed in.

    Args:
      parser: An instance of OptionsParser.
     N/A N/A N/A self _PerformLoadOptions parser N/A N/A N/A parser add_option --filename type string dest filename action store help The name of the file where output data is to be written. (Required) N/A N/A N/A parser add_option --kind type string dest kind action store help The kind of the entities to retrieve. N/A N/A N/A parser add_option --exporter_opts type string dest exporter_opts help A string to pass to the Exporter.initialize method. N/A N/A N/A parser add_option --result_db_filename type string dest result_db_filename action store help Database to write entities to for download. N/A N/A N/A parser add_option --config_file type string dest config_file action store help Name of the configuration file. N/A _CreateBulkloadConfigOptions N/A N/A self parser N/A N/A N/A Adds 'download_data' specific options to the 'parser' passed in.

    Args:
      parser: An instance of OptionsParser.
     N/A N/A N/A self _PerformLoadOptions parser N/A N/A N/A parser add_option --filename type string dest filename action store help The name of the file where the generated template is to be written. (Required) N/A ResourceLimitsInfo N/A N/A self output N/A None N/A N/A Outputs the current resource limits.

    Args:
      output: The file handle to write the output to (used for testing).
     N/A appyaml N/A N/A self _ParseAppInfoFromYaml N/A self basepath N/A resource_limits N/A GetResourceLimits N/A N/A self _GetRpcServer appyaml N/A attr_name N/A sorted resource_limits N/A N/A output N/A %s: %s N/A attr_name N/A resource_limits N/A attr_name N/A Action N/A object N/A N/A Contains information about a command line action.

    Attributes:
      function: The name of a function defined on AppCfg or its subclasses
        that will perform the appropriate action.
      usage: A command line usage string.
      short_desc: A one-line description of the action.
      long_desc: A detailed description of the action.  Whitespace and
        formatting will be preserved.
      error_desc: An error message to display when the incorrect arguments are
        given.
      options: A function that will add extra options to a given OptionParser
        object.
      uses_basepath: Does the action use a basepath/app-directory (and hence
        app.yaml).
      hidden: Should this command be shown in the help listing.
     __init__ N/A N/A self function usage short_desc long_desc error_desc options uses_basepath hidden N/A None N/A N/A N/A obj parser N/A None True False N/A N/A Initializer for the class attributes. N/A N/A self function function N/A N/A self usage usage N/A N/A self short_desc short_desc N/A N/A self long_desc long_desc N/A N/A self error_desc error_desc N/A N/A self options options N/A N/A self uses_basepath uses_basepath N/A N/A self hidden hidden N/A __call__ N/A N/A self appcfg N/A N/A N/A Invoke this Action on the specified AppCfg.

      This calls the function of the appropriate name on AppCfg, and
      respects polymophic overrides.

      Args:
        appcfg: The appcfg to use.
      Returns:
        The result of the function call.
       N/A method N/A getattr appcfg N/A self function N/A N/A method N/A N/A N/A actions N/A help update download_app update_cron update_indexes update_queues update_dispatch update_dos backends backends list backends update backends rollback backends start backends stop backends delete backends configure vacuum_indexes rollback request_logs cron_info start stop upload_data download_data create_bulkloader_config set_default_version resource_limits_info N/A Action function Help usage %prog help <action> short_desc Print help for a specific action. uses_basepath False N/A Action function Update usage %prog [options] update <directory> options _UpdateOptions short_desc Create or update an app version. long_desc 
Specify a directory that contains all of the files required by
the app, and appcfg.py will create/update the app version referenced
in the app.yaml file at the top level of that directory.  appcfg.py
will follow symlinks and recursively upload all files to the server.
Temporary or source control files (e.g. foo~, .svn/*) will be skipped. N/A Action function DownloadApp usage %prog [options] download_app -A app_id [ -V version ] <out-dir> short_desc Download a previously-uploaded app. long_desc 
Download a previously-uploaded app to the specified directory.  The app
ID is specified by the "-A" option.  The optional version is specified
by the "-V" option. uses_basepath False N/A Action function UpdateCron usage %prog [options] update_cron <directory> short_desc Update application cron definitions. long_desc 
The 'update_cron' command will update any new, removed or changed cron
definitions from the optional cron.yaml file. N/A Action function UpdateIndexes usage %prog [options] update_indexes <directory> short_desc Update application indexes. long_desc 
The 'update_indexes' command will add additional indexes which are not currently
in production as well as restart any indexes that were not completed. N/A Action function UpdateQueues usage %prog [options] update_queues <directory> short_desc Update application task queue definitions. long_desc 
The 'update_queue' command will update any new, removed or changed task queue
definitions from the optional queue.yaml file. N/A Action function UpdateDispatch hidden True usage %prog [options] update_dispatch <directory> short_desc Update application dispatch definitions. long_desc 
The 'update_dispatch' command will update any new, removed or changed dispatch
definitions from the optional dispatch.yaml file. N/A Action function UpdateDos usage %prog [options] update_dos <directory> short_desc Update application dos definitions. long_desc 
The 'update_dos' command will update any new, removed or changed dos
definitions from the optional dos.yaml file. N/A Action function BackendsAction usage %prog [options] backends <directory> <action> short_desc Perform a backend action. long_desc 
The 'backends' command will perform a backends action. error_desc Expected a <directory> and <action> argument. N/A Action function BackendsList usage %prog [options] backends <directory> list short_desc List all backends configured for the app. long_desc 
The 'backends list' command will list all backends configured for the app. N/A Action function BackendsUpdate usage %prog [options] backends <directory> update [<backend>] options _UpdateOptions short_desc Update one or more backends. long_desc 
The 'backends update' command updates one or more backends.  This command
updates backend configuration settings and deploys new code to the server.  Any
existing instances will stop and be restarted.  Updates all backends, or a
single backend if the <backend> argument is provided. N/A Action function BackendsRollback usage %prog [options] backends <directory> rollback <backend> short_desc Roll back an update of a backend. long_desc 
The 'backends update' command requires a server-side transaction.
Use 'backends rollback' if you experience an error during 'backends update'
and want to start the update over again. N/A Action function BackendsStart usage %prog [options] backends <directory> start <backend> short_desc Start a backend. long_desc 
The 'backends start' command will put a backend into the START state. N/A Action function BackendsStop usage %prog [options] backends <directory> stop <backend> short_desc Stop a backend. long_desc 
The 'backends start' command will put a backend into the STOP state. N/A Action function BackendsDelete usage %prog [options] backends <directory> delete <backend> short_desc Delete a backend. long_desc 
The 'backends delete' command will delete a backend. N/A Action function BackendsConfigure usage %prog [options] backends <directory> configure <backend> short_desc Reconfigure a backend without stopping it. long_desc 
The 'backends configure' command performs an online update of a backend, without
stopping instances that are currently running.  No code or handlers are updated,
only certain configuration settings specified in backends.yaml.  Valid settings
are: instances, options: public, and options: failfast. N/A Action function VacuumIndexes usage %prog [options] vacuum_indexes <directory> options _VacuumIndexesOptions short_desc Delete unused indexes from application. long_desc 
The 'vacuum_indexes' command will help clean up indexes which are no longer
in use.  It does this by comparing the local index configuration with
indexes that are actually defined on the server.  If any indexes on the
server do not exist in the index configuration file, the user is given the
option to delete them. N/A Action function Rollback usage %prog [options] rollback <directory> | <file> short_desc Rollback an in-progress update. long_desc 
The 'update' command requires a server-side transaction.
Use 'rollback' if you experience an error during 'update'
and want to begin a new update transaction. N/A Action function RequestLogs usage %prog [options] request_logs [<directory>] <output_file> options _RequestLogsOptions uses_basepath False short_desc Write request logs in Apache common log format. long_desc 
The 'request_logs' command exports the request logs from your application
to a file.  It will write Apache common log format records ordered
chronologically.  If output file is '-' stdout will be written. error_desc Expected an optional <directory> and mandatory <output_file> argument. N/A Action function CronInfo usage %prog [options] cron_info <directory> options _CronInfoOptions short_desc Display information about cron jobs. long_desc 
The 'cron_info' command will display the next 'number' runs (default 5) for
each cron job defined in the cron.yaml file. N/A Action function Start hidden True uses_basepath False usage %prog [options] start [file, ...] short_desc Start a server version. long_desc 
The 'start' command will put a server version into the START state. N/A Action function Stop hidden True uses_basepath False usage %prog [options] stop [file, ...] short_desc Stop a server version. long_desc 
The 'stop' command will put a server version into the STOP state. N/A Action function PerformUpload usage %prog [options] upload_data <directory> options _PerformUploadOptions short_desc Upload data records to datastore. long_desc 
The 'upload_data' command translates input records into datastore entities and
uploads them into your application's datastore. uses_basepath False N/A Action function PerformDownload usage %prog [options] download_data <directory> options _PerformDownloadOptions short_desc Download entities from datastore. long_desc 
The 'download_data' command downloads datastore entities and writes them to
file as CSV or developer defined format. uses_basepath False N/A Action function CreateBulkloadConfig usage %prog [options] create_bulkload_config <directory> options _CreateBulkloadConfigOptions short_desc Create a bulkloader.yaml from a running application. long_desc 
The 'create_bulkloader_config' command creates a bulkloader.yaml configuration
template for use with upload_data or download_data. uses_basepath False N/A Action function SetDefaultVersion usage %prog [options] set_default_version [directory] short_desc Set the default (serving) version. long_desc 
The 'set_default_version' command sets the default (serving) version of the app.
 Defaults to using the application and version specified in app.yaml; use the
 --application and --version flags to override these values. uses_basepath False N/A Action function ResourceLimitsInfo usage %prog [options] resource_limits_info <directory> short_desc Get the resource limits. long_desc 
The 'resource_limits_info' command prints the current resource limits that
are enforced. N/A main N/A N/A argv N/A N/A N/A N/A N/A logging basicConfig format %(asctime)s %(levelname)s %(filename)s:%(lineno)s %(message)s  N/A N/A N/A result N/A N/A N/A AppCfgApp argv Run N/A result N/A N/A N/A N/A sys exit result N/A N/A N/A KeyboardInterrupt N/A N/A N/A StatusUpdate Interrupted. N/A N/A N/A sys exit 1 N/A N/A N/A __name__ __main__ N/A N/A N/A main N/A sys argv