Module Import alias Import alias Import alias Import alias TryExcept body Import alias identifier handlers ExceptHandler body Import alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias Import alias ImportFrom alias alias If AttributeLoad NameLoad attr body ImportFrom alias orelse ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return ListComp Call NameLoad NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Index Num Return Call NameLoad GeneratorExp TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Call NameLoad SubscriptLoad NameLoad Index Num NameLoad comprehension NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str If CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Print TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad If CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If Call NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Return ListComp Call NameLoad NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad If Call NameLoad NameLoad body Return ListComp Call NameLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad If Call NameLoad NameLoad NameLoad body Return Call NameLoad GeneratorExp TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Index Num Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Index Num comprehension NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return Call NameLoad GeneratorExp TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Return Call NameLoad NameLoad If Call NameLoad NameLoad Str body For NameStore AttributeLoad NameLoad attr body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Continue Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad If CompareEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad NameLoad attr Str If CompareNotEq Call NameLoad NameLoad NameLoad body Print TupleLoad Call NameLoad NameLoad NameLoad Return Call NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Str decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Print Call NameLoad NameLoad Return Call NameLoad NameLoad Call NameLoad Str decorator_list Call NameLoad NameLoad keyword Str Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Print Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad Str Return Call NameLoad NameLoad Call NameLoad Str decorator_list Call NameLoad NameLoad keyword Str keyword NameLoad Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Print Call NameLoad NameLoad Return Call NameLoad NameLoad Call NameLoad Str decorator_list Call NameLoad NameLoad keyword Str Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Print Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Print Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad Str Return Call NameLoad NameLoad Call NameLoad Str decorator_list Call NameLoad NameLoad keyword Str Call NameLoad NameLoad decorator_list Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call NameLoad ClassDef bases AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad kwarg body If NameLoad body If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse For NameStore NameLoad body If Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad NameLoad keyword NameLoad keyword NameLoad Print TupleLoad Str AttributeLoad NameLoad attr If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Num body If BoolOpAnd NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad orelse Raise Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert CompareIs Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Print NameLoad Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad Print NameLoad Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str Dict Str Num Dict Str Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Num Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword Dict Str Str Print NameLoad Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str Dict Str Num Dict Str Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Dict Str Str keyword NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad Print NameLoad Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad Print NameLoad Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Dict Str Str keyword NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Dict Str Str keyword NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Dict Str Str keyword NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Print NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Assert CompareEq NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Assert CompareIs Call NameLoad ListLoad NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad ListLoad NameLoad ListLoad ListLoad Assert CompareEq Call NameLoad ListLoad NameLoad ListLoad Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assert CompareIs Call NameLoad Dict NameLoad NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad Dict NameLoad NameLoad Dict Num Str Dict Num Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assert CompareIs Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Dict NameLoad NameLoad body Assert CompareIs Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str AttributeLoad NameLoad attr NameLoad Assert Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call NameLoad Str Dict Str Call NameLoad NameLoad NameLoad Assert NameLoad handlers ExceptHandler type NameLoad name NameStore body Assert Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str TryExcept body Expr Call NameLoad BinOpMod Str NameLoad Dict Str Call NameLoad NameLoad NameLoad Assert NameLoad handlers ExceptHandler type NameLoad name NameStore body Assert Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str TryExcept body Expr Call NameLoad BinOpMod Str NameLoad Dict Str Call NameLoad NameLoad NameLoad NameLoad Assert NameLoad handlers ExceptHandler type NameLoad name NameStore body Assert Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str TryExcept body Expr Call NameLoad BinOpMod Str NameLoad Dict Str AttributeLoad NameLoad attr NameLoad Assert NameLoad handlers ExceptHandler type NameLoad name NameStore body Assert Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Dict Str AttributeLoad NameLoad attr NameLoad Assert Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str TryExcept body Expr Call NameLoad BinOpMod Str NameLoad Dict Str AttributeLoad NameLoad attr NameLoad Assert NameLoad handlers ExceptHandler type NameLoad name NameStore body Assert Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Str For NameStore NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str Assign NameStore Call NameLoad BinOpMod NameLoad NameLoad Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str Assign NameStore Call NameLoad BinOpMod NameLoad NameLoad Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num Num For NameStore NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str Assign NameStore Call NameLoad BinOpMod NameLoad NameLoad Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Str For NameStore NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str TryExcept body Expr Call NameLoad BinOpMod NameLoad NameLoad Dict Str NameLoad NameLoad Assert NameLoad BinOpMod Str TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str Str Str For NameStore NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str TryExcept body Expr Call NameLoad BinOpMod NameLoad NameLoad Dict Str NameLoad NameLoad Assert NameLoad BinOpMod Str TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str Str Str Str For NameStore NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str Assign NameStore Call NameLoad BinOpMod NameLoad NameLoad Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str Str Str Str For NameStore NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str Assign NameStore Call NameLoad BinOpMod NameLoad NameLoad Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num Num Num For NameStore NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str Assign NameStore Call NameLoad BinOpMod NameLoad NameLoad Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str Assign NameStore Call NameLoad BinOpMod NameLoad NameLoad Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str Assign NameStore Call NameLoad BinOpMod NameLoad NameLoad Dict Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad Str Str TryExcept body Assign NameStore Call NameLoad BinOpMod NameLoad NameLoad Dict Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Num handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad NameLoad Dict Str NameLoad TryExcept body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad NameLoad Raise Call NameLoad Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str For NameStore TupleLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad NameLoad Dict Str NameLoad TryExcept body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Print NameLoad Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Num decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad decorator_list Expr Call NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Print NameLoad Assert CompareEq SubscriptLoad NameLoad Index Num Str Assert CompareEq SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr Dict Str Str Num Str keyword NameLoad keyword Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert CompareIs Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assert CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str NameLoad Num NameLoad Assert CompareEq SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Index Num Assert CompareEq SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Num NameLoad Assert CompareEq SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Index Num Assert CompareEq SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Num Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword NameLoad keyword NameLoad Print TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call NameLoad Str Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad Print TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad Print TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad Print TupleLoad Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Num Print TupleLoad Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Num Print TupleLoad Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Call NameLoad keyword Call NameLoad keyword Num keyword Call NameLoad Str keyword NameLoad keyword NameLoad Print TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call NameLoad Str Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Call NameLoad keyword Call NameLoad keyword Num keyword Call NameLoad Str keyword NameLoad keyword Num Print TupleLoad Str AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Print TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call NameLoad Str Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad Print TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call NameLoad Str Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Dict Str Str Num Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Assign NameStore Dict Str Str Str Num Str Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Call NameLoad Str keyword NameLoad keyword NameLoad Print TupleLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call NameLoad Str Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list decorator_list
N/A N/A base64 N/A datetime N/A decimal N/A wsme.tests.protocol N/A N/A N/A simplejson json N/A N/A N/A N/A json wsme.rest.json fromjson tojson parse wsme.utils parse_isodatetime parse_isotime parse_isodate wsme.types isarray isdict isusertype register_type wsme.types UserType ArrayType DictType wsme.rest expose validate wsme.exc ClientSideError InvalidInput N/A six six b u N/A N/A six PY3 N/A urllib.parse urlencode N/A urllib urlencode prepare_value N/A N/A value datatype N/A N/A N/A N/A isinstance datatype list N/A N/A N/A N/A prepare_value item N/A datatype N/A 0 N/A item value N/A N/A isinstance datatype dict N/A N/A N/A key_type value_type N/A N/A list N/A N/A datatype items N/A 0 N/A N/A dict N/A N/A N/A prepare_value N/A item N/A 0 key_type N/A prepare_value N/A item N/A 1 value_type N/A item N/A N/A value items N/A N/A datatype N/A N/A datetime date N/A datetime time N/A datetime datetime N/A N/A N/A N/A value isoformat N/A N/A datatype N/A decimal Decimal N/A N/A N/A str value N/A N/A datatype N/A N/A wsme types binary N/A N/A N/A N/A N/A N/A base64 encodestring value decode ascii N/A N/A datatype N/A N/A wsme types bytes N/A N/A N/A N/A value decode ascii N/A value N/A prepare_result N/A N/A value datatype N/A N/A N/A N/A value datatype N/A N/A value None N/A N/A None N/A N/A datatype N/A N/A wsme types binary N/A N/A N/A N/A base64 decodestring N/A N/A value encode ascii N/A N/A isusertype datatype N/A N/A datatype N/A datatype basetype N/A N/A isinstance datatype list N/A N/A N/A N/A prepare_result item N/A datatype N/A 0 N/A item value N/A N/A isarray datatype N/A N/A N/A N/A prepare_result item N/A datatype item_type N/A item value N/A N/A isinstance datatype dict N/A N/A N/A dict N/A N/A N/A prepare_result N/A item N/A 0 N/A N/A list N/A N/A datatype keys N/A 0 N/A prepare_result N/A item N/A 1 N/A N/A list N/A N/A datatype values N/A 0 N/A item N/A N/A value items N/A N/A isdict datatype N/A N/A N/A dict N/A N/A N/A prepare_result N/A item N/A 0 N/A datatype key_type N/A prepare_result N/A item N/A 1 N/A datatype value_type N/A item N/A N/A value items N/A N/A datatype N/A datetime date N/A N/A N/A parse_isodate value N/A N/A datatype N/A datetime time N/A N/A N/A parse_isotime value N/A N/A datatype N/A datetime datetime N/A N/A N/A parse_isodatetime value N/A N/A hasattr datatype _wsme_attributes N/A N/A attr N/A datatype _wsme_attributes N/A N/A N/A N/A attr key value N/A N/A N/A N/A value N/A N/A attr key N/A prepare_result N/A value N/A N/A attr key N/A attr datatype N/A value N/A N/A datatype N/A N/A wsme types bytes N/A N/A N/A N/A value encode ascii N/A N/A N/A type value datatype N/A N/A N/A N/A type value datatype N/A N/A datatype value N/A value N/A CustomInt N/A UserType N/A N/A basetype int N/A name custom integer N/A Obj N/A N/A N/A wsme types Base N/A N/A id int N/A name N/A N/A wsme types text N/A NestedObj N/A N/A N/A wsme types Base N/A N/A o Obj N/A CRUDResult N/A object N/A N/A data Obj N/A message N/A N/A wsme types text __init__ N/A N/A self data message N/A N/A N/A wsme types Unset N/A N/A wsme types Unset N/A N/A N/A self data data N/A N/A self message message N/A N/A MiniCrud N/A object N/A create N/A N/A self data N/A N/A N/A N/A repr data N/A N/A CRUDResult data N/A u create N/A N/A expose CRUDResult method PUT N/A validate Obj read N/A N/A self ref N/A N/A N/A N/A repr ref N/A N/A N/A ref id 1 N/A N/A N/A ref name N/A u test N/A N/A CRUDResult ref N/A u read N/A N/A expose CRUDResult method GET ignore_extra_args True N/A validate Obj update N/A N/A self data N/A N/A N/A N/A repr data N/A N/A CRUDResult data N/A u update N/A N/A expose CRUDResult method POST N/A validate Obj update_with_body N/A N/A self msg data N/A N/A N/A N/A repr data N/A N/A CRUDResult data msg N/A N/A expose CRUDResult N/A N/A wsme types text body Obj delete N/A N/A self ref N/A N/A N/A N/A repr ref N/A N/A N/A ref id 1 N/A N/A N/A ref name N/A u test N/A N/A CRUDResult ref N/A u delete N/A N/A expose CRUDResult method DELETE N/A validate Obj N/A N/A N/A N/A N/A N/A wsme tests protocol WSTestRoot crud N/A MiniCrud TestRestJson N/A N/A N/A N/A wsme tests protocol RestOnlyProtocolTestCase N/A N/A protocol restjson call N/A N/A self fpath _rt _accept _no_result_decode body N/A None None False None kw N/A N/A body N/A N/A N/A isinstance body tuple N/A N/A N/A body datatype body N/A N/A datatype N/A type body N/A body N/A prepare_value body datatype N/A content N/A N/A json dumps body N/A N/A key kw N/A N/A N/A isinstance N/A kw N/A key tuple N/A N/A N/A value datatype N/A kw N/A key N/A N/A value N/A kw N/A key N/A datatype N/A type value N/A N/A kw N/A key N/A prepare_value value datatype N/A content N/A N/A json dumps kw N/A headers N/A Content-Type application/json N/A N/A _accept None N/A N/A N/A headers N/A Accept _accept N/A res N/A N/A N/A self app post N/A / fpath content headers headers expect_errors True N/A N/A Received: N/A res body N/A _no_result_decode N/A N/A res N/A r N/A N/A json loads N/A res text N/A N/A N/A res status_int 200 N/A N/A N/A _rt r N/A N/A r N/A prepare_result r _rt N/A r N/A N/A N/A N/A N/A N/A wsme tests protocol CallException N/A r N/A faultcode N/A r N/A faultstring N/A N/A r get debuginfo N/A N/A N/A json loads N/A res text N/A test_fromjson N/A N/A self N/A N/A N/A N/A N/A fromjson str None None N/A test_keyargs N/A N/A self N/A N/A N/A r N/A N/A N/A self app get /argtypes/setint.json?value=2 N/A r N/A N/A N/A N/A json loads N/A r text 2 N/A nestedarray value[0].inner.aint=54&value[1].inner.aint=55 N/A r N/A N/A N/A self app get N/A /argtypes/setnestedarray.json? nestedarray N/A r N/A N/A N/A N/A json loads N/A r text N/A N/A inner N/A aint 54 N/A inner N/A aint 55 N/A test_form_urlencoded_args N/A N/A self N/A N/A N/A params N/A value[0].inner.aint value[1].inner.aint 54 55 N/A body N/A urlencode params N/A r N/A N/A N/A self app post /argtypes/setnestedarray.json body headers N/A Content-Type application/x-www-form-urlencoded N/A r N/A N/A N/A N/A json loads N/A r text N/A N/A inner N/A aint 54 N/A inner N/A aint 55 N/A test_body_and_params N/A N/A self N/A N/A N/A r N/A N/A N/A self app post /argtypes/setint.json?value=2 {"value": 2} headers N/A Content-Type application/json expect_errors True N/A r N/A N/A N/A r status_int 400 N/A N/A N/A N/A N/A json loads N/A r text N/A faultstring Parameter value was given several times N/A test_inline_body N/A N/A self N/A N/A N/A params N/A urlencode N/A __body__ {"value": 4} N/A r N/A N/A N/A self app get N/A /argtypes/setint.json? params N/A r N/A N/A N/A N/A json loads N/A r text 4 N/A test_empty_body N/A N/A self N/A N/A N/A params N/A urlencode N/A __body__ N/A r N/A N/A N/A self app get N/A /returntypes/getint.json? params N/A r N/A N/A N/A N/A json loads N/A r text 2 N/A test_invalid_content_type_body N/A N/A self N/A N/A N/A r N/A N/A N/A self app post /argtypes/setint.json {"value": 2} headers N/A Content-Type application/invalid expect_errors True N/A r N/A N/A N/A r status_int 415 N/A N/A N/A N/A N/A json loads N/A r text N/A faultstring Unknown mimetype: application/invalid N/A test_invalid_json_body N/A N/A self N/A N/A N/A r N/A N/A N/A self app post /argtypes/setint.json {"value": 2 headers N/A Content-Type application/json expect_errors True N/A r N/A N/A N/A r status_int 400 N/A N/A N/A N/A N/A json loads N/A r text N/A faultstring Request is not in valid JSON format N/A test_unknown_arg N/A N/A self N/A N/A N/A r N/A N/A N/A self app post /returntypes/getint.json {"a": 2} headers N/A Content-Type application/json expect_errors True N/A r N/A N/A N/A r status_int 400 N/A N/A N/A N/A N/A N/A json loads N/A r text N/A faultstring startswith Unknown argument: N/A r N/A N/A N/A self app get /returntypes/getint.json?a=2 expect_errors True N/A r N/A N/A N/A r status_int 400 N/A N/A N/A N/A N/A N/A json loads N/A r text N/A faultstring startswith Unknown argument: N/A test_set_custom_object N/A N/A self N/A N/A N/A r N/A N/A N/A self app post /argtypes/setcustomobject {"value": {"aint": 2, "name": "test"}} headers N/A Content-Type application/json N/A N/A N/A self assertEqual N/A r status_int 200 N/A N/A N/A self assertEqual N/A r json N/A aint name 2 test N/A test_set_extended_int N/A N/A self N/A N/A N/A r N/A N/A N/A self app post /argtypes/setextendedint {"value": 3} headers N/A Content-Type application/json N/A N/A N/A self assertEqual N/A r status_int 200 N/A N/A N/A self assertEqual N/A r json 3 N/A test_unset_attrs N/A N/A self N/A N/A AType N/A object N/A N/A attr int N/A N/A N/A N/A N/A wsme types register_type AType N/A j N/A tojson AType N/A AType N/A N/A j N/A N/A test_array_tojson N/A N/A self N/A N/A N/A N/A N/A tojson N/A int None None N/A N/A N/A tojson N/A int N/A N/A N/A N/A N/A tojson N/A str N/A 1 4 N/A 1 4 N/A test_dict_tojson N/A N/A self N/A N/A N/A N/A N/A tojson N/A int str None None N/A N/A N/A tojson N/A int str N/A 5 5 N/A 5 5 N/A test_None_tojson N/A N/A self N/A N/A N/A dt N/A N/A datetime date N/A datetime time N/A datetime datetime N/A decimal Decimal N/A N/A N/A N/A tojson dt None None N/A test_None_fromjson N/A N/A self N/A N/A N/A dt N/A str int N/A datetime date N/A datetime time N/A datetime datetime N/A decimal Decimal N/A int N/A int int N/A N/A N/A N/A fromjson dt None None N/A test_parse_valid_date N/A N/A self N/A N/A N/A j N/A parse {"a": "2011-01-01"} N/A a N/A datetime date False N/A N/A isinstance N/A j N/A a N/A datetime date N/A test_invalid_root_dict_fromjson N/A N/A self N/A N/A N/A N/A N/A N/A parse ["invalid"] N/A a N/A ArrayType str False N/A False N/A N/A N/A Exception N/A e N/A N/A N/A isinstance e ClientSideError N/A N/A N/A e msg Request must be a JSON dict N/A test_invalid_list_fromjson N/A N/A self N/A N/A N/A jlist invalid N/A N/A N/A N/A parse N/A {"a": "%s"} jlist N/A a N/A ArrayType str False N/A False N/A N/A N/A Exception N/A e N/A N/A N/A isinstance e InvalidInput N/A N/A N/A e fieldname a N/A N/A N/A e value jlist N/A N/A N/A e msg N/A Value not a valid list: %s jlist N/A test_invalid_dict_fromjson N/A N/A self N/A N/A N/A jdict invalid N/A N/A N/A N/A parse N/A {"a": "%s"} jdict N/A a N/A DictType str str False N/A False N/A N/A N/A Exception N/A e N/A N/A N/A isinstance e InvalidInput N/A N/A N/A e fieldname a N/A N/A N/A e value jdict N/A N/A N/A e msg N/A Value not a valid dict: %s jdict N/A test_invalid_date_fromjson N/A N/A self N/A N/A N/A jdate 2015-01-invalid N/A N/A N/A N/A parse N/A {"a": "%s"} jdate N/A a N/A datetime date False N/A False N/A N/A N/A Exception N/A e N/A N/A N/A isinstance e InvalidInput N/A N/A N/A e fieldname a N/A N/A N/A e value jdate N/A N/A N/A e msg N/A '%s' is not a legal date value jdate N/A test_parse_valid_date_bodyarg N/A N/A self N/A N/A N/A j N/A parse "2011-01-01" N/A a N/A datetime date True N/A N/A isinstance N/A j N/A a N/A datetime date N/A test_invalid_date_fromjson_bodyarg N/A N/A self N/A N/A N/A jdate 2015-01-invalid N/A N/A N/A N/A parse N/A "%s" jdate N/A a N/A datetime date True N/A False N/A N/A N/A Exception N/A e N/A N/A N/A isinstance e InvalidInput N/A N/A N/A e fieldname a N/A N/A N/A e value jdate N/A N/A N/A e msg N/A '%s' is not a legal date value jdate N/A test_valid_str_to_builtin_fromjson N/A N/A self N/A N/A N/A types N/A N/A six integer_types N/A bool float N/A value 2 N/A t types N/A N/A ba N/A True False N/A N/A jd N/A ba %s {"a": %s} N/A i N/A parse N/A jd value N/A a t ba N/A N/A N/A self assertEqual i N/A a N/A t value N/A Parsed value does not correspond for %s: %s != {'a': %s} N/A t N/A repr i N/A repr N/A t value N/A N/A N/A self assertIsInstance N/A i N/A a t N/A test_valid_int_fromjson N/A N/A self N/A N/A N/A value 2 N/A ba N/A True False N/A N/A jd N/A ba %d {"a": %d} N/A i N/A parse N/A jd value N/A a int ba N/A N/A N/A self assertEqual i N/A a 2 N/A N/A N/A self assertIsInstance N/A i N/A a int N/A test_valid_num_to_float_fromjson N/A N/A self N/A N/A N/A values N/A 2 2.3 N/A v values N/A N/A ba N/A True False N/A N/A jd N/A ba %f {"a": %f} N/A i N/A parse N/A jd v N/A a float ba N/A N/A N/A self assertEqual i N/A a N/A float v N/A N/A N/A self assertIsInstance N/A i N/A a float N/A test_invalid_str_to_buitin_fromjson N/A N/A self N/A N/A N/A types N/A N/A six integer_types N/A float bool N/A value 2a N/A t types N/A N/A ba N/A True False N/A N/A jd N/A ba "%s" {"a": "%s"} N/A N/A N/A N/A parse N/A jd value N/A a t ba N/A False N/A Value '%s' should not parse correctly for %s. N/A value t N/A N/A N/A ClientSideError N/A e N/A N/A N/A N/A self assertIsInstance e InvalidInput N/A N/A N/A self assertEqual N/A e fieldname a N/A N/A N/A self assertEqual N/A e value value N/A test_ambiguous_to_bool N/A N/A self N/A N/A N/A amb_values N/A randomstring 2 -32 not true N/A value amb_values N/A N/A ba N/A True False N/A N/A jd N/A ba "%s" {"a": "%s"} N/A N/A N/A N/A parse N/A jd value N/A a bool ba N/A False N/A Value '%s' should not parse correctly for %s. N/A value bool N/A N/A N/A ClientSideError N/A e N/A N/A N/A N/A self assertIsInstance e InvalidInput N/A N/A N/A self assertEqual N/A e fieldname a N/A N/A N/A self assertEqual N/A e value value N/A test_true_strings_to_bool N/A N/A self N/A N/A N/A true_values N/A true t yes y on 1 N/A value true_values N/A N/A ba N/A True False N/A N/A jd N/A ba "%s" {"a": "%s"} N/A i N/A parse N/A jd value N/A a bool ba N/A N/A N/A self assertIsInstance N/A i N/A a bool N/A N/A N/A self assertTrue N/A i N/A a N/A test_false_strings_to_bool N/A N/A self N/A N/A N/A false_values N/A false f no n off 0 N/A value false_values N/A N/A ba N/A True False N/A N/A jd N/A ba "%s" {"a": "%s"} N/A i N/A parse N/A jd value N/A a bool ba N/A N/A N/A self assertIsInstance N/A i N/A a bool N/A N/A N/A self assertFalse N/A i N/A a N/A test_true_ints_to_bool N/A N/A self N/A N/A N/A true_values N/A 1 5 -3 N/A value true_values N/A N/A ba N/A True False N/A N/A jd N/A ba %d {"a": %d} N/A i N/A parse N/A jd value N/A a bool ba N/A N/A N/A self assertIsInstance N/A i N/A a bool N/A N/A N/A self assertTrue N/A i N/A a N/A test_false_ints_to_bool N/A N/A self N/A N/A N/A value 0 N/A ba N/A True False N/A N/A jd N/A ba %d {"a": %d} N/A i N/A parse N/A jd value N/A a bool ba N/A N/A N/A self assertIsInstance N/A i N/A a bool N/A N/A N/A self assertFalse N/A i N/A a N/A test_valid_simple_custom_type_fromjson N/A N/A self N/A N/A N/A value 2 N/A ba N/A True False N/A N/A jd N/A ba "%d" {"a": "%d"} N/A i N/A parse N/A jd value N/A a N/A CustomInt ba N/A N/A N/A self assertEqual i N/A a 2 N/A N/A N/A self assertIsInstance N/A i N/A a int N/A test_invalid_simple_custom_type_fromjson N/A N/A self N/A N/A N/A value 2b N/A ba N/A True False N/A N/A jd N/A ba "%s" {"a": "%s"} N/A N/A N/A i N/A parse N/A jd value N/A a N/A CustomInt ba N/A N/A N/A self assertEqual i N/A a 2 N/A N/A N/A ClientSideError N/A e N/A N/A N/A N/A self assertIsInstance e InvalidInput N/A N/A N/A self assertEqual N/A e fieldname a N/A N/A N/A self assertEqual N/A e value value N/A N/A N/A self assertEqual N/A e msg N/A invalid literal for int() with base 10: '%s' value N/A test_parse_unexpected_attribute N/A N/A self N/A N/A N/A o N/A id name other other2 1 test unknown still unknown N/A ba N/A True False N/A N/A jd N/A ba o N/A o o N/A N/A N/A N/A parse N/A N/A json dumps jd N/A o Obj ba N/A N/A AssertionError Object should not parse correcty. N/A N/A N/A N/A N/A wsme exc UnknownAttribute N/A e N/A N/A N/A N/A self assertEqual N/A e attributes N/A set N/A other other2 N/A test_parse_unexpected_nested_attribute N/A N/A self N/A N/A N/A no N/A o N/A id name other 1 test unknown N/A ba N/A False True N/A N/A jd N/A ba no N/A no no N/A N/A N/A N/A parse N/A N/A json dumps jd N/A no NestedObj ba N/A N/A N/A N/A N/A wsme exc UnknownAttribute N/A e N/A N/A N/A N/A self assertEqual N/A e attributes N/A set N/A other N/A N/A N/A self assertEqual N/A e fieldname no.o N/A test_nest_result N/A N/A self N/A N/A N/A N/A N/A N/A N/A self root protocols N/A 0 nest_result True N/A r N/A N/A N/A self app get /returntypes/getint.json N/A r N/A N/A N/A N/A json loads N/A r text N/A result 2 N/A test_encode_sample_value N/A N/A self N/A N/A MyType N/A object N/A N/A aint int N/A astr str N/A N/A N/A register_type MyType N/A v N/A MyType N/A N/A v aint 4 N/A N/A v astr s N/A r N/A N/A N/A N/A wsme rest json encode_sample_value MyType v True N/A r N/A N/A N/A r N/A 0 javascript N/A N/A N/A r N/A 1 N/A N/A json dumps N/A aint astr 4 s ensure_ascii False indent 4 sort_keys True N/A test_bytes_tojson N/A N/A self N/A N/A N/A N/A N/A tojson N/A N/A wsme types bytes None None N/A N/A N/A tojson N/A N/A wsme types bytes N/A b ascii N/A u ascii N/A test_encode_sample_params N/A N/A self N/A N/A N/A r N/A N/A N/A N/A wsme rest json encode_sample_params N/A N/A a int 2 True N/A N/A N/A r N/A 0 javascript N/A r N/A 0 N/A N/A N/A r N/A 1 {
    "a": 2
} N/A r N/A 1 N/A test_encode_sample_result N/A N/A self N/A N/A N/A r N/A N/A N/A N/A wsme rest json encode_sample_result int 2 True N/A N/A N/A r N/A 0 javascript N/A r N/A 0 N/A N/A N/A r N/A 1 2 N/A test_PUT N/A N/A self N/A N/A N/A data N/A id name 1 N/A u test N/A content N/A N/A json dumps N/A dict data data N/A headers N/A Content-Type application/json N/A res N/A N/A N/A self app put /crud content headers headers expect_errors False N/A N/A Received: N/A res body N/A result N/A N/A json loads N/A res text N/A result N/A N/A N/A N/A result N/A data N/A id 1 N/A N/A N/A N/A result N/A data N/A name N/A u test N/A N/A N/A result N/A message create N/A test_GET N/A N/A self N/A N/A N/A headers N/A Accept application/json N/A res N/A N/A N/A self app get /crud?ref.id=1 headers headers expect_errors False N/A N/A Received: N/A res body N/A result N/A N/A json loads N/A res text N/A result N/A N/A N/A N/A result N/A data N/A id 1 N/A N/A N/A N/A result N/A data N/A name N/A u test N/A test_GET_complex_accept N/A N/A self N/A N/A N/A headers N/A Accept text/html,application/xml;q=0.9,*/*;q=0.8 N/A res N/A N/A N/A self app get /crud?ref.id=1 headers headers expect_errors False N/A N/A Received: N/A res body N/A result N/A N/A json loads N/A res text N/A result N/A N/A N/A N/A result N/A data N/A id 1 N/A N/A N/A N/A result N/A data N/A name N/A u test N/A test_GET_complex_choose_xml N/A N/A self N/A N/A N/A headers N/A Accept text/html,text/xml;q=0.9,*/*;q=0.8 N/A res N/A N/A N/A self app get /crud?ref.id=1 headers headers expect_errors False N/A N/A Received: N/A res body N/A N/A N/A res content_type text/xml N/A test_GET_complex_accept_no_match N/A N/A self N/A N/A N/A headers N/A Accept text/html,application/xml;q=0.9 N/A res N/A N/A N/A self app get /crud?ref.id=1 headers headers status 406 N/A N/A Received: N/A res body N/A N/A N/A res body N/A b Unacceptable Accept type: text/html, application/xml;q=0.9 not in ['application/json', 'text/javascript', 'application/javascript', 'text/xml'] N/A test_GET_bad_simple_accept N/A N/A self N/A N/A N/A headers N/A Accept text/plain N/A res N/A N/A N/A self app get /crud?ref.id=1 headers headers status 406 N/A N/A Received: N/A res body N/A N/A N/A res body N/A b Unacceptable Accept type: text/plain not in ['application/json', 'text/javascript', 'application/javascript', 'text/xml'] N/A test_POST N/A N/A self N/A N/A N/A headers N/A Content-Type application/json N/A res N/A N/A N/A self app post /crud N/A N/A json dumps N/A dict data N/A dict id 1 name N/A u test headers headers expect_errors False N/A N/A Received: N/A res body N/A result N/A N/A json loads N/A res text N/A result N/A N/A N/A N/A result N/A data N/A id 1 N/A N/A N/A N/A result N/A data N/A name N/A u test N/A N/A N/A result N/A message update N/A test_POST_bad_content_type N/A N/A self N/A N/A N/A headers N/A Content-Type text/plain N/A res N/A N/A N/A self app post /crud N/A N/A json dumps N/A dict data N/A dict id 1 name N/A u test headers headers status 415 N/A N/A Received: N/A res body N/A N/A N/A res body N/A b Unacceptable Content-Type: text/plain not in ['application/json', 'text/javascript', 'application/javascript', 'text/xml'] N/A test_DELETE N/A N/A self N/A N/A N/A res N/A N/A N/A self app delete /crud.json?ref.id=1 expect_errors False N/A N/A Received: N/A res body N/A result N/A N/A json loads N/A res text N/A result N/A N/A N/A N/A result N/A data N/A id 1 N/A N/A N/A N/A result N/A data N/A name N/A u test N/A N/A N/A result N/A message delete N/A test_extra_arguments N/A N/A self N/A N/A N/A headers N/A Accept application/json N/A res N/A N/A N/A self app get /crud?ref.id=1&extraarg=foo headers headers expect_errors False N/A N/A Received: N/A res body N/A result N/A N/A json loads N/A res text N/A result N/A N/A N/A N/A result N/A data N/A id 1 N/A N/A N/A N/A result N/A data N/A name N/A u test N/A N/A N/A result N/A message read N/A test_unexpected_extra_arg N/A N/A self N/A N/A N/A headers N/A Content-Type application/json N/A data N/A id name 1 test N/A content N/A N/A json dumps N/A data other data unexpected N/A res N/A N/A N/A self app put /crud content headers headers expect_errors True N/A N/A N/A self assertEqual N/A res status_int 400 N/A test_unexpected_extra_attribute N/A N/A self N/A N/A N/A Expect a failure if we send an unexpected object attribute. N/A headers N/A Content-Type application/json N/A data N/A id name other 1 test unexpected N/A content N/A N/A json dumps N/A data data N/A res N/A N/A N/A self app put /crud content headers headers expect_errors True N/A N/A N/A self assertEqual N/A res status_int 400 N/A test_body_arg N/A N/A self N/A N/A N/A headers N/A Content-Type application/json N/A res N/A N/A N/A self app post /crud/update_with_body?msg=hello N/A N/A json dumps N/A dict id 1 name N/A u test headers headers expect_errors False N/A N/A Received: N/A res body N/A result N/A N/A json loads N/A res text N/A result N/A N/A N/A N/A result N/A data N/A id 1 N/A N/A N/A N/A result N/A data N/A name N/A u test N/A N/A N/A result N/A message hello N/A N/A