Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict NameLoad Num FunctionDef arguments args defaults vararg kwarg body Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad keyword Str Assign NameStore Call NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad keyword Str Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr keyword NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword ListLoad Str Str Str keyword NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Dict If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad TupleLoad Dict Expr Call AttributeLoad Call Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad attr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Dict Str Dict Str Str Dict Str Dict Str Str Dict Str Dict Str Str AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str Str TupleLoad Str Dict TupleLoad TupleLoad Dict TupleLoad TupleLoad Str Dict TupleLoad TupleLoad AttributeLoad NameLoad attr Str Dict If CompareEq AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str TupleLoad TupleLoad AttributeLoad NameLoad attr Str Dict Str NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str FunctionDef arguments args defaults vararg kwarg body Raise Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Dict Str Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults vararg kwarg body Assign SubscriptStore NameLoad Index Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults vararg kwarg body Assign SubscriptStore NameLoad Index Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Dict Str Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str AttributeLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Raise Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr Dict BinOpMult Num Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Assign NameStore Dict Str Dict Str Str Str AttributeLoad NameLoad attr Str Str Assign NameStore Dict Str Dict Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Num SubscriptLoad SubscriptLoad NameLoad Index Str Index Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Assign NameStore Dict Str Str Dict Str Str Str Num Str Str Dict Str Str Str Str Num Str Str Dict Str Str Num Num Assign NameStore SubscriptLoad NameLoad Index Num TryExcept body Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore SubscriptLoad NameLoad Index Str For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Assign NameStore Dict Str Str Str Dict Str Str Str Num Str Str Dict Str Str Str Num Str Str Dict Str Str Str Str Num Str Str Dict Str Str Num Num Assign NameStore SubscriptLoad NameLoad Index Num TryExcept body Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str Str Expr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults vararg body Assign AttributeStore NameLoad attr NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Assign AttributeStore NameLoad attr Num Assign NameStore Str Assign NameStore ListLoad TupleLoad Call AttributeLoad NameLoad attr keyword NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Call AttributeLoad NameLoad attr keyword NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Call AttributeLoad NameLoad attr keyword Str AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Call AttributeLoad NameLoad attr keyword NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Raise Call NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad If Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str orelse If Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr keyword Str keyword Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str FunctionDef arguments args defaults vararg kwarg body Raise Call AttributeLoad NameLoad attr keyword Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str FunctionDef arguments args defaults vararg kwarg body Raise Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad keyword Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults vararg body Assign AttributeStore NameLoad attr NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args defaults vararg body Raise Call AttributeLoad NameLoad attr keyword Num keyword Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args defaults vararg kwarg body Raise Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args defaults vararg body Raise Call AttributeLoad NameLoad attr keyword Num keyword Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults vararg body Assign AttributeStore NameLoad attr NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args defaults vararg kwarg body Raise Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr IfExp AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult Str Num Assign NameStore Dict Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad BinOpMult NameLoad Num BinOpMult NameLoad Num BinOpMult NameLoad Num BinOpMult NameLoad Num decorator_list Assign NameStore Call NameLoad keyword Call NameLoad keyword Str If NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call NameLoad keyword Call NameLoad Str keyword Num keyword Str keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return ListLoad Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Call NameLoad Str Str Str Num Str Num Num NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Str keyword Call NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call NameLoad keyword Call NameLoad Str keyword Num keyword Str keyword Str Assign NameStore Call NameLoad keyword Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad BinOpMult NameLoad Num BinOpMult NameLoad Num BinOpMult NameLoad Num BinOpMult NameLoad Num decorator_list Assign NameStore Call NameLoad keyword Call NameLoad keyword Str If NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return ListLoad Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Call NameLoad Str Str Str Num Str Num Num NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call NameLoad keyword Call NameLoad Str keyword Num keyword Str keyword Str Assign NameStore Call NameLoad keyword Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr IfExp AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Dict For NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr Num body Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Raise Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list decorator_list Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Return CompareEq NameLoad Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword ListLoad Str keyword NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr ListLoad Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr ListLoad Dict Str Str Str Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Dict Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Dict Str Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Assign NameStore Str Assign NameStore Dict NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Assign NameStore Str Assign NameStore Dict NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A base64 N/A uuid N/A mock mox3 mox oslo_policy policy oslo_policy oslo_utils uuidutils N/A webob nova.api.openstack.compute extension_info nova.api.openstack.compute.legacy_v2 servers servers_v2 nova.api.openstack.compute servers servers_v21 nova.compute api compute_api nova.compute task_states nova.compute vm_states N/A nova.conf nova exception nova.image glance nova objects nova policy nova test nova.tests.unit.api.openstack fakes nova.tests.unit fake_block_device nova.tests.unit fake_instance nova.tests.unit.image fake N/A CONF N/A N/A nova conf CONF N/A FAKE_UUID N/A fakes FAKE_UUID N/A INSTANCE_IDS N/A FAKE_UUID 1 return_server_not_found N/A N/A N/A arg kwarg N/A N/A N/A N/A exception InstanceNotFound instance_id FAKE_UUID N/A instance_update_and_get_original N/A N/A context instance_uuid values columns_to_join N/A None N/A N/A inst N/A N/A fakes stub_instance N/A INSTANCE_IDS N/A instance_uuid host fake_host N/A inst N/A dict inst values N/A N/A inst inst N/A instance_update N/A N/A context instance_uuid kwargs N/A N/A N/A inst N/A N/A fakes stub_instance N/A INSTANCE_IDS N/A instance_uuid host fake_host N/A inst N/A MockSetAdminPassword N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self instance_id None N/A N/A self password None N/A __call__ N/A N/A self context instance password N/A N/A N/A N/A self instance_id N/A instance N/A uuid N/A N/A self password password N/A N/A ServerActionsControllerTestV21 N/A N/A test TestCase N/A N/A image_uuid 76fa36fc-c930-4bf3-8c8a-ea2a2420deb6 N/A image_base_url http://localhost:9292/images/ N/A image_href N/A N/A image_base_url / image_uuid N/A servers servers_v21 N/A validation_error N/A exception ValidationError N/A request_too_large_error N/A exception ValidationError N/A image_url None setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ServerActionsControllerTestV21 self setUp N/A N/A N/A self flags group glance api_servers N/A http://localhost:9292 N/A N/A N/A self stub_out nova.db.instance_get_by_uuid N/A N/A fakes fake_instance_get vm_state N/A vm_states ACTIVE host fake_host N/A N/A N/A self stub_out nova.db.instance_update_and_get_original instance_update_and_get_original N/A N/A N/A fakes stub_out_nw_api self N/A N/A N/A fakes stub_out_compute_api_snapshot N/A self stubs N/A N/A N/A fake stub_out_image_service self N/A N/A N/A self flags allow_instance_snapshots True enable_instance_password True N/A N/A self _image_href 155d900f-4e14-4e4c-a73d-069cbf4541e6 N/A N/A self controller N/A N/A self _get_controller N/A N/A self compute_api N/A N/A self controller compute_api N/A N/A self req N/A N/A N/A fakes HTTPRequest blank N/A N/A self context N/A N/A N/A self req environ N/A nova.context N/A _get_controller N/A N/A self N/A N/A N/A ext_info N/A N/A extension_info LoadedExtensionInfo N/A N/A N/A N/A self servers ServersController extension_info ext_info N/A _set_fake_extension N/A N/A self N/A N/A N/A N/A _rebuild N/A N/A self context image_ref value N/A None N/A N/A N/A value None N/A N/A N/A N/A N/A compute_api API rebuild context N/A N/A mox IgnoreArg image_ref N/A N/A mox IgnoreArg preserve_ephemeral value N/A N/A N/A N/A N/A compute_api API rebuild context N/A N/A mox IgnoreArg image_ref N/A N/A mox IgnoreArg N/A _stub_instance_get N/A N/A self uuid N/A None N/A N/A N/A N/A N/A self mox StubOutWithMock N/A compute_api API get N/A N/A uuid None N/A N/A uuid N/A N/A uuidutils generate_uuid N/A instance N/A N/A fake_instance fake_db_instance id 1 uuid uuid vm_state N/A vm_states ACTIVE task_state None N/A instance N/A N/A N/A objects Instance _from_db_object N/A self context N/A N/A objects Instance instance N/A N/A N/A N/A N/A N/A self compute_api get N/A self context uuid expected_attrs N/A flavor pci_devices numa_topology want_objects True AndReturn instance N/A instance N/A _test_locked_instance N/A N/A self action method body_map compute_api_args_map N/A None None None N/A N/A N/A body_map None N/A N/A body_map N/A N/A N/A compute_api_args_map None N/A N/A compute_api_args_map N/A N/A instance N/A N/A self _stub_instance_get N/A N/A args kwargs N/A N/A compute_api_args_map get action N/A N/A N/A N/A N/A N/A N/A N/A getattr N/A compute_api API method N/A self context instance args kwargs AndRaise N/A N/A exception InstanceIsLocked instance_uuid N/A instance N/A uuid N/A N/A N/A N/A self mox ReplayAll N/A controller_function N/A self.controller. action N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A eval controller_function N/A self req N/A instance N/A uuid body N/A N/A body_map get action N/A N/A N/A N/A self mox VerifyAll N/A N/A N/A N/A self mox UnsetStubs N/A test_actions_with_locked_instance N/A N/A self N/A N/A N/A actions N/A _action_resize _action_confirm_resize _action_revert_resize _action_reboot _action_rebuild N/A method_translations N/A _action_resize _action_confirm_resize _action_revert_resize _action_reboot _action_rebuild resize confirm_resize revert_resize reboot rebuild N/A body_map N/A _action_resize _action_reboot _action_rebuild N/A resize N/A flavorRef 2 N/A reboot N/A type HARD N/A rebuild N/A imageRef adminPass N/A self image_uuid TNc53Dr8s7vw N/A args_map N/A _action_resize _action_confirm_resize _action_reboot _action_rebuild N/A 2 N/A N/A N/A N/A N/A N/A HARD N/A N/A N/A N/A self image_uuid TNc53Dr8s7vw N/A N/A N/A N/A self servers servers_v2 N/A N/A N/A args_map N/A _action_rebuild N/A N/A N/A self image_uuid TNc53Dr8s7vw N/A files_to_inject None N/A action actions N/A N/A method N/A N/A method_translations get action N/A N/A N/A N/A self mox StubOutWithMock N/A compute_api API method N/A N/A N/A self _test_locked_instance action method method body_map body_map compute_api_args_map args_map N/A test_reboot_hard N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict type HARD N/A N/A N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A test_reboot_soft N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict type SOFT N/A N/A N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A test_reboot_incorrect_type N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict type NOT_A_TYPE N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A test_reboot_missing_type N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A test_reboot_none N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict type None N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A test_reboot_not_found N/A N/A self N/A N/A N/A N/A N/A self stub_out nova.db.instance_get_by_uuid return_server_not_found N/A body N/A dict reboot N/A dict type HARD N/A N/A N/A self assertRaises N/A N/A webob exc HTTPNotFound N/A N/A self controller _action_reboot N/A self req N/A str N/A N/A uuid uuid4 body body N/A test_reboot_raises_conflict_on_invalid_state N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict type HARD fake_reboot N/A N/A N/A args kwargs N/A N/A N/A N/A exception InstanceInvalidState attr fake_attr state fake_state method fake_method instance_uuid fake N/A N/A N/A N/A N/A self stubs Set N/A compute_api API reboot fake_reboot N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A test_reboot_soft_with_soft_in_progress_raises_conflict N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict type SOFT N/A N/A N/A self stub_out nova.db.instance_get_by_uuid N/A N/A fakes fake_instance_get vm_state N/A vm_states ACTIVE task_state N/A task_states REBOOTING N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A test_reboot_hard_with_soft_in_progress_does_not_raise N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict type HARD N/A N/A N/A self stub_out nova.db.instance_get_by_uuid N/A N/A fakes fake_instance_get vm_state N/A vm_states ACTIVE task_state N/A task_states REBOOTING N/A N/A N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A test_reboot_hard_with_hard_in_progress N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict type HARD N/A N/A N/A self stub_out nova.db.instance_get_by_uuid N/A N/A fakes fake_instance_get vm_state N/A vm_states ACTIVE task_state N/A task_states REBOOTING_HARD N/A N/A N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A test_reboot_soft_with_hard_in_progress_raises_conflict N/A N/A self N/A N/A N/A body N/A dict reboot N/A dict type SOFT N/A N/A N/A self stub_out nova.db.instance_get_by_uuid N/A N/A fakes fake_instance_get vm_state N/A vm_states ACTIVE task_state N/A task_states REBOOTING_HARD N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A N/A self controller _action_reboot N/A self req FAKE_UUID body body N/A _test_rebuild_preserve_ephemeral N/A N/A self value N/A None N/A N/A N/A N/A self _set_fake_extension N/A return_server N/A N/A fakes fake_instance_get image_ref 2 vm_state N/A vm_states ACTIVE host fake_host N/A N/A N/A self stub_out nova.db.instance_get_by_uuid return_server N/A body N/A rebuild N/A imageRef N/A self _image_href N/A N/A value None N/A N/A N/A N/A body N/A rebuild N/A preserve_ephemeral value N/A N/A N/A N/A self mox StubOutWithMock N/A compute_api API rebuild N/A N/A N/A self _rebuild N/A self context N/A self _image_href value N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A test_rebuild_preserve_ephemeral_true N/A N/A self N/A N/A N/A N/A N/A self _test_rebuild_preserve_ephemeral True N/A test_rebuild_preserve_ephemeral_false N/A N/A self N/A N/A N/A N/A N/A self _test_rebuild_preserve_ephemeral False N/A test_rebuild_preserve_ephemeral_default N/A N/A self N/A N/A N/A N/A N/A self _test_rebuild_preserve_ephemeral N/A test_rebuild_accepted_minimum N/A N/A self N/A N/A N/A return_server N/A N/A fakes fake_instance_get image_ref 2 vm_state N/A vm_states ACTIVE host fake_host N/A N/A N/A self stub_out nova.db.instance_get_by_uuid return_server N/A self_href N/A http://localhost/v2/servers/%s FAKE_UUID N/A body N/A rebuild N/A imageRef N/A self _image_href N/A robj N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A body N/A robj obj N/A N/A N/A self assertEqual N/A N/A N/A body N/A server N/A image N/A id 2 N/A N/A N/A self assertEqual N/A len N/A N/A body N/A server N/A adminPass N/A CONF password_length N/A N/A N/A self assertEqual N/A robj N/A location self_href N/A test_rebuild_instance_with_image_uuid N/A N/A self N/A N/A N/A info N/A dict image_href_in_call None rebuild N/A N/A self2 context instance image_href N/A args kwargs N/A N/A N/A info N/A image_href_in_call image_href N/A N/A N/A N/A self stub_out nova.db.instance_get N/A N/A fakes fake_instance_get vm_state N/A vm_states ACTIVE N/A N/A N/A N/A self stubs Set N/A compute_api API rebuild rebuild N/A body N/A rebuild N/A imageRef N/A self image_uuid N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A N/A N/A self assertEqual N/A info N/A image_href_in_call N/A self image_uuid N/A test_rebuild_instance_with_image_href_uses_uuid N/A N/A self N/A N/A N/A info N/A dict image_href_in_call None rebuild N/A N/A self2 context instance image_href N/A args kwargs N/A N/A N/A info N/A image_href_in_call image_href N/A N/A N/A N/A self stub_out nova.db.instance_get N/A N/A fakes fake_instance_get vm_state N/A vm_states ACTIVE N/A N/A N/A N/A self stubs Set N/A compute_api API rebuild rebuild N/A body N/A rebuild N/A imageRef N/A self image_href N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A N/A N/A self assertEqual N/A info N/A image_href_in_call N/A self image_uuid N/A test_rebuild_accepted_minimum_pass_disabled N/A N/A self N/A N/A N/A N/A N/A self flags enable_instance_password False N/A return_server N/A N/A fakes fake_instance_get image_ref 2 vm_state N/A vm_states ACTIVE host fake_host N/A N/A N/A self stub_out nova.db.instance_get_by_uuid return_server N/A self_href N/A http://localhost/v2/servers/%s FAKE_UUID N/A body N/A rebuild N/A imageRef N/A self _image_href N/A robj N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A body N/A robj obj N/A N/A N/A self assertEqual N/A N/A N/A body N/A server N/A image N/A id 2 N/A N/A N/A self assertNotIn adminPass N/A body N/A server N/A N/A N/A self assertEqual N/A robj N/A location self_href N/A test_rebuild_raises_conflict_on_invalid_state N/A N/A self N/A N/A N/A body N/A rebuild N/A imageRef N/A self _image_href fake_rebuild N/A N/A N/A args kwargs N/A N/A N/A N/A exception InstanceInvalidState attr fake_attr state fake_state method fake_method instance_uuid fake N/A N/A N/A N/A N/A self stubs Set N/A compute_api API rebuild fake_rebuild N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A test_rebuild_accepted_with_metadata N/A N/A self N/A N/A N/A metadata N/A new metadata N/A return_server N/A N/A fakes fake_instance_get metadata metadata vm_state N/A vm_states ACTIVE host fake_host N/A N/A N/A self stub_out nova.db.instance_get_by_uuid return_server N/A body N/A rebuild N/A imageRef metadata N/A self _image_href metadata N/A body N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body obj N/A N/A N/A self assertEqual N/A N/A body N/A server N/A metadata metadata N/A test_rebuild_accepted_with_bad_metadata N/A N/A self N/A N/A N/A body N/A rebuild N/A imageRef metadata N/A self _image_href stack N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A test_rebuild_with_too_large_metadata N/A N/A self N/A N/A N/A body N/A rebuild N/A imageRef metadata N/A self _image_href N/A N/A 256 k value N/A N/A N/A self assertRaises N/A self request_too_large_error N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A test_rebuild_bad_entity N/A N/A self N/A N/A N/A body N/A rebuild N/A imageId N/A self _image_href N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A test_rebuild_admin_pass N/A N/A self N/A N/A N/A return_server N/A N/A fakes fake_instance_get image_ref 2 vm_state N/A vm_states ACTIVE host fake_host N/A N/A N/A self stub_out nova.db.instance_get_by_uuid return_server N/A body N/A rebuild N/A imageRef adminPass N/A self _image_href asdf N/A body N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body obj N/A N/A N/A self assertEqual N/A N/A N/A body N/A server N/A image N/A id 2 N/A N/A N/A self assertEqual N/A N/A body N/A server N/A adminPass asdf N/A test_rebuild_admin_pass_pass_disabled N/A N/A self N/A N/A N/A N/A N/A self flags enable_instance_password False N/A return_server N/A N/A fakes fake_instance_get image_ref 2 vm_state N/A vm_states ACTIVE host fake_host N/A N/A N/A self stub_out nova.db.instance_get_by_uuid return_server N/A body N/A rebuild N/A imageRef adminPass N/A self _image_href asdf N/A body N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body obj N/A N/A N/A self assertEqual N/A N/A N/A body N/A server N/A image N/A id 2 N/A N/A N/A self assertNotIn adminPass N/A body N/A server N/A test_rebuild_server_not_found N/A N/A self N/A N/A server_not_found N/A N/A self instance_id columns_to_join use_slave N/A None False N/A N/A N/A N/A exception InstanceNotFound instance_id instance_id N/A N/A N/A N/A self stub_out nova.db.instance_get_by_uuid server_not_found N/A body N/A rebuild N/A imageRef N/A self _image_href N/A N/A N/A self assertRaises N/A N/A webob exc HTTPNotFound N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A test_rebuild_with_bad_image N/A N/A self N/A N/A N/A body N/A rebuild N/A imageRef foo N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A test_rebuild_accessIP N/A N/A self N/A N/A N/A attributes N/A access_ip_v4 access_ip_v6 172.19.0.1 fe80::1 N/A body N/A rebuild N/A imageRef accessIPv4 accessIPv6 N/A self _image_href 172.19.0.1 fe80::1 N/A data N/A changes N/A N/A orig_get N/A N/A compute_api API get wrap_get N/A N/A N/A args kwargs N/A N/A N/A data N/A instance N/A orig_get args kwargs N/A N/A data N/A instance N/A fake_save N/A N/A context N/A kwargs N/A N/A N/A N/A N/A data N/A changes update N/A N/A N/A data N/A instance obj_get_changes N/A N/A N/A N/A N/A self stubs Set N/A compute_api API get wrap_get N/A N/A N/A N/A self stubs Set N/A objects Instance save fake_save N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A N/A N/A self assertEqual N/A self _image_href N/A N/A data N/A changes N/A image_ref N/A N/A N/A self assertEqual N/A N/A data N/A changes N/A kernel_id N/A N/A N/A self assertEqual N/A N/A data N/A changes N/A ramdisk_id N/A N/A N/A self assertEqual N/A task_states REBUILDING N/A N/A data N/A changes N/A task_state N/A N/A N/A self assertEqual 0 N/A N/A data N/A changes N/A progress N/A N/A attr value N/A N/A attributes items N/A N/A N/A N/A self assertEqual value N/A str N/A N/A data N/A changes N/A attr N/A test_rebuild_when_kernel_not_exists N/A N/A self N/A N/A return_image_meta N/A N/A N/A args kwargs N/A N/A image_meta_table N/A 2 155d900f-4e14-4e4c-a73d-069cbf4541e6 N/A id status container_format 2 active ari N/A id status container_format properties 3 active raw N/A kernel_id ramdisk_id 1 2 N/A image_id N/A args N/A 2 N/A N/A N/A image_meta N/A image_meta_table N/A N/A str image_id N/A N/A N/A KeyError N/A N/A N/A N/A exception ImageNotFound image_id image_id N/A image_meta N/A N/A N/A N/A N/A self stubs Set N/A fake _FakeImageService show return_image_meta N/A body N/A rebuild N/A imageRef 155d900f-4e14-4e4c-a73d-069cbf4541e6 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A test_rebuild_proper_kernel_ram N/A N/A self N/A N/A N/A instance_meta N/A kernel_id ramdisk_id None None N/A orig_get N/A N/A compute_api API get wrap_get N/A N/A N/A args kwargs N/A N/A inst N/A orig_get args kwargs N/A N/A instance_meta N/A instance inst N/A inst N/A fake_save N/A N/A context N/A kwargs N/A N/A instance N/A instance_meta N/A instance N/A key N/A N/A instance_meta keys N/A N/A N/A key N/A N/A instance obj_what_changed N/A N/A N/A instance_meta N/A key N/A instance N/A key N/A return_image_meta N/A N/A N/A args kwargs N/A N/A image_meta_table N/A 1 2 155d900f-4e14-4e4c-a73d-069cbf4541e6 N/A id status container_format 1 active aki N/A id status container_format 2 active ari N/A id status container_format properties 3 active raw N/A kernel_id ramdisk_id 1 2 N/A image_id N/A args N/A 2 N/A N/A N/A image_meta N/A image_meta_table N/A N/A str image_id N/A N/A N/A KeyError N/A N/A N/A N/A exception ImageNotFound image_id image_id N/A image_meta N/A N/A N/A N/A N/A self stubs Set N/A fake _FakeImageService show return_image_meta N/A N/A N/A N/A self stubs Set N/A compute_api API get wrap_get N/A N/A N/A N/A self stubs Set N/A objects Instance save fake_save N/A body N/A rebuild N/A imageRef 155d900f-4e14-4e4c-a73d-069cbf4541e6 N/A N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body obj N/A N/A N/A self assertEqual N/A instance_meta N/A kernel_id 1 N/A N/A N/A self assertEqual N/A instance_meta N/A ramdisk_id 2 N/A test_rebuild_instance_raise_auto_disk_config_exc N/A N/A self mock_rebuild N/A N/A N/A body N/A rebuild N/A imageRef N/A self _image_href N/A N/A mock_rebuild side_effect N/A N/A exception AutoDiskConfigDisabledByImage image dummy N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A N/A N/A N/A mock patch object N/A compute_api API rebuild test_resize_server N/A N/A self N/A N/A N/A body N/A dict resize N/A dict flavorRef http://localhost/3 N/A N/A self resize_called False resize_mock N/A N/A N/A args N/A N/A N/A self resize_called True N/A N/A N/A N/A N/A self stubs Set N/A compute_api API resize resize_mock N/A N/A N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A N/A N/A self assertTrue N/A self resize_called N/A test_resize_server_no_flavor N/A N/A self N/A N/A N/A body N/A dict resize N/A dict N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A test_resize_server_no_flavor_ref N/A N/A self N/A N/A N/A body N/A dict resize N/A dict flavorRef None N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A test_resize_server_with_extra_arg N/A N/A self N/A N/A N/A body N/A dict resize N/A dict favorRef http://localhost/3 extra_arg extra_arg N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A test_resize_server_invalid_flavor_ref N/A N/A self N/A N/A N/A body N/A dict resize N/A dict flavorRef 1.2 N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A test_resize_with_server_not_found N/A N/A self N/A N/A N/A body N/A dict resize N/A dict flavorRef http://localhost/3 N/A N/A N/A N/A self stubs Set N/A compute_api API get return_server_not_found N/A N/A N/A self assertRaises N/A N/A webob exc HTTPNotFound N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A test_resize_with_image_exceptions N/A N/A self N/A N/A N/A body N/A dict resize N/A dict flavorRef http://localhost/3 N/A N/A self resize_called 0 N/A image_id fake_image_id N/A exceptions N/A N/A N/A N/A exception ImageNotAuthorized image_id image_id N/A N/A webob exc HTTPUnauthorized N/A N/A N/A exception ImageNotFound image_id image_id N/A N/A webob exc HTTPBadRequest N/A N/A exception Invalid N/A N/A webob exc HTTPBadRequest N/A N/A N/A exception NoValidHost reason Bad host N/A N/A webob exc HTTPBadRequest N/A N/A N/A exception AutoDiskConfigDisabledByImage image image_id N/A N/A webob exc HTTPBadRequest N/A N/A raised expected N/A map iter N/A zip exceptions _fake_resize N/A N/A obj context instance flavor_id N/A N/A N/A N/A self resize_called 1 N/A N/A next raised N/A N/A N/A N/A N/A self stubs Set N/A compute_api API resize _fake_resize N/A call_no N/A range N/A len exceptions N/A N/A next_exception N/A next expected N/A actual N/A N/A self assertRaises next_exception N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A N/A isinstance N/A N/A exceptions N/A call_no N/A 0 N/A exception NoValidHost N/A N/A N/A N/A self assertEqual N/A actual explanation No valid host was found. Bad host N/A N/A N/A isinstance N/A N/A exceptions N/A call_no N/A 0 N/A exception AutoDiskConfigDisabledByImage N/A N/A N/A N/A self assertEqual N/A actual explanation Requested image fake_image_id has automatic disk resize disabled. N/A N/A N/A self assertEqual N/A self resize_called N/A call_no 1 N/A test_resize_raises_cannot_resize_disk N/A N/A self mock_resize N/A N/A N/A body N/A dict resize N/A dict flavorRef http://localhost/3 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A N/A N/A mock patch nova.compute.api.API.resize side_effect N/A N/A exception CannotResizeDisk reason test_resize_raises_flavor_not_found N/A N/A self mock_resize N/A N/A N/A body N/A dict resize N/A dict flavorRef http://localhost/3 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A N/A N/A mock patch nova.compute.api.API.resize side_effect N/A N/A exception FlavorNotFound reason flavor_id fake_id test_resize_with_too_many_instances N/A N/A self N/A N/A N/A body N/A dict resize N/A dict flavorRef http://localhost/3 fake_resize N/A N/A N/A args kwargs N/A N/A N/A N/A exception TooManyInstances message TooManyInstance N/A N/A N/A N/A N/A self stubs Set N/A compute_api API resize fake_resize N/A N/A N/A self assertRaises N/A N/A webob exc HTTPForbidden N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A test_resize_raises_conflict_on_invalid_state N/A N/A self N/A N/A N/A body N/A dict resize N/A dict flavorRef http://localhost/3 fake_resize N/A N/A N/A args kwargs N/A N/A N/A N/A exception InstanceInvalidState attr fake_attr state fake_state method fake_method instance_uuid fake N/A N/A N/A N/A N/A self stubs Set N/A compute_api API resize fake_resize N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A test_resize_raises_no_valid_host N/A N/A self mock_resize N/A N/A N/A body N/A dict resize N/A dict flavorRef http://localhost/3 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A N/A N/A mock patch nova.compute.api.API.resize side_effect N/A N/A exception NoValidHost reason test_resize_instance_raise_auto_disk_config_exc N/A N/A self mock_resize N/A N/A N/A N/A mock_resize side_effect N/A N/A exception AutoDiskConfigDisabledByImage image dummy N/A body N/A dict resize N/A dict flavorRef http://localhost/3 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_resize N/A self req FAKE_UUID body body N/A N/A N/A N/A mock patch object N/A compute_api API resize test_confirm_resize_server N/A N/A self N/A N/A N/A body N/A dict confirmResize None N/A N/A self confirm_resize_called False cr_mock N/A N/A N/A args N/A N/A N/A self confirm_resize_called True N/A N/A N/A N/A N/A self stubs Set N/A compute_api API confirm_resize cr_mock N/A N/A N/A N/A self controller _action_confirm_resize N/A self req FAKE_UUID body body N/A N/A N/A self assertTrue N/A self confirm_resize_called N/A test_confirm_resize_migration_not_found N/A N/A self N/A N/A N/A body N/A dict confirmResize None confirm_resize_mock N/A N/A N/A args N/A N/A N/A N/A exception MigrationNotFoundByStatus instance_id 1 status finished N/A N/A N/A N/A N/A self stubs Set N/A compute_api API confirm_resize confirm_resize_mock N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_confirm_resize N/A self req FAKE_UUID body body N/A test_confirm_resize_raises_conflict_on_invalid_state N/A N/A self N/A N/A N/A body N/A dict confirmResize None fake_confirm_resize N/A N/A N/A args kwargs N/A N/A N/A N/A exception InstanceInvalidState attr fake_attr state fake_state method fake_method instance_uuid fake N/A N/A N/A N/A N/A self stubs Set N/A compute_api API confirm_resize fake_confirm_resize N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A N/A self controller _action_confirm_resize N/A self req FAKE_UUID body body N/A test_revert_resize_migration_not_found N/A N/A self N/A N/A N/A body N/A dict revertResize None revert_resize_mock N/A N/A N/A args N/A N/A N/A N/A exception MigrationNotFoundByStatus instance_id 1 status finished N/A N/A N/A N/A N/A self stubs Set N/A compute_api API revert_resize revert_resize_mock N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_revert_resize N/A self req FAKE_UUID body body N/A test_revert_resize_server_not_found N/A N/A self N/A N/A N/A body N/A dict revertResize None N/A N/A N/A self assertRaises N/A N/A webob exc HTTPNotFound N/A N/A self controller _action_revert_resize N/A self req bad_server_id body body N/A test_revert_resize_server N/A N/A self N/A N/A N/A body N/A dict revertResize None N/A N/A self revert_resize_called False revert_mock N/A N/A N/A args N/A N/A N/A self revert_resize_called True N/A N/A N/A N/A N/A self stubs Set N/A compute_api API revert_resize revert_mock N/A body N/A N/A N/A self controller _action_revert_resize N/A self req FAKE_UUID body body N/A N/A N/A self assertTrue N/A self revert_resize_called N/A test_revert_resize_raises_conflict_on_invalid_state N/A N/A self N/A N/A N/A body N/A dict revertResize None fake_revert_resize N/A N/A N/A args kwargs N/A N/A N/A N/A exception InstanceInvalidState attr fake_attr state fake_state method fake_method instance_uuid fake N/A N/A N/A N/A N/A self stubs Set N/A compute_api API revert_resize fake_revert_resize N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A N/A self controller _action_revert_resize N/A self req FAKE_UUID body body N/A test_create_image N/A N/A self N/A N/A N/A body N/A createImage N/A name Snapshot 1 N/A response N/A N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A location N/A N/A response headers N/A Location N/A N/A N/A self assertEqual N/A N/A self image_url N/A N/A self image_url 123 N/A N/A glance generate_image_url 123 location N/A test_create_image_name_too_long N/A N/A self N/A N/A N/A long_name N/A a 260 N/A body N/A createImage N/A name long_name N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A _do_test_create_volume_backed_image N/A N/A self extra_properties N/A N/A _fake_id N/A N/A x N/A N/A N/A N/A %s-%s-%s-%s N/A N/A x 8 N/A x 4 N/A x 4 N/A x 12 N/A N/A body N/A dict createImage N/A dict name snapshot_of_volume_backed N/A extra_properties N/A N/A N/A N/A body N/A createImage N/A metadata extra_properties N/A image_service N/A N/A glance get_default_image_service N/A bdm N/A N/A dict volume_id N/A _fake_id a volume_size 1 device_name vda delete_on_termination False fake_block_device_mapping_get_all_by_instance N/A N/A context inst_id use_slave N/A False N/A N/A N/A N/A N/A fake_block_device FakeDbBlockDeviceDict N/A volume_id source_type destination_type volume_size device_name snapshot_id boot_index delete_on_termination no_device N/A _fake_id a snapshot volume 1 vda 1 0 False None N/A N/A N/A N/A self stub_out nova.db.block_device_mapping_get_all_by_instance fake_block_device_mapping_get_all_by_instance N/A system_metadata N/A dict image_kernel_id N/A _fake_id b image_ramdisk_id N/A _fake_id c image_root_device_name /dev/vda image_block_device_mapping N/A str bdm image_container_format ami N/A instance N/A N/A fakes fake_instance_get image_ref N/A str N/A N/A uuid uuid4 vm_state N/A vm_states ACTIVE root_device_name /dev/vda system_metadata system_metadata N/A N/A N/A self stub_out nova.db.instance_get_by_uuid instance N/A N/A N/A N/A self mox StubOutWithMock N/A N/A N/A self controller compute_api compute_rpcapi quiesce_instance N/A N/A N/A N/A N/A N/A N/A N/A self controller compute_api compute_rpcapi quiesce_instance N/A N/A mox IgnoreArg N/A N/A mox IgnoreArg AndRaise N/A N/A exception InstanceQuiesceNotSupported instance_id fake reason test N/A volume N/A dict id N/A _fake_id a size 1 host fake display_description fake N/A snapshot N/A dict id N/A _fake_id d N/A N/A N/A N/A self mox StubOutWithMock N/A N/A self controller compute_api volume_api N/A volume_api N/A N/A N/A self controller compute_api volume_api N/A N/A N/A N/A N/A volume_api get N/A N/A mox IgnoreArg N/A volume N/A id AndReturn volume N/A N/A N/A N/A N/A volume_api create_snapshot_force N/A N/A mox IgnoreArg N/A volume N/A id N/A N/A mox IgnoreArg N/A N/A mox IgnoreArg AndReturn snapshot N/A N/A N/A N/A self mox ReplayAll N/A response N/A N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A location N/A N/A response headers N/A Location N/A image_id N/A N/A location replace N/A N/A self image_url N/A N/A glance generate_image_url N/A image N/A N/A image_service show None image_id N/A N/A N/A self assertEqual N/A image N/A name snapshot_of_volume_backed N/A properties N/A image N/A properties N/A N/A N/A self assertEqual N/A properties N/A kernel_id N/A _fake_id b N/A N/A N/A self assertEqual N/A properties N/A ramdisk_id N/A _fake_id c N/A N/A N/A self assertEqual N/A properties N/A root_device_name /dev/vda N/A N/A N/A self assertTrue N/A properties N/A bdm_v2 N/A bdms N/A properties N/A block_device_mapping N/A N/A N/A self assertEqual N/A len bdms 1 N/A N/A N/A self assertEqual N/A N/A bdms N/A 0 N/A boot_index 0 N/A N/A N/A self assertEqual N/A N/A bdms N/A 0 N/A source_type snapshot N/A N/A N/A self assertEqual N/A N/A bdms N/A 0 N/A destination_type volume N/A N/A N/A self assertEqual N/A N/A bdms N/A 0 N/A snapshot_id N/A snapshot N/A id N/A N/A N/A self assertEqual /dev/vda N/A N/A bdms N/A 0 N/A device_name N/A fld N/A connection_info id instance_uuid N/A N/A N/A N/A self assertNotIn fld N/A bdms N/A 0 N/A k N/A N/A extra_properties keys N/A N/A N/A N/A self assertEqual N/A properties N/A k N/A extra_properties N/A k N/A test_create_volume_backed_image_no_metadata N/A N/A self N/A N/A N/A N/A N/A self _do_test_create_volume_backed_image N/A N/A test_create_volume_backed_image_with_metadata N/A N/A self N/A N/A N/A N/A N/A self _do_test_create_volume_backed_image N/A dict ImageType Gold ImageVersion 2.0 N/A _test_create_volume_backed_image_with_metadata_from_volume N/A N/A self extra_metadata N/A None N/A _fake_id N/A N/A x N/A N/A N/A N/A %s-%s-%s-%s N/A N/A x 8 N/A x 4 N/A x 4 N/A x 12 N/A N/A body N/A dict createImage N/A dict name snapshot_of_volume_backed N/A extra_metadata N/A N/A N/A N/A body N/A createImage N/A metadata extra_metadata N/A image_service N/A N/A glance get_default_image_service fake_block_device_mapping_get_all_by_instance N/A N/A context inst_id use_slave N/A False N/A N/A N/A N/A N/A fake_block_device FakeDbBlockDeviceDict N/A volume_id source_type destination_type volume_size device_name snapshot_id boot_index delete_on_termination no_device N/A _fake_id a snapshot volume 1 vda 1 0 False None N/A N/A N/A N/A self stub_out nova.db.block_device_mapping_get_all_by_instance fake_block_device_mapping_get_all_by_instance N/A instance N/A N/A fakes fake_instance_get image_ref vm_state N/A vm_states ACTIVE root_device_name /dev/vda system_metadata N/A image_test_key1 image_test_key2 test_value1 test_value2 N/A N/A N/A self stub_out nova.db.instance_get_by_uuid instance N/A N/A N/A N/A self mox StubOutWithMock N/A N/A N/A self controller compute_api compute_rpcapi quiesce_instance N/A N/A N/A N/A N/A N/A N/A N/A self controller compute_api compute_rpcapi quiesce_instance N/A N/A mox IgnoreArg N/A N/A mox IgnoreArg AndRaise N/A N/A exception InstanceQuiesceNotSupported instance_id fake reason test N/A volume N/A dict id N/A _fake_id a size 1 host fake display_description fake N/A snapshot N/A dict id N/A _fake_id d N/A N/A N/A N/A self mox StubOutWithMock N/A N/A self controller compute_api volume_api N/A volume_api N/A N/A N/A self controller compute_api volume_api N/A N/A N/A N/A N/A volume_api get N/A N/A mox IgnoreArg N/A volume N/A id AndReturn volume N/A N/A N/A N/A N/A volume_api create_snapshot_force N/A N/A mox IgnoreArg N/A volume N/A id N/A N/A mox IgnoreArg N/A N/A mox IgnoreArg AndReturn snapshot N/A N/A N/A N/A self mox ReplayAll N/A response N/A N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A location N/A N/A response headers N/A Location N/A image_id N/A N/A location replace N/A self image_base_url N/A image N/A N/A image_service show None image_id N/A properties N/A image N/A properties N/A N/A N/A self assertEqual N/A properties N/A test_key1 test_value1 N/A N/A N/A self assertEqual N/A properties N/A test_key2 test_value2 N/A extra_metadata N/A N/A N/A key val N/A N/A extra_metadata items N/A N/A N/A N/A self assertEqual N/A properties N/A key val N/A test_create_vol_backed_img_with_meta_from_vol_without_extra_meta N/A N/A self N/A N/A N/A N/A N/A self _test_create_volume_backed_image_with_metadata_from_volume N/A test_create_vol_backed_img_with_meta_from_vol_with_extra_meta N/A N/A self N/A N/A N/A N/A N/A self _test_create_volume_backed_image_with_metadata_from_volume extra_metadata N/A a b N/A test_create_image_snapshots_disabled N/A N/A self N/A N/A N/A Don't permit a snapshot if the allow_instance_snapshots flag is
        False
         N/A N/A N/A self flags allow_instance_snapshots False N/A body N/A createImage N/A name Snapshot 1 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A test_create_image_with_metadata N/A N/A self N/A N/A N/A body N/A createImage N/A name metadata Snapshot 1 N/A key asdf N/A response N/A N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A location N/A N/A response headers N/A Location N/A N/A N/A self assertEqual N/A N/A self image_url N/A N/A self image_url 123 N/A N/A glance generate_image_url 123 location N/A test_create_image_with_too_much_metadata N/A N/A self N/A N/A N/A body N/A createImage N/A name metadata Snapshot 1 N/A N/A num N/A range N/A N/A CONF quota_metadata_items 1 N/A N/A N/A N/A N/A body N/A createImage N/A metadata N/A N/A foo%i num bar N/A N/A N/A self assertRaises N/A N/A webob exc HTTPForbidden N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A test_create_image_no_name N/A N/A self N/A N/A N/A body N/A createImage N/A N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A test_create_image_blank_name N/A N/A self N/A N/A N/A body N/A createImage N/A name N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A test_create_image_bad_metadata N/A N/A self N/A N/A N/A body N/A createImage N/A name metadata geoff henry N/A N/A N/A self assertRaises N/A self validation_error N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A test_create_image_raises_conflict_on_invalid_state N/A N/A self N/A N/A snapshot N/A N/A N/A args kwargs N/A N/A N/A N/A exception InstanceInvalidState attr fake_attr state fake_state method fake_method instance_uuid fake N/A N/A N/A N/A N/A self stubs Set N/A compute_api API snapshot snapshot N/A body N/A createImage N/A name test_snapshot N/A N/A N/A self assertRaises N/A N/A webob exc HTTPConflict N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A N/A ServerActionsControllerTestV2 N/A ServerActionsControllerTestV21 N/A N/A image_base_url http://localhost/v2/fake/images/ N/A servers servers_v2 N/A validation_error N/A N/A webob exc HTTPBadRequest N/A request_too_large_error N/A N/A webob exc HTTPRequestEntityTooLarge N/A image_url http://localhost/v2/fake/images/ _get_controller N/A N/A self N/A N/A FakeExtManager N/A object N/A is_loaded N/A N/A self ext N/A N/A N/A False N/A N/A N/A N/A N/A N/A self servers Controller ext_mgr N/A FakeExtManager N/A _set_fake_extension N/A N/A self N/A N/A fake_is_loaded N/A N/A ext N/A N/A N/A N/A ext os-preserve-ephemeral-rebuild N/A N/A N/A N/A N/A self stubs Set N/A N/A self controller ext_mgr is_loaded fake_is_loaded N/A _rebuild N/A N/A self context image_ref value N/A None N/A N/A N/A value None N/A N/A N/A N/A N/A compute_api API rebuild context N/A N/A mox IgnoreArg image_ref N/A N/A mox IgnoreArg preserve_ephemeral value files_to_inject None N/A N/A N/A N/A N/A compute_api API rebuild context N/A N/A mox IgnoreArg image_ref N/A N/A mox IgnoreArg files_to_inject None N/A _stub_instance_get N/A N/A self uuid N/A None N/A N/A N/A N/A N/A self mox StubOutWithMock N/A compute_api API get N/A N/A uuid None N/A N/A uuid N/A N/A uuidutils generate_uuid N/A instance N/A N/A fake_instance fake_db_instance id 1 uuid uuid vm_state N/A vm_states ACTIVE task_state None N/A instance N/A N/A N/A objects Instance _from_db_object N/A self context N/A N/A objects Instance instance N/A N/A N/A N/A N/A N/A self compute_api get N/A self context uuid expected_attrs N/A flavor want_objects True AndReturn instance N/A instance N/A test_rebuild_bad_personality N/A N/A self N/A N/A N/A body N/A rebuild N/A imageRef personality N/A self _image_href N/A N/A path contents /path/to/file INVALID b64 N/A N/A N/A self assertRaises N/A N/A webob exc HTTPBadRequest N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body N/A test_rebuild_personality N/A N/A self N/A N/A N/A body N/A rebuild N/A imageRef personality N/A self _image_href N/A N/A path contents /path/to/file N/A N/A base64 b64encode Test String N/A body N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body body obj N/A N/A N/A self assertNotIn personality N/A body N/A server N/A test_resize_server_with_extra_arg N/A N/A self N/A N/A N/A N/A test_resize_server_invalid_flavor_ref N/A N/A self N/A N/A N/A N/A test_create_image_glance_link_prefix N/A N/A self N/A N/A N/A N/A N/A self flags osapi_glance_link_prefix https://glancehost N/A body N/A createImage N/A name Snapshot 1 N/A response N/A N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A location N/A N/A response headers N/A Location N/A N/A N/A self assertEqual https://glancehost/v2/fake/images/123 location N/A test_rebuild_preserve_ephemeral_is_ignored_when_ext_not_loaded N/A N/A self N/A N/A N/A return_server N/A N/A fakes fake_instance_get image_ref 2 vm_state N/A vm_states ACTIVE host fake_host N/A N/A N/A self stub_out nova.db.instance_get_by_uuid return_server N/A body N/A rebuild N/A imageRef preserve_ephemeral N/A self _image_href False N/A N/A N/A N/A self mox StubOutWithMock N/A compute_api API rebuild N/A N/A N/A N/A compute_api API rebuild N/A self context N/A N/A mox IgnoreArg N/A self _image_href N/A N/A mox IgnoreArg files_to_inject None N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self controller _action_rebuild N/A self req FAKE_UUID body N/A test_create_vol_backed_img_snapshotting_policy_blocks_project N/A N/A self N/A N/A N/A Don't permit a snapshot of a volume backed instance if configured
        not to based on project
         N/A body N/A createImage N/A name Snapshot 1 N/A rule_name compute:snapshot_volume_backed N/A rules N/A rule_name compute:get project_id:no_id N/A N/A N/A policy set_rules N/A N/A N/A oslo_policy Rules from_dict rules N/A N/A N/A N/A mock patch object N/A compute_api API is_volume_backed_instance return_value True N/A N/A exc N/A N/A self assertRaises N/A exception PolicyNotAuthorized N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A N/A N/A self assertEqual N/A Policy doesn't allow %s to be performed. rule_name N/A N/A exc format_message N/A test_create_vol_backed_img_snapshotting_policy_blocks_role N/A N/A self N/A N/A N/A Don't permit a snapshot of a volume backed instance if configured
        not to based on role
         N/A body N/A createImage N/A name Snapshot 1 N/A rule_name compute:snapshot_volume_backed N/A rules N/A rule_name compute:get role:no_role N/A N/A N/A policy set_rules N/A N/A N/A oslo_policy Rules from_dict rules N/A N/A N/A N/A mock patch object N/A compute_api API is_volume_backed_instance return_value True N/A N/A exc N/A N/A self assertRaises N/A exception PolicyNotAuthorized N/A N/A self controller _action_create_image N/A self req FAKE_UUID body body N/A N/A N/A self assertEqual N/A Policy doesn't allow %s to be performed. rule_name N/A N/A exc format_message N/A N/A