Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Assign NameStore Dict Str Str Str Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr IfExp AttributeLoad NameLoad attr Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr IfExp AttributeLoad NameLoad attr Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str Str AttributeLoad NameLoad attr Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str Str AttributeLoad NameLoad attr Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str Str AttributeLoad NameLoad attr BinOpMult NameLoad Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Dict NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str Str AttributeLoad NameLoad attr Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Str Call AttributeLoad Str attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str Str BinOpMod Str AttributeLoad NameLoad attr Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Dict Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Str Str NameLoad Dict Str ListLoad Dict Str Str Str Str ListLoad Dict Str ListLoad Dict Str Num NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str Str AttributeLoad NameLoad attr Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Dict Str Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Assign NameStore Dict Str ListLoad Dict Str Str Dict Str NameLoad Dict Str Str Dict Str Str Dict Str Str Assign NameStore Dict Str Str Str Str Str Num NameLoad Str NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Str Str ListLoad Dict Str Str Str Str Dict Str Str Str Str Assign NameStore Dict Str ListLoad Dict Str Str Dict Str Str Dict Str Str Dict Str Dict Str ListLoad Dict Str Str Dict Str Str Assign NameStore Dict Str Str Str Str Num Num Str Dict Str Str Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Str Str ListLoad Dict Str Str Str Str Dict Str Str Str Str Assign NameStore Dict Str ListLoad Dict Str Str Dict Str Str Dict Str Str Dict Str ListLoad Dict Str Dict Str ListLoad Dict Str Str Dict Str Str Dict Str Dict Str ListLoad Dict Str Str Dict Str Str Assign NameStore Dict Str Str Str Str Num Num Str ListLoad Dict Str Str Num Str Dict Str Str Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Dict Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Dict Str Str Str Str NameLoad ListLoad Dict Str ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Dict Str Str Str Str Dict Str Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list decorator_list Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Dict Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str FunctionDef arguments args defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Num decorator_list Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Dict Str Str Dict Str Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Dict Str Str Dict Str Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Dict Str Str Dict Str Str Assign NameStore Dict Str Dict Str Str Str ListLoad Dict Str Str Str Str Str Str Num Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Dict Str Str Dict Str Str Assign NameStore Dict Str Dict Str Str Str Dict Str Str Str Str Str Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Dict Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str FunctionDef arguments args defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Num decorator_list Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str FunctionDef arguments args defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Num decorator_list Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Assign NameStore Dict Str Str Dict Str Str AttributeLoad NameLoad attr Str Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str Dict Str ListLoad Str Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Str Str Str Str Str Str Str Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Assign NameStore Dict Str Str Dict Str Str AttributeLoad NameLoad attr Str Dict Str Dict Str Str Str Str ListLoad Str Dict Str ListLoad Str Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str keyword Str keyword Str keyword Str decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str keyword Str keyword Str keyword NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str keyword Str keyword Str keyword NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str keyword Str keyword Str keyword Str decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str keyword Str keyword Num decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Assign NameStore Dict Str Str Dict Str Str AttributeLoad NameLoad attr Str Dict Str Dict Str Str Str ListLoad Str Dict Str ListLoad Str Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword ListLoad Str keyword Str Expr Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Str ListLoad Dict Str Str Str Str Str Str Num Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Str Dict Str Str Str Str Str Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Assign NameStore Dict Str Str Dict Str Str AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Dict Str Str Str Str ListLoad Str Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Str ListLoad Dict Str Str Str Str Str Str Num Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Str Dict Str Str Str Str Str Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Assign NameStore Dict Str Dict Str Dict Str Str Str Str Str Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Str ListLoad Dict Str Str Str Str Str Str Num Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Str Dict Str Str Str Str Str Str Assign AttributeStore AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Dict Num Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Num Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str ListLoad Dict Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Str Str Num Assign NameStore Dict Str Str Str Str Str Str ListLoad Dict Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Num ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str NameLoad Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str NameLoad Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num decorator_list decorator_list Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Dict Str Str Call AttributeLoad Str attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str Str Str NameLoad ListLoad Dict Str ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Dict Str Str Str Str Dict Str Str Str Str Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Dict Str Str Str Str Str Str NameLoad Str Str Dict Str ListLoad Dict Str Str Str Str Dict Str Str Str Str ListLoad Dict Str ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Dict Str Str Dict Str Str Str Assign NameStore Dict Str Str Str Str Str NameLoad Str Dict Str ListLoad Dict Str Str Str Str Dict Str Str Str Str ListLoad Dict Str ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Dict Str Str Dict Str Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str Str Str NameLoad ListLoad Dict Str ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Dict Str Str Dict Str Str Dict Str ListLoad Dict Str Str Str Str Dict Str Str Str Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num keyword Num keyword Num decorator_list decorator_list Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Dict Str AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Dict Str AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Dict Str AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Dict Str AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Dict Str Str Str ListLoad Dict Str Str Str Str Str Str Str Str Str Str Num Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str ListLoad Dict Str Dict Str Str Dict Str Dict Str Str Dict Str Dict Str Str Dict Str Dict Str Str Dict Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Assign AttributeStore NameLoad attr Dict Str Str Str ListLoad Dict Str Str Str Dict Str Str Str Str Dict Str Str Str Dict Str Str Str Str Dict Str Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Dict Str ListLoad Dict Str ListLoad Dict Str Str Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword NameLoad keyword Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Dict Str Str Str Str Str Str Str Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Dict Str Str Str Str Str Str Str Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Num Num Num Assign NameStore Call NameLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Dict Str Str Assign AttributeStore NameLoad attr Dict Str Str Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list Assign NameStore Dict Str Str Str Str Str Str ListLoad Dict Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Num ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Dict Str Str Assign AttributeStore NameLoad attr Dict Str Str Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Call NameLoad Call NameLoad Num Call AttributeLoad Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr ListLoad Dict Str Str Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list decorator_list
N/A N/A unittest N/A mock N/A six bigquery client bigquery.errors JobInsertException JobExecutingException BigQueryTimeoutException googleapiclient.errors HttpError nose.tools raises HttpResponse N/A object N/A __init__ N/A N/A self status reason N/A There was an error N/A N/A 
        Args:
            :param int status: Integer HTTP response status
         N/A N/A self status status N/A N/A self reason reason N/A N/A TestGetClient N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A client _bq_client None N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_job_collection N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service jobs return_value N/A self mock_job_collection N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service project N/A test_no_credentials N/A N/A self N/A N/A N/A Ensure an Exception is raised when no credentials are provided. N/A N/A N/A self assertRaises AssertionError N/A client get_client foo N/A test_initialize_readonly N/A N/A self mock_build mock_return_cred N/A N/A N/A Ensure that a BigQueryClient is initialized and returned with
        read-only permissions.
         bigquery.client BIGQUERY_SCOPE_READ_ONLY N/A mock_cred N/A N/A mock Mock N/A mock_http N/A N/A mock Mock N/A mock_service_url N/A N/A mock Mock N/A N/A N/A N/A N/A mock_cred from_p12_keyfile_buffer return_value authorize return_value mock_http N/A mock_bq N/A N/A mock Mock N/A N/A mock_build return_value mock_bq N/A key key N/A service_account account N/A project_id project N/A N/A mock_return_cred return_value mock_cred N/A bq_client N/A N/A client get_client project_id service_url mock_service_url service_account service_account private_key key readonly True N/A N/A N/A mock_return_cred assert_called_once_with N/A N/A N/A N/A mock_cred from_p12_keyfile_buffer assert_called_once_with service_account N/A mock ANY scopes BIGQUERY_SCOPE_READ_ONLY N/A N/A N/A self assertTrue N/A N/A N/A N/A mock_cred from_p12_keyfile_buffer return_value authorize called N/A N/A N/A mock_build assert_called_once_with bigquery v2 http mock_http discoveryServiceUrl mock_service_url N/A N/A N/A self assertEquals mock_bq N/A bq_client bigquery N/A N/A N/A self assertEquals project_id N/A bq_client project_id N/A N/A N/A mock patch bigquery.client._credentials N/A N/A mock patch bigquery.client.build test_initialize_read_write N/A N/A self mock_build mock_return_cred N/A N/A N/A Ensure that a BigQueryClient is initialized and returned with
        read/write permissions.
         bigquery.client BIGQUERY_SCOPE N/A mock_cred N/A N/A mock Mock N/A mock_http N/A N/A mock Mock N/A mock_service_url N/A N/A mock Mock N/A N/A N/A N/A N/A mock_cred from_p12_keyfile_buffer return_value authorize return_value mock_http N/A mock_bq N/A N/A mock Mock N/A N/A mock_build return_value mock_bq N/A key key N/A service_account account N/A project_id project N/A N/A mock_return_cred return_value mock_cred N/A bq_client N/A N/A client get_client project_id service_url mock_service_url service_account service_account private_key key readonly False N/A N/A N/A mock_return_cred assert_called_once_with N/A N/A N/A N/A mock_cred from_p12_keyfile_buffer assert_called_once_with service_account N/A mock ANY scopes BIGQUERY_SCOPE N/A N/A N/A self assertTrue N/A N/A N/A N/A mock_cred from_p12_keyfile_buffer return_value authorize called N/A N/A N/A mock_build assert_called_once_with bigquery v2 http mock_http discoveryServiceUrl mock_service_url N/A N/A N/A self assertEquals mock_bq N/A bq_client bigquery N/A N/A N/A self assertEquals project_id N/A bq_client project_id N/A N/A N/A mock patch bigquery.client._credentials N/A N/A mock patch bigquery.client.build test_initialize_key_file N/A N/A self mock_build mock_return_cred N/A N/A N/A Ensure that a BigQueryClient is initialized and returned with
        read/write permissions using a private key file.
         bigquery.client BIGQUERY_SCOPE N/A mock_cred N/A N/A mock Mock N/A mock_http N/A N/A mock Mock N/A mock_service_url N/A N/A mock Mock N/A N/A N/A N/A N/A mock_cred from_p12_keyfile return_value authorize return_value mock_http N/A mock_bq N/A N/A mock Mock N/A N/A mock_build return_value mock_bq N/A key_file key.pem N/A service_account account N/A project_id project N/A N/A mock_return_cred return_value mock_cred N/A bq_client N/A N/A client get_client project_id service_url mock_service_url service_account service_account private_key_file key_file readonly False N/A N/A N/A mock_return_cred assert_called_once_with N/A N/A N/A N/A mock_cred from_p12_keyfile assert_called_once_with service_account key_file scopes BIGQUERY_SCOPE N/A N/A N/A self assertTrue N/A N/A N/A N/A mock_cred from_p12_keyfile return_value authorize called N/A N/A N/A mock_build assert_called_once_with bigquery v2 http mock_http discoveryServiceUrl mock_service_url N/A N/A N/A self assertEquals mock_bq N/A bq_client bigquery N/A N/A N/A self assertEquals project_id N/A bq_client project_id N/A N/A N/A mock patch bigquery.client._credentials N/A N/A mock patch bigquery.client.build test_initialize_json_key_file N/A N/A self mock_open mock_build mock_return_cred N/A N/A N/A Ensure that a BigQueryClient is initialized and returned with
        read/write permissions using a JSON key file.
         bigquery.client BIGQUERY_SCOPE N/A json N/A mock_cred N/A N/A mock Mock N/A mock_http N/A N/A mock Mock N/A mock_service_url N/A N/A mock Mock N/A N/A N/A N/A N/A mock_cred from_json_keyfile_dict return_value authorize return_value mock_http N/A mock_bq N/A N/A mock Mock N/A N/A mock_build return_value mock_bq N/A json_key_file key.json N/A json_key N/A client_email private_key mail pkey N/A N/A N/A N/A N/A N/A mock_open return_value __enter__ return_value read return_value N/A N/A json dumps json_key N/A project_id project N/A N/A mock_return_cred return_value mock_cred N/A bq_client N/A N/A client get_client project_id service_url mock_service_url json_key_file json_key_file readonly False N/A N/A N/A mock_return_cred assert_called_once_with N/A N/A N/A N/A mock_cred from_json_keyfile_dict assert_called_once_with json_key scopes BIGQUERY_SCOPE N/A N/A N/A self assertTrue N/A N/A N/A N/A mock_cred from_json_keyfile_dict return_value authorize called N/A N/A N/A mock_build assert_called_once_with bigquery v2 http mock_http discoveryServiceUrl mock_service_url N/A N/A N/A self assertEquals mock_bq N/A bq_client bigquery N/A N/A N/A self assertEquals project_id N/A bq_client project_id N/A N/A N/A mock patch bigquery.client._credentials N/A N/A mock patch bigquery.client.build N/A N/A mock patch N/A N/A six PY2 __builtin__.open builtins.open test_initialize_json_key_file_without_project_id N/A N/A self mock_open mock_build mock_return_cred N/A N/A N/A Ensure that a BigQueryClient is initialized and returned with
        read/write permissions using a JSON key file without project_id.
         bigquery.client BIGQUERY_SCOPE N/A json N/A mock_cred N/A N/A mock Mock N/A mock_http N/A N/A mock Mock N/A mock_service_url N/A N/A mock Mock N/A N/A N/A N/A N/A mock_cred from_json_keyfile_dict return_value authorize return_value mock_http N/A mock_bq N/A N/A mock Mock N/A N/A mock_build return_value mock_bq N/A json_key_file key.json N/A json_key N/A client_email private_key project_id mail pkey project N/A N/A N/A N/A N/A N/A mock_open return_value __enter__ return_value read return_value N/A N/A json dumps json_key N/A N/A mock_return_cred return_value mock_cred N/A bq_client N/A N/A client get_client service_url mock_service_url json_key_file json_key_file readonly False N/A N/A N/A mock_open assert_called_once_with json_key_file r N/A N/A N/A mock_return_cred assert_called_once_with N/A N/A N/A N/A mock_cred from_json_keyfile_dict assert_called_once_with json_key scopes BIGQUERY_SCOPE N/A N/A N/A self assertTrue N/A N/A N/A N/A mock_cred from_json_keyfile_dict return_value authorize called N/A N/A N/A mock_build assert_called_once_with bigquery v2 http mock_http discoveryServiceUrl mock_service_url N/A N/A N/A self assertEquals mock_bq N/A bq_client bigquery N/A N/A N/A self assertEquals N/A json_key N/A project_id N/A bq_client project_id N/A N/A N/A mock patch bigquery.client._credentials N/A N/A mock patch bigquery.client.build N/A N/A mock patch N/A N/A six PY2 __builtin__.open builtins.open N/A TestQuery N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A client _bq_client None N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_job_collection N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service jobs return_value N/A self mock_job_collection N/A N/A self query foo N/A N/A self project_id project N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project_id N/A test_query N/A N/A self N/A N/A N/A Ensure that we retrieve the job id from the query. N/A mock_query_job N/A N/A mock Mock N/A expected_job_id spiderman N/A expected_job_ref N/A jobId expected_job_id N/A N/A N/A mock_query_job execute return_value N/A jobReference jobComplete expected_job_ref True N/A N/A N/A N/A self mock_job_collection query return_value mock_query_job N/A N/A job_id results N/A N/A N/A self client query N/A self query N/A N/A N/A N/A N/A self mock_job_collection query assert_called_once_with projectId N/A self project_id body N/A query timeoutMs dryRun maxResults N/A self query 0 False None N/A N/A N/A self assertEquals job_id spiderman N/A N/A N/A self assertEquals results N/A N/A test_query_max_results_set N/A N/A self N/A N/A N/A Ensure that we retrieve the job id from the query and the maxResults
        parameter is set.
         N/A mock_query_job N/A N/A mock Mock N/A expected_job_id spiderman N/A expected_job_ref N/A jobId expected_job_id N/A N/A N/A mock_query_job execute return_value N/A jobReference jobComplete expected_job_ref True N/A N/A N/A N/A self mock_job_collection query return_value mock_query_job N/A max_results 10 N/A N/A job_id results N/A N/A N/A self client query N/A self query max_results max_results N/A N/A N/A N/A N/A self mock_job_collection query assert_called_once_with projectId N/A self project_id body N/A query timeoutMs maxResults dryRun N/A self query 0 max_results False N/A N/A N/A self assertEquals job_id spiderman N/A N/A N/A self assertEquals results N/A N/A test_query_timeout_set N/A N/A self N/A N/A N/A Ensure that we retrieve the job id from the query and the timeoutMs
        parameter is set correctly.
         N/A mock_query_job N/A N/A mock Mock N/A expected_job_id spiderman N/A expected_job_ref N/A jobId expected_job_id N/A N/A N/A mock_query_job execute return_value N/A jobReference jobComplete expected_job_ref True N/A N/A N/A N/A self mock_job_collection query return_value mock_query_job N/A timeout 5 N/A N/A job_id results N/A N/A N/A self client query N/A self query timeout timeout N/A N/A N/A N/A N/A self mock_job_collection query assert_called_once_with projectId N/A self project_id body N/A query timeoutMs dryRun maxResults N/A self query N/A timeout 1000 False None N/A N/A N/A self assertEquals job_id spiderman N/A N/A N/A self assertEquals results N/A N/A test_sync_query_timeout N/A N/A self N/A N/A N/A Ensure that exception is raise on timeout for synchronous query N/A mock_query_job N/A N/A mock Mock N/A expected_job_id spiderman N/A expected_job_ref N/A jobId expected_job_id N/A N/A N/A mock_query_job execute return_value N/A jobReference jobComplete expected_job_ref False N/A N/A N/A N/A self mock_job_collection query return_value mock_query_job N/A timeout 5 N/A N/A N/A self assertRaises BigQueryTimeoutException N/A N/A self client query N/A self query None timeout N/A test_async_query_timeout N/A N/A self N/A N/A N/A Ensure that exception is not raise on timeout
        for asynchronous query N/A mock_query_job N/A N/A mock Mock N/A expected_job_id spiderman N/A expected_job_ref N/A jobId expected_job_id N/A N/A N/A mock_query_job execute return_value N/A jobReference jobComplete expected_job_ref False N/A N/A N/A N/A self mock_job_collection query return_value mock_query_job N/A N/A job_id results N/A N/A N/A self client query N/A self query N/A N/A N/A self assertEquals job_id spiderman N/A N/A N/A self assertEquals results N/A N/A test_query_dry_run_valid N/A N/A self N/A N/A N/A Ensure that None and an empty list is returned from the query when
        dry_run is True and the query is valid.
         N/A mock_query_job N/A N/A mock Mock N/A N/A N/A mock_query_job execute return_value N/A jobReference jobComplete N/A True N/A N/A N/A N/A self mock_job_collection query return_value mock_query_job N/A N/A job_id results N/A N/A N/A self client query N/A self query dry_run True N/A N/A N/A N/A N/A self mock_job_collection query assert_called_once_with projectId N/A self project_id body N/A query timeoutMs maxResults dryRun N/A self query 0 None True N/A N/A N/A self assertIsNone job_id N/A N/A N/A self assertEqual N/A results N/A test_query_dry_run_invalid N/A N/A self N/A N/A N/A Ensure that None and a dict is returned from the query when dry_run
        is True and the query is invalid.
         N/A mock_query_job N/A N/A mock Mock N/A N/A N/A mock_query_job execute side_effect N/A HttpError crap N/A N/A {"message": "Bad query"} encode utf8 N/A N/A N/A N/A self mock_job_collection query return_value mock_query_job N/A N/A job_id results N/A N/A N/A self client query N/A %s blah N/A self query dry_run True N/A N/A N/A N/A N/A self mock_job_collection query assert_called_once_with projectId N/A self project_id body N/A query timeoutMs maxResults dryRun N/A %s blah N/A self query 0 None True N/A N/A N/A self assertIsNone job_id N/A N/A N/A self assertEqual N/A message Bad query results N/A test_query_with_results N/A N/A self N/A N/A N/A Ensure that we retrieve the job id from the query and results if
        they are available.
         N/A mock_query_job N/A N/A mock Mock N/A expected_job_id spiderman N/A expected_job_ref N/A jobId expected_job_id N/A N/A N/A mock_query_job execute return_value N/A jobReference schema rows jobComplete expected_job_ref N/A fields N/A N/A name type foo INTEGER N/A N/A f N/A N/A v 10 True N/A N/A N/A N/A self mock_job_collection query return_value mock_query_job N/A N/A job_id results N/A N/A N/A self client query N/A self query N/A N/A N/A N/A N/A self mock_job_collection query assert_called_once_with projectId N/A self project_id body N/A query timeoutMs dryRun maxResults N/A self query 0 False None N/A N/A N/A self assertEquals job_id spiderman N/A N/A N/A self assertEquals results N/A N/A foo 10 N/A N/A TestGetQueryResults N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A client _bq_client None N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_job_collection N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service jobs return_value N/A self mock_job_collection N/A N/A self project_id project N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project_id N/A test_get_response N/A N/A self N/A N/A N/A Ensure that the query is executed and the query reply is returned.
         N/A job_id bar N/A mock_query_job N/A N/A mock Mock N/A mock_query_reply N/A N/A mock Mock N/A N/A N/A mock_query_job execute return_value mock_query_reply N/A N/A N/A N/A self mock_job_collection getQueryResults return_value mock_query_job N/A offset 5 N/A limit 10 N/A page_token token N/A timeout 1 N/A actual N/A N/A N/A self client get_query_results job_id offset limit page_token timeout N/A N/A N/A N/A N/A self mock_job_collection getQueryResults assert_called_once_with projectId N/A self project_id jobId job_id startIndex offset maxResults limit pageToken page_token timeoutMs 1000 N/A N/A N/A N/A mock_query_job execute assert_called_once_with N/A N/A N/A self assertEquals actual mock_query_reply N/A N/A TestTransformRow N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A client _bq_client None N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_job_collection N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service jobs return_value N/A self mock_job_collection N/A N/A self project_id project N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project_id N/A test_transform_row N/A N/A self N/A N/A N/A Ensure that the row dict is correctly transformed to a log dict. N/A schema N/A N/A name type foo INTEGER N/A name type bar FLOAT N/A name type baz STRING N/A name type qux BOOLEAN N/A name type timestamp TIMESTAMP N/A row N/A f N/A N/A v 42 N/A v None N/A v batman N/A v True N/A v 1.371145650319132E9 N/A expected N/A foo bar baz qux timestamp 42 None batman True 1371145650.32 N/A actual N/A N/A N/A self client _transform_row row schema N/A N/A N/A self assertEquals actual expected N/A test_transform_row_with_nested N/A N/A self N/A N/A N/A Ensure that the row dict with nested records is correctly
        transformed to a log dict.
         N/A schema N/A N/A name type foo INTEGER N/A name type bar FLOAT N/A name type baz STRING N/A name type mode fields qux RECORD SINGLE N/A N/A name type foobar INTEGER N/A name type bazqux STRING N/A row N/A f N/A N/A v 42 N/A v 36.98 N/A v batman N/A v N/A f N/A N/A v 120 N/A v robin N/A expected N/A foo bar baz qux 42 36.98 batman N/A foobar bazqux 120 robin N/A actual N/A N/A N/A self client _transform_row row schema N/A N/A N/A self assertEquals actual expected N/A test_transform_row_with_nested_repeated N/A N/A self N/A N/A N/A Ensure that the row dict with nested repeated records is correctly
        transformed to a log dict.
         N/A schema N/A N/A name type foo INTEGER N/A name type bar FLOAT N/A name type baz STRING N/A name type mode fields qux RECORD REPEATED N/A N/A name type foobar INTEGER N/A name type bazqux STRING N/A row N/A f N/A N/A v 42 N/A v 36.98 N/A v batman N/A v N/A N/A v N/A f N/A N/A v 120 N/A v robin N/A v N/A f N/A N/A v 300 N/A v joker N/A expected N/A foo bar baz qux 42 36.98 batman N/A N/A foobar bazqux 120 robin N/A foobar bazqux 300 joker N/A actual N/A N/A N/A self client _transform_row row schema N/A N/A N/A self assertEquals actual expected N/A N/A TestCheckJob N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A client _bq_client None N/A N/A self project_id project N/A N/A self client N/A N/A client BigQueryClient N/A N/A mock Mock N/A self project_id N/A test_job_incomplete N/A N/A self mock_exec N/A N/A N/A Ensure that we return None if the job is not yet complete. N/A N/A mock_exec return_value N/A jobComplete False N/A N/A is_completed total_rows N/A N/A N/A self client check_job 1 N/A N/A N/A self assertFalse is_completed N/A N/A N/A self assertEquals total_rows 0 N/A test_query_complete N/A N/A self mock_exec N/A N/A N/A Ensure that we can handle a normal query result. N/A N/A mock_exec return_value N/A jobComplete rows schema totalRows True N/A N/A f N/A N/A v bar N/A v man N/A f N/A N/A v abc N/A v xyz N/A fields N/A N/A name type foo STRING N/A name type spider STRING 2 N/A N/A is_completed total_rows N/A N/A N/A self client check_job 1 N/A N/A N/A self assertTrue is_completed N/A N/A N/A self assertEquals total_rows 2 N/A N/A N/A N/A mock patch bigquery.client.BigQueryClient.get_query_results TestWaitForJob N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A client _bq_client None N/A N/A self project_id project N/A N/A self api_mock N/A N/A mock Mock N/A N/A self client N/A N/A client BigQueryClient N/A self api_mock N/A self project_id N/A test_completed_jobs N/A N/A self N/A N/A N/A Ensure we can detect completed jobs N/A return_values N/A N/A status jobReference N/A state RUNNING N/A jobId testJob N/A status jobReference N/A state DONE N/A jobId testJob side_effect N/A N/A N/A args kwargs N/A N/A N/A N/A return_values pop 0 N/A N/A N/A N/A N/A N/A N/A N/A N/A self api_mock jobs get execute side_effect side_effect N/A job_resource N/A N/A N/A self client wait_for_job N/A jobReference status N/A jobId testJob N/A state RUNNING interval 0.01 timeout 0.05 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A self api_mock jobs get execute call_count 2 N/A N/A N/A self assertIsInstance job_resource dict N/A test_timeout_error N/A N/A self N/A N/A N/A Ensure that timeout raise exceptions N/A incomplete_job N/A status jobReference N/A state RUNNING N/A jobId testJob N/A N/A N/A N/A N/A N/A N/A N/A self api_mock jobs get execute return_value incomplete_job N/A N/A N/A self assertRaises BigQueryTimeoutException N/A N/A self client wait_for_job incomplete_job 0.1 0.25 N/A test_wait_job_http_error N/A N/A self N/A N/A N/A  Test wait job with http error N/A job N/A status jobReference N/A state RUNNING N/A jobId testJob N/A expected_result N/A error N/A errors code message N/A N/A domain reason message global required Required parameter is missing 400 Required parameter is missing N/A N/A N/A N/A N/A N/A N/A N/A self api_mock jobs insert execute return_value expected_result N/A N/A N/A self assertRaises JobExecutingException N/A N/A self client wait_for_job job interval 0.01 timeout 0.01 N/A test_wait_job_error_result N/A N/A self N/A N/A N/A  Test wait job with error result N/A job N/A status jobReference N/A state RUNNING N/A jobId testJob N/A expected_result N/A status N/A state errorResult DONE N/A reason location message invalidQuery query Your Error Message Here  N/A N/A N/A N/A N/A N/A N/A N/A self api_mock jobs insert execute return_value expected_result N/A N/A N/A self assertRaises JobExecutingException N/A N/A self client wait_for_job job interval 0.01 timeout 0.01 N/A test_accepts_job_id N/A N/A self N/A N/A N/A Ensure it accepts a job Id rather than a full job resource N/A return_values N/A N/A status jobReference N/A state RUNNING N/A jobId testJob N/A status jobReference N/A state DONE N/A jobId testJob side_effect N/A N/A N/A args kwargs N/A N/A N/A N/A return_values pop 0 N/A N/A N/A N/A N/A N/A N/A N/A N/A self api_mock jobs get execute side_effect side_effect N/A job_resource N/A N/A N/A self client wait_for_job testJob interval 0.01 timeout 5 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A self api_mock jobs get execute call_count 2 N/A N/A N/A self assertIsInstance job_resource dict N/A test_accepts_integer_job_id N/A N/A self N/A N/A N/A return_values N/A N/A status jobReference N/A state RUNNING N/A jobId testJob N/A status jobReference N/A state DONE N/A jobId testJob side_effect N/A N/A N/A args kwargs N/A N/A N/A N/A return_values pop 0 N/A N/A N/A N/A N/A N/A N/A N/A N/A self api_mock jobs get execute side_effect side_effect N/A job_resource N/A N/A N/A self client wait_for_job 1234567 interval 0.01 timeout 600 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A self api_mock jobs get execute call_count 2 N/A N/A N/A self assertIsInstance job_resource dict N/A N/A TestImportDataFromURIs N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A client _bq_client None N/A N/A self mock_api N/A N/A mock Mock N/A N/A self query foo N/A N/A self project_id project N/A N/A self dataset_id dataset N/A N/A self table_id table N/A N/A self client N/A N/A client BigQueryClient N/A self mock_api N/A self project_id N/A test_csv_job_body_constructed_correctly N/A N/A self N/A N/A N/A expected_result N/A status N/A state RUNNING N/A body N/A jobReference configuration N/A projectId jobId N/A self project_id job N/A load N/A sourceUris schema destinationTable createDisposition writeDisposition fieldDelimiter skipLeadingRows encoding quote maxBadRecords allowQuotedNewlines sourceFormat allowJaggedRows ignoreUnknownValues N/A sourceuri N/A fields N/A schema N/A projectId datasetId tableId N/A self project_id N/A self dataset_id N/A self table_id a b c d e f g h CSV j k N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A result N/A N/A N/A self client import_data_from_uris N/A sourceuri N/A self dataset_id N/A self table_id N/A schema job job create_disposition a write_disposition b field_delimiter c skip_leading_rows d encoding e quote f max_bad_records g allow_quoted_newlines h source_format CSV allow_jagged_rows j ignore_unknown_values k N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert assert_called_with projectId N/A self project_id body body N/A N/A N/A self assertEqual result expected_result N/A test_json_job_body_constructed_correctly N/A N/A self N/A N/A N/A expected_result N/A status N/A state RUNNING N/A body N/A jobReference configuration N/A projectId jobId N/A self project_id job N/A load N/A sourceUris schema destinationTable sourceFormat N/A sourceuri N/A fields N/A schema N/A projectId datasetId tableId N/A self project_id N/A self dataset_id N/A self table_id JSON N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A result N/A N/A N/A self client import_data_from_uris N/A sourceuri N/A self dataset_id N/A self table_id N/A schema job job source_format JSON N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert assert_called_with projectId N/A self project_id body body N/A N/A N/A self assertEqual result expected_result N/A test_field_delimiter_exception_if_not_csv N/A N/A self N/A N/A N/A Raise exception if csv-only parameter is set inappropriately N/A N/A N/A N/A self client import_data_from_uris N/A sourceuri N/A self dataset_id N/A self table_id N/A schema job job source_format JSON field_delimiter , N/A N/A raises Exception test_allow_jagged_rows_exception_if_not_csv N/A N/A self N/A N/A N/A Raise exception if csv-only parameter is set inappropriately N/A N/A N/A N/A self client import_data_from_uris N/A sourceuri N/A self dataset_id N/A self table_id N/A schema job job source_format JSON allow_jagged_rows True N/A N/A raises Exception test_allow_quoted_newlines_exception_if_not_csv N/A N/A self N/A N/A N/A Raise exception if csv-only parameter is set inappropriately N/A N/A N/A N/A self client import_data_from_uris N/A sourceuri N/A self dataset_id N/A self table_id N/A schema job job source_format JSON allow_quoted_newlines True N/A N/A raises Exception test_quote_exception_if_not_csv N/A N/A self N/A N/A N/A Raise exception if csv-only parameter is set inappropriately N/A N/A N/A N/A self client import_data_from_uris N/A sourceuri N/A self dataset_id N/A self table_id N/A schema job job source_format JSON quote ' N/A N/A raises Exception test_skip_leading_rows_exception_if_not_csv N/A N/A self N/A N/A N/A Raise exception if csv-only parameter is set inappropriately N/A N/A N/A N/A self client import_data_from_uris N/A sourceuri N/A self dataset_id N/A self table_id N/A schema job source_format JSON skip_leading_rows 10 N/A N/A raises Exception test_accepts_single_source_uri N/A N/A self N/A N/A N/A Ensure that a source_uri accepts a non-list N/A expected_result N/A status N/A state RUNNING N/A body N/A jobReference configuration N/A projectId jobId N/A self project_id job N/A load N/A sourceUris schema destinationTable N/A sourceuri N/A fields N/A schema N/A projectId datasetId tableId N/A self project_id N/A self dataset_id N/A self table_id N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A result N/A N/A N/A self client import_data_from_uris sourceuri N/A self dataset_id N/A self table_id schema N/A schema job job N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert assert_called_with projectId N/A self project_id body body N/A N/A N/A self assertEqual result expected_result N/A test_import_http_error N/A N/A self N/A N/A N/A  Test import with http error N/A expected_result N/A error N/A errors code message N/A N/A domain reason message global required Required parameter is missing 400 Required parameter is missing N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A N/A N/A self assertRaises JobInsertException N/A N/A self client import_data_from_uris N/A sourceuri N/A self dataset_id N/A self table_id N/A test_import_error_result N/A N/A self N/A N/A N/A  Test import with error result N/A expected_result N/A status N/A state errorResult DONE N/A reason location message invalidQuery query Your Error Message Here  N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A N/A N/A self assertRaises JobInsertException N/A N/A self client import_data_from_uris N/A sourceuri N/A self dataset_id N/A self table_id N/A N/A TestExportDataToURIs N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A client _bq_client None N/A N/A self mock_api N/A N/A mock Mock N/A N/A self project_id project N/A N/A self dataset_id dataset N/A N/A self table_id table N/A N/A self destination_format CSV N/A N/A self print_header False N/A N/A self client N/A N/A client BigQueryClient N/A self mock_api N/A self project_id N/A test_export N/A N/A self mock_generate_hex N/A N/A N/A  Ensure that export is working in normal circumstances  N/A expected_result N/A status N/A state RUNNING N/A body N/A jobReference configuration N/A projectId jobId N/A self project_id N/A %s-%s-destinationuri N/A N/A self dataset_id N/A self table_id N/A extract N/A destinationUris sourceTable destinationFormat printHeader N/A destinationuri N/A projectId datasetId tableId N/A self project_id N/A self dataset_id N/A self table_id N/A self destination_format N/A self print_header N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A N/A mock_generate_hex return_value destinationuri N/A result N/A N/A N/A self client export_data_to_uris N/A destinationuri N/A self dataset_id N/A self table_id destination_format N/A self destination_format print_header N/A self print_header N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert assert_called_with projectId N/A self project_id body body N/A N/A N/A self assertEqual result expected_result N/A N/A N/A mock patch bigquery.client.BigQueryClient._generate_hex_for_uris test_export_http_error N/A N/A self N/A N/A N/A  Test export with http error N/A expected_result N/A error N/A errors code message N/A N/A domain reason message global required Required parameter is missing 400 Required parameter is missing N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A N/A N/A self assertRaises JobInsertException N/A N/A self client export_data_to_uris N/A destinationuri N/A self dataset_id N/A self table_id N/A test_export_error_result N/A N/A self N/A N/A N/A  Test export with error result N/A expected_result N/A status N/A state errorResult DONE N/A reason location message invalidQuery query Your Error Message Here  N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A N/A N/A self assertRaises JobInsertException N/A N/A self client export_data_to_uris N/A destinationuri N/A self dataset_id N/A self table_id N/A N/A TestWriteToTable N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A client _bq_client None N/A N/A self mock_api N/A N/A mock Mock N/A N/A self query foo N/A N/A self project_id project N/A N/A self dataset_id dataset N/A N/A self table_id table N/A N/A self external_udf_uris N/A gs://bucket/external_udf.js N/A N/A self use_query_cache False N/A N/A self priority INTERACTIVE N/A N/A self client N/A N/A client BigQueryClient N/A self mock_api N/A self project_id N/A test_write N/A N/A self N/A N/A N/A  Ensure that write is working in normal circumstances. N/A expected_result N/A status N/A state RUNNING N/A body N/A configuration N/A query N/A destinationTable query userDefinedFunctionResources useQueryCache priority N/A projectId datasetId tableId N/A self project_id N/A self dataset_id N/A self table_id N/A self query N/A N/A resourceUri N/A N/A self external_udf_uris N/A 0 N/A self use_query_cache N/A self priority N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A result N/A N/A N/A self client write_to_table N/A self query N/A self dataset_id N/A self table_id external_udf_uris N/A self external_udf_uris use_query_cache False priority N/A self priority N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert assert_called_with projectId N/A self project_id body body N/A N/A N/A self assertEqual result expected_result N/A test_write_http_error N/A N/A self N/A N/A N/A  Test write with http error N/A expected_result N/A error N/A errors code message N/A N/A domain reason message global required Required parameter is missing 400 Required parameter is missing N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A N/A N/A self assertRaises JobInsertException N/A N/A self client write_to_table N/A self query N/A test_write_error_result N/A N/A self N/A N/A N/A  Test write with error result N/A expected_result N/A status N/A state errorResult DONE N/A reason location message invalidQuery query Your Error Message Here  N/A N/A N/A N/A N/A N/A N/A N/A self mock_api jobs insert execute return_value expected_result N/A N/A N/A self assertRaises JobInsertException N/A N/A self client write_to_table N/A self query N/A N/A TestFilterTablesByTime N/A N/A unittest TestCase N/A test_empty_tables N/A N/A self N/A N/A N/A Ensure we can handle filtering an empty dictionary N/A bq N/A N/A client BigQueryClient None project N/A tables N/A N/A bq _filter_tables_by_time N/A 1370000000 0 N/A N/A N/A self assertEqual N/A tables N/A test_multi_inside_range N/A N/A self N/A N/A N/A Ensure we can correctly filter several application ids N/A bq N/A N/A client BigQueryClient None project N/A tables N/A N/A bq _filter_tables_by_time N/A Spider-Man Daenerys Targaryen Gordon Freeman William Shatner Heavy Weapons Guy 1370002001 1370001999 1369999999 1370001000 0 1370002000 1370000000 N/A N/A N/A self assertEqual N/A sorted N/A Daenerys Targaryen William Shatner Gordon Freeman N/A sorted tables N/A test_not_inside_range N/A N/A self N/A N/A N/A Ensure we can correctly filter several application ids outside the
        range we are searching for.
         N/A bq N/A N/A client BigQueryClient None project N/A tables N/A N/A bq _filter_tables_by_time N/A John Snow Adam West Glados Potato 9001 100000000000000 -1 0 1370002000 1370000000 N/A N/A N/A self assertEqual N/A tables N/A N/A N/A NEXT_TABLE_LIST_RESPONSE N/A kind etag nextPageToken tables totalItems bigquery#tableList "t_UlB9a9mrx5sjQInRGzeDrLrS0/TsIP_i4gAeLegj84WzkPzBPIkjo" 2013_05_appspot_1 N/A N/A kind id tableReference bigquery#table project:dataset.2013_06_appspot_10 N/A projectId datasetId tableId project dataset 2013_06_appspot_10 N/A kind id tableReference bigquery#table project:dataset.2013_06_appspot_11 N/A projectId datasetId tableId project dataset 2013_06_appspot_11 N/A kind id tableReference bigquery#table project:dataset.2013_06_appspot_12 N/A projectId datasetId tableId project dataset 2013_06_appspot_12 3 N/A FULL_TABLE_LIST_RESPONSE N/A kind etag tables totalItems bigquery#tableList "GSclnjk0zID1ucM3F-xYinOm1oE/cn58Rpu8v8pB4eoJQaiTe11lPQc" N/A N/A kind id tableReference bigquery#table project:dataset.2013_05_appspot_1 N/A projectId datasetId tableId project dataset 2013_05_appspot N/A kind id tableReference bigquery#table project:dataset.2013_06_appspot_1 N/A projectId datasetId tableId project dataset 2013_06_appspot_1 N/A kind id tableReference bigquery#table project:dataset.2013_06_appspot_2 N/A projectId datasetId tableId project dataset 2013_06_appspot_2 N/A kind id tableReference bigquery#table project:dataset.2013_06_appspot_3 N/A projectId datasetId tableId project dataset 2013_06_appspot_3 N/A kind id tableReference bigquery#table project:dataset.2013_06_appspot_4 N/A projectId datasetId tableId project dataset 2013_06_appspot_4 N/A kind id tableReference bigquery#table project:dataset.2013_06_appspot_5 N/A projectId datasetId tableId project dataset 2013_06_appspot_5 N/A kind id tableReference bigquery#table project:dataset.appspot_6_2013_06 N/A projectId datasetId tableId project dataset appspot_6_2013_06 N/A kind id bigquery#table bad table data 8 TestGetQuerySchema N/A N/A unittest TestCase N/A test_query_complete N/A N/A self get_query_mock N/A N/A N/A Ensure that get_query_schema works when a query is complete. bigquery.client BigQueryClient N/A bq N/A BigQueryClient N/A N/A mock Mock project N/A N/A get_query_mock return_value N/A jobComplete schema True N/A fields This is our schema N/A result_schema N/A N/A bq get_query_schema job_id 123 N/A N/A N/A self assertEquals result_schema This is our schema N/A test_query_incomplete N/A N/A self get_query_mock N/A N/A N/A Ensure that get_query_schema handles scenarios where the query
        is not finished.
         bigquery.client BigQueryClient N/A bq N/A BigQueryClient N/A N/A mock Mock project N/A N/A get_query_mock return_value N/A jobComplete schema False N/A fields This is our schema N/A N/A N/A self assertRaises N/A client UnfinishedQueryException N/A bq get_query_schema job_id 123 N/A N/A N/A N/A mock patch bigquery.client.BigQueryClient.get_query_results TestGetTableSchema N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_tables N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service tables return_value N/A self mock_tables N/A N/A self table table N/A N/A self project project N/A N/A self dataset dataset N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A test_table_exists N/A N/A self N/A N/A N/A Ensure that the table schema is returned if the table exists. N/A expected N/A N/A type name mode FLOAT foo NULLABLE N/A type name mode INTEGER bar NULLABLE N/A type name mode INTEGER baz NULLABLE N/A N/A N/A N/A N/A N/A self mock_tables get return_value execute return_value N/A schema N/A fields expected N/A N/A N/A self assertEqual expected N/A N/A N/A self client get_table_schema N/A self dataset N/A self table N/A N/A N/A N/A N/A self mock_tables get assert_called_once_with projectId N/A self project tableId N/A self table datasetId N/A self dataset N/A N/A N/A N/A N/A N/A N/A self mock_tables get return_value execute assert_called_once_with N/A test_table_does_not_exist N/A N/A self N/A N/A N/A Ensure that None is returned if the table doesn't exist. N/A N/A N/A N/A N/A N/A self mock_tables get return_value execute side_effect N/A HttpError N/A status 404 N/A N/A {} encode utf8 N/A N/A N/A self assertIsNone N/A N/A N/A self client get_table_schema N/A self dataset N/A self table N/A N/A N/A N/A N/A self mock_tables get assert_called_once_with projectId N/A self project tableId N/A self table datasetId N/A self dataset N/A N/A N/A N/A N/A N/A N/A self mock_tables get return_value execute assert_called_once_with N/A N/A TestGetQueryRows N/A N/A unittest TestCase N/A test_query_complete N/A N/A self get_query_mock N/A N/A N/A Ensure that get_query_rows works when a query is complete. bigquery.client BigQueryClient N/A bq N/A BigQueryClient N/A N/A mock Mock project N/A N/A get_query_mock return_value N/A jobComplete rows schema totalRows True N/A N/A f N/A N/A v bar N/A v man N/A f N/A N/A v abc N/A v xyz N/A fields N/A N/A name type foo STRING N/A name type spider STRING 2 N/A result_rows N/A N/A bq get_query_rows job_id 123 offset 0 limit 0 N/A expected_rows N/A N/A foo spider bar man N/A foo spider abc xyz N/A N/A N/A self assertEquals result_rows expected_rows N/A test_query_complete_with_page_token N/A N/A self get_query_mock N/A N/A N/A Ensure that get_query_rows works with page token. bigquery.client BigQueryClient N/A page_one_resp N/A jobComplete kind pageToken schema rows totalRows True bigquery#getQueryResultsResponse TOKEN_TO_PAGE_2 N/A fields N/A N/A name type first_name STRING N/A name type last_name STRING N/A N/A f N/A N/A v foo N/A v bar N/A f N/A N/A v abc N/A v xyz 4 N/A page_two_resp N/A jobComplete kind schema rows totalRows True bigquery#getQueryResultsResponse N/A fields N/A N/A name type first_name STRING N/A name type last_name STRING N/A N/A f N/A N/A v the N/A v beatles N/A f N/A N/A v monty N/A v python 4 N/A bq N/A BigQueryClient N/A N/A mock Mock project N/A N/A get_query_mock side_effect N/A page_one_resp page_two_resp N/A result_rows N/A N/A bq get_query_rows job_id 123 offset 0 limit 0 N/A expected_rows N/A N/A first_name last_name foo bar N/A first_name last_name abc xyz N/A first_name last_name the beatles N/A first_name last_name monty python N/A N/A N/A self assertEquals result_rows expected_rows N/A test_query_incomplete N/A N/A self get_query_mock N/A N/A N/A Ensure that get_query_rows handles scenarios where the query is not
        finished.
         bigquery.client BigQueryClient N/A bq N/A BigQueryClient N/A N/A mock Mock project N/A N/A get_query_mock return_value N/A jobComplete rows schema totalRows False N/A N/A f N/A N/A v bar N/A v man N/A f N/A N/A v abc N/A v xyz N/A fields N/A N/A name type foo STRING N/A name type spider STRING 2 N/A N/A N/A self assertRaises N/A client UnfinishedQueryException N/A bq get_query_rows job_id 123 offset 0 limit 0 N/A N/A N/A N/A mock patch bigquery.client.BigQueryClient.get_query_results TestCheckTable N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_tables N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service tables return_value N/A self mock_tables N/A N/A self table table N/A N/A self project project N/A N/A self dataset dataset N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A test_table_does_not_exist N/A N/A self N/A N/A N/A Ensure that if the table does not exist, False is returned. N/A N/A N/A N/A N/A N/A self mock_tables get return_value execute side_effect N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A actual N/A N/A N/A self client check_table N/A self dataset N/A self table N/A N/A N/A self assertFalse actual N/A N/A N/A N/A N/A self mock_tables get assert_called_once_with projectId N/A self project datasetId N/A self dataset tableId N/A self table N/A N/A N/A N/A N/A N/A N/A self mock_tables get return_value execute assert_called_once_with N/A test_table_does_exist N/A N/A self N/A N/A N/A Ensure that if the table does exist, True is returned. N/A N/A N/A N/A N/A N/A self mock_tables get return_value execute side_effect N/A status foo N/A actual N/A N/A N/A self client check_table N/A self dataset N/A self table N/A N/A N/A self assertTrue actual N/A N/A N/A N/A N/A self mock_tables get assert_called_once_with projectId N/A self project datasetId N/A self dataset tableId N/A self table N/A N/A N/A N/A N/A N/A N/A self mock_tables get return_value execute assert_called_once_with N/A N/A TestCreateTable N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_tables N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service tables return_value N/A self mock_tables N/A N/A self table table N/A N/A self schema N/A N/A name type mode foo STRING nullable N/A name type mode bar FLOAT nullable N/A N/A self project project N/A N/A self dataset dataset N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A N/A self body N/A schema tableReference N/A fields N/A self schema N/A tableId projectId datasetId N/A self table N/A self project N/A self dataset N/A N/A self expiration_time 1437513693000 N/A test_table_create_failed N/A N/A self N/A N/A N/A Ensure that if creating the table fails, False is returned,
        or if swallow_results is False an empty dict is returned. N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute side_effect N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A actual N/A N/A N/A self client create_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertFalse actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client create_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertEqual actual N/A N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables insert assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute assert_called_with N/A test_table_create_success N/A N/A self N/A N/A N/A Ensure that if creating the table succeeds, True is returned,
        or if swallow_results is False the actual response is returned. N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute side_effect N/A N/A status foo N/A status bar N/A actual N/A N/A N/A self client create_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client create_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertEqual actual N/A status bar N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables insert assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute assert_called_with N/A test_table_create_body_with_expiration_time N/A N/A self N/A N/A N/A Ensure that if expiration_time has specified,
        it passed to the body. N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute side_effect N/A N/A status foo N/A status bar N/A N/A N/A N/A self client create_table N/A self dataset N/A self table N/A self schema N/A self expiration_time N/A body N/A N/A N/A self body copy N/A N/A N/A body update N/A expirationTime N/A self expiration_time N/A N/A N/A N/A N/A self mock_tables insert assert_called_with projectId N/A self project datasetId N/A self dataset body body N/A N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute assert_called_with N/A N/A TestUpdateTable N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_tables N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service tables return_value N/A self mock_tables N/A N/A self table table N/A N/A self schema N/A N/A name type mode foo STRING nullable N/A name type mode bar FLOAT nullable N/A N/A self project project N/A N/A self dataset dataset N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A N/A self body N/A schema tableReference N/A fields N/A self schema N/A tableId projectId datasetId N/A self table N/A self project N/A self dataset N/A N/A self expiration_time 1437513693000 N/A test_table_update_failed N/A N/A self N/A N/A N/A Ensure that if updating the table fails, False is returned,
        or if swallow_results is False an empty dict is returned. N/A N/A N/A N/A N/A N/A self mock_tables update return_value execute side_effect N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A actual N/A N/A N/A self client update_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertFalse actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client update_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertEqual actual N/A N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables update assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_tables update return_value execute assert_called_with N/A test_table_update_success N/A N/A self N/A N/A N/A Ensure that if updating the table succeeds, True is returned,
        or if swallow_results is False the actual response is returned. N/A N/A N/A N/A N/A N/A self mock_tables update return_value execute side_effect N/A N/A status foo N/A status bar N/A actual N/A N/A N/A self client update_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client update_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertEqual actual N/A status bar N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables update assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_tables update return_value execute assert_called_with N/A N/A TestPatchTable N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_tables N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service tables return_value N/A self mock_tables N/A N/A self table table N/A N/A self schema N/A N/A name type mode foo STRING nullable N/A name type mode bar FLOAT nullable N/A N/A self project project N/A N/A self dataset dataset N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A N/A self body N/A schema tableReference N/A fields N/A self schema N/A tableId projectId datasetId N/A self table N/A self project N/A self dataset N/A N/A self expiration_time 1437513693000 N/A test_table_patch_failed N/A N/A self N/A N/A N/A Ensure that if patching the table fails, False is returned,
        or if swallow_results is False an empty dict is returned. N/A N/A N/A N/A N/A N/A self mock_tables patch return_value execute side_effect N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A actual N/A N/A N/A self client patch_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertFalse actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client patch_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertEqual actual N/A N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables patch assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_tables patch return_value execute assert_called_with N/A test_table_patch_success N/A N/A self N/A N/A N/A Ensure that if patching the table succeeds, True is returned,
        or if swallow_results is False the actual response is returned. N/A N/A N/A N/A N/A N/A self mock_tables patch return_value execute side_effect N/A N/A status foo N/A status bar N/A actual N/A N/A N/A self client patch_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client patch_table N/A self dataset N/A self table N/A self schema N/A N/A N/A self assertEqual actual N/A status bar N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables patch assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_tables patch return_value execute assert_called_with N/A N/A TestCreateView N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_tables N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service tables return_value N/A self mock_tables N/A N/A self table table N/A N/A self project project N/A N/A self dataset dataset N/A N/A self query SELECT "bar" foo, "foo" bar N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A N/A self body N/A view tableReference N/A query N/A self query N/A tableId projectId datasetId N/A self table N/A self project N/A self dataset N/A test_view_create_failed N/A N/A self N/A N/A N/A Ensure that if creating the table fails, False is returned,
        or if swallow_results is False an empty dict is returned. N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute side_effect N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A actual N/A N/A N/A self client create_view N/A self dataset N/A self table N/A self query N/A N/A N/A self assertFalse actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client create_view N/A self dataset N/A self table N/A self query N/A N/A N/A self assertEqual actual N/A N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables insert assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute assert_called_with N/A test_view_create_success N/A N/A self N/A N/A N/A Ensure that if creating the table succeeds, True is returned,
        or if swallow_results is False the actual response is returned. N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute side_effect N/A N/A status foo N/A status bar N/A actual N/A N/A N/A self client create_view N/A self dataset N/A self table N/A self query N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client create_view N/A self dataset N/A self table N/A self query N/A N/A N/A self assertEqual actual N/A status bar N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables insert assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_tables insert return_value execute assert_called_with N/A N/A TestDeleteTable N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_tables N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service tables return_value N/A self mock_tables N/A N/A self table table N/A N/A self project project N/A N/A self dataset dataset N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A test_delete_table_fail N/A N/A self N/A N/A N/A Ensure that if deleting table fails, False is returned,
        or the actual response is swallow_results is False. N/A N/A N/A N/A N/A N/A self mock_tables delete return_value execute side_effect N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A actual N/A N/A N/A self client delete_table N/A self dataset N/A self table N/A N/A N/A self assertFalse actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client delete_table N/A self dataset N/A self table N/A N/A N/A self assertEqual actual N/A N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables delete assert_called_with projectId N/A self project datasetId N/A self dataset tableId N/A self table N/A N/A N/A N/A N/A N/A N/A self mock_tables delete return_value execute assert_called_with N/A test_delete_table_success N/A N/A self N/A N/A N/A Ensure that if deleting table succeeds, True is returned,
        or the actual response if swallow_results is False. N/A N/A N/A N/A N/A N/A self mock_tables delete return_value execute side_effect N/A N/A status foo N/A status bar N/A actual N/A N/A N/A self client delete_table N/A self dataset N/A self table N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client delete_table N/A self dataset N/A self table N/A N/A N/A self assertEqual actual N/A status bar N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_tables delete assert_called_with projectId N/A self project datasetId N/A self dataset tableId N/A self table N/A N/A N/A N/A N/A N/A N/A self mock_tables delete return_value execute assert_called_with N/A N/A TestParseTableListReponse N/A N/A unittest TestCase N/A test_full_parse N/A N/A self N/A N/A N/A Ensures we can parse a full list response. N/A bq N/A N/A client BigQueryClient None project N/A tables N/A N/A bq _parse_table_list_response FULL_TABLE_LIST_RESPONSE N/A expected_result N/A appspot-3 appspot-2 appspot-1 appspot-6 appspot-5 appspot-4 appspot N/A 2013_06_appspot_3 1370044800 N/A 2013_06_appspot_2 1370044800 N/A 2013_06_appspot_1 1370044800 N/A appspot_6_2013_06 1370044800 N/A 2013_06_appspot_5 1370044800 N/A 2013_06_appspot_4 1370044800 N/A 2013_05_appspot 1367366400 N/A N/A N/A self assertEquals expected_result tables N/A test_empty_parse N/A N/A self N/A N/A N/A Ensures we can parse an empty dictionary. N/A bq N/A N/A client BigQueryClient None project N/A tables N/A N/A bq _parse_table_list_response N/A N/A N/A N/A self assertEquals tables N/A N/A test_error N/A N/A self N/A N/A N/A Ensures we can handle parsing a response error. N/A error_response N/A error N/A errors code message N/A N/A domain reason message locationType location global required Login Required header Authorization 401 Login Required N/A bq N/A N/A client BigQueryClient None project N/A tables N/A N/A bq _parse_table_list_response error_response N/A N/A N/A self assertEquals tables N/A N/A test_incorrect_table_formats N/A N/A self N/A N/A N/A Ensures we can parse incorrectly formatted table ids. N/A list_response N/A tables N/A N/A tableReference N/A tableId somethingwrong N/A tableReference N/A tableId john-snow N/A tableReference N/A tableId '------', N/A tableReference N/A tableId N/A tableReference N/A tableId adam_west N/A bq N/A N/A client BigQueryClient None project N/A tables N/A N/A bq _parse_table_list_response list_response N/A N/A N/A self assertEquals tables N/A N/A N/A TestPushRows N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_table_data N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service tabledata return_value N/A self mock_table_data N/A N/A self table table N/A N/A self project project N/A N/A self dataset dataset N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A N/A self rows N/A N/A one two uno dos N/A one two ein zwei N/A two kiwi N/A N/A self data N/A kind rows bigquery#tableDataInsertAllRequest N/A N/A insertId json uno N/A one two uno dos N/A insertId json ein N/A one two ein zwei N/A json N/A two kiwi N/A test_push_failed N/A N/A self N/A N/A N/A Ensure that if insertAll does not raise an exception, but returns
        insertion errors, False is returned.
         N/A N/A N/A N/A N/A N/A self mock_table_data insertAll return_value execute return_value N/A insertErrors foo N/A actual N/A N/A N/A self client push_rows N/A self dataset N/A self table N/A self rows one N/A N/A N/A self assertFalse actual N/A N/A N/A N/A N/A self mock_bq_service tabledata assert_called_once_with N/A N/A N/A N/A N/A self mock_table_data insertAll assert_called_once_with projectId N/A self project datasetId N/A self dataset tableId N/A self table body N/A self data N/A execute_calls N/A N/A N/A mock call N/A N/A N/A N/A N/A N/A N/A self mock_table_data insertAll return_value execute assert_has_calls execute_calls N/A test_push_failed_swallow_results_false N/A N/A self N/A N/A N/A 
        Ensure that if insertAll returns insertion errors and swallow_results
        is false that you get an empty dictionary.
         N/A N/A N/A N/A N/A N/A self mock_table_data insertAll return_value execute return_value N/A insertErrors foo N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client push_rows N/A self dataset N/A self table N/A self rows one N/A N/A N/A self client swallow_results True N/A N/A N/A self assertEqual actual N/A N/A N/A N/A N/A self mock_table_data insertAll return_value execute return_value N/A test_push_exception N/A N/A self N/A N/A N/A Ensure that if insertAll raises an exception, False is returned. N/A e N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A N/A N/A N/A N/A N/A self mock_table_data insertAll return_value execute side_effect e N/A actual N/A N/A N/A self client push_rows N/A self dataset N/A self table N/A self rows one N/A N/A N/A self assertFalse actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client push_rows N/A self dataset N/A self table N/A self rows one N/A N/A N/A self assertEqual actual N/A insertErrors N/A N/A errors N/A N/A reason message httperror e N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_bq_service tabledata assert_called_with N/A N/A N/A N/A N/A self mock_table_data insertAll assert_called_with projectId N/A self project datasetId N/A self dataset tableId N/A self table body N/A self data N/A execute_calls N/A N/A N/A mock call N/A N/A N/A N/A N/A N/A N/A self mock_table_data insertAll return_value execute assert_has_calls execute_calls N/A test_push_success N/A N/A self N/A N/A N/A Ensure that if insertAll does not raise an exception, but returns
        insertion errors, False is returned.
         N/A N/A N/A N/A N/A N/A self mock_table_data insertAll return_value execute return_value N/A status foo N/A actual N/A N/A N/A self client push_rows N/A self dataset N/A self table N/A self rows one N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client push_rows N/A self dataset N/A self table N/A self rows one N/A N/A N/A self assertEqual actual N/A status foo N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_bq_service tabledata assert_called_with N/A N/A N/A N/A N/A self mock_table_data insertAll assert_called_with projectId N/A self project datasetId N/A self dataset tableId N/A self table body N/A self data N/A execute_calls N/A N/A N/A mock call N/A N/A N/A N/A N/A N/A N/A self mock_table_data insertAll return_value execute assert_has_calls execute_calls N/A test_request_data_with_options N/A N/A self N/A N/A N/A Ensure that insertAll body has optional property only when
        the optional parameter of push_rows passed.
         N/A expected_body N/A N/A N/A self data copy N/A N/A N/A N/A self client push_rows N/A self dataset N/A self table N/A self rows insert_id_key one N/A N/A N/A N/A N/A self mock_table_data insertAll assert_called_with projectId N/A self project datasetId N/A self dataset tableId N/A self table body expected_body N/A N/A N/A N/A self client push_rows N/A self dataset N/A self table N/A self rows insert_id_key one ignore_unknown_values False skip_invalid_rows False N/A N/A expected_body N/A ignoreUnknownValues False N/A N/A expected_body N/A skipInvalidRows False N/A N/A N/A N/A N/A self mock_table_data insertAll assert_called_with projectId N/A self project datasetId N/A self dataset tableId N/A self table body expected_body N/A N/A N/A N/A self client push_rows N/A self dataset N/A self table N/A self rows insert_id_key one ignore_unknown_values True skip_invalid_rows True template_suffix 20160428 N/A N/A expected_body N/A ignoreUnknownValues True N/A N/A expected_body N/A skipInvalidRows True N/A N/A expected_body N/A templateSuffix 20160428 N/A N/A N/A N/A N/A self mock_table_data insertAll assert_called_with projectId N/A self project datasetId N/A self dataset tableId N/A self table body expected_body N/A N/A TestGetAllTables N/A N/A unittest TestCase N/A test_get_tables N/A N/A self N/A N/A N/A Ensure get_all_tables fetches table names from BigQuery. N/A mock_execute N/A N/A mock Mock N/A N/A N/A mock_execute execute return_value FULL_TABLE_LIST_RESPONSE N/A mock_tables N/A N/A mock Mock N/A N/A N/A mock_tables list return_value mock_execute N/A mock_bq_service N/A N/A mock Mock N/A N/A N/A mock_bq_service tables return_value mock_tables N/A bq N/A N/A client BigQueryClient mock_bq_service project N/A expected_result N/A appspot-3 appspot-2 appspot-1 appspot-6 appspot-5 appspot-4 appspot N/A 2013_06_appspot_3 1370044800 N/A 2013_06_appspot_2 1370044800 N/A 2013_06_appspot_1 1370044800 N/A appspot_6_2013_06 1370044800 N/A 2013_06_appspot_5 1370044800 N/A 2013_06_appspot_4 1370044800 N/A 2013_05_appspot 1367366400 N/A tables N/A N/A bq _get_all_tables dataset cache False N/A N/A N/A self assertEquals expected_result tables N/A test_get_all_tables_with_page_token N/A N/A self N/A N/A N/A Ensure get_all_tables fetches all tables names from BigQuery N/A mock_execute N/A N/A mock Mock N/A N/A N/A mock_execute execute side_effect N/A NEXT_TABLE_LIST_RESPONSE FULL_TABLE_LIST_RESPONSE N/A mock_tables N/A N/A mock Mock N/A N/A N/A mock_tables list return_value mock_execute N/A mock_bq_service N/A N/A mock Mock N/A N/A N/A mock_bq_service tables return_value mock_tables N/A bq N/A N/A client BigQueryClient mock_bq_service project N/A expected_result N/A appspot-3 appspot-2 appspot-1 appspot-6 appspot-5 appspot-4 appspot appspot-10 appspot-12 appspot-11 N/A 2013_06_appspot_3 1370044800 N/A 2013_06_appspot_2 1370044800 N/A 2013_06_appspot_1 1370044800 N/A appspot_6_2013_06 1370044800 N/A 2013_06_appspot_5 1370044800 N/A 2013_06_appspot_4 1370044800 N/A 2013_05_appspot 1367366400 N/A 2013_06_appspot_10 1370044800 N/A 2013_06_appspot_12 1370044800 N/A 2013_06_appspot_11 1370044800 N/A tables N/A N/A bq _get_all_tables dataset cache False N/A N/A N/A self assertEquals expected_result tables N/A test_get_all_tables_with_cache N/A N/A self N/A N/A N/A Ensure get_all_tables uses cache when fetching N/A mock_execute N/A N/A mock Mock N/A N/A N/A mock_execute execute return_value FULL_TABLE_LIST_RESPONSE N/A mock_tables N/A N/A mock Mock N/A N/A N/A mock_tables list return_value mock_execute N/A mock_bq_service N/A N/A mock Mock N/A N/A N/A mock_bq_service tables return_value mock_tables N/A bq N/A N/A client BigQueryClient mock_bq_service project N/A expected_result N/A appspot-3 appspot-2 appspot-1 appspot-6 appspot-5 appspot-4 appspot N/A 2013_06_appspot_3 1370044800 N/A 2013_06_appspot_2 1370044800 N/A 2013_06_appspot_1 1370044800 N/A appspot_6_2013_06 1370044800 N/A 2013_06_appspot_5 1370044800 N/A 2013_06_appspot_4 1370044800 N/A 2013_05_appspot 1367366400 N/A tables N/A N/A bq _get_all_tables dataset cache True N/A N/A N/A self assertEquals expected_result tables N/A N/A N/A mock_execute execute side_effect N/A NEXT_TABLE_LIST_RESPONSE FULL_TABLE_LIST_RESPONSE N/A tables N/A N/A bq _get_all_tables dataset cache True N/A N/A N/A self assertEquals expected_result tables N/A expected_result N/A appspot-3 appspot-2 appspot-1 appspot-6 appspot-5 appspot-4 appspot appspot-10 appspot-12 appspot-11 N/A 2013_06_appspot_3 1370044800 N/A 2013_06_appspot_2 1370044800 N/A 2013_06_appspot_1 1370044800 N/A appspot_6_2013_06 1370044800 N/A 2013_06_appspot_5 1370044800 N/A 2013_06_appspot_4 1370044800 N/A 2013_05_appspot 1367366400 N/A 2013_06_appspot_10 1370044800 N/A 2013_06_appspot_12 1370044800 N/A 2013_06_appspot_11 1370044800 N/A tables N/A N/A bq _get_all_tables dataset cache False N/A N/A N/A self assertEquals expected_result tables N/A N/A TestGetTables N/A N/A unittest TestCase N/A test_get_tables N/A N/A self N/A N/A N/A Ensure tables falling in the time window are returned. N/A mock_execute N/A N/A mock Mock N/A N/A N/A mock_execute execute return_value FULL_TABLE_LIST_RESPONSE N/A mock_tables N/A N/A mock Mock N/A N/A N/A mock_tables list return_value mock_execute N/A mock_bq_service N/A N/A mock Mock N/A N/A N/A mock_bq_service tables return_value mock_tables N/A bq N/A N/A client BigQueryClient mock_bq_service project N/A tables N/A N/A bq get_tables dataset appspot-1 0 10000000000 N/A N/A N/A six assertCountEqual self tables N/A 2013_06_appspot_1 N/A test_get_tables_from_datetimes N/A N/A self N/A N/A N/A Ensure tables falling in the time window, specified with datetimes,
        are returned.
         datetime datetime N/A mock_execute N/A N/A mock Mock N/A N/A N/A mock_execute execute return_value FULL_TABLE_LIST_RESPONSE N/A mock_tables N/A N/A mock Mock N/A N/A N/A mock_tables list return_value mock_execute N/A mock_bq_service N/A N/A mock Mock N/A N/A N/A mock_bq_service tables return_value mock_tables N/A bq N/A N/A client BigQueryClient mock_bq_service project N/A start N/A datetime 2013 5 10 N/A end N/A datetime 2013 7 10 N/A tables N/A N/A bq get_tables dataset appspot-1 start end N/A N/A N/A six assertCountEqual self tables N/A 2013_06_appspot_1 N/A N/A TestCreateDataset N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_datasets N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service datasets return_value N/A self mock_datasets N/A N/A self dataset dataset N/A N/A self project project N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A N/A self friendly_name friendly name N/A N/A self description description N/A N/A self access N/A N/A userByEmail bob@gmail.com N/A N/A self body N/A datasetReference friendlyName description access N/A datasetId projectId N/A self dataset N/A self project N/A self friendly_name N/A self description N/A self access N/A test_dataset_create_failed N/A N/A self N/A N/A N/A Ensure that if creating the table fails, False is returned. N/A N/A N/A N/A N/A N/A self mock_datasets insert return_value execute side_effect N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A actual N/A N/A N/A self client create_dataset N/A self dataset friendly_name N/A self friendly_name description N/A self description access N/A self access N/A N/A N/A self assertFalse actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client create_dataset N/A self dataset friendly_name N/A self friendly_name description N/A self description access N/A self access N/A N/A N/A self assertEqual actual N/A N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_datasets insert assert_called_with projectId N/A self project body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_datasets insert return_value execute assert_called_with N/A test_dataset_create_success N/A N/A self N/A N/A N/A Ensure that if creating the table fails, False is returned. N/A N/A N/A N/A N/A N/A self mock_datasets insert return_value execute side_effect N/A N/A status foo N/A status bar N/A actual N/A N/A N/A self client create_dataset N/A self dataset N/A self friendly_name N/A self description N/A self access N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client create_dataset N/A self dataset N/A self friendly_name N/A self description N/A self access N/A N/A N/A self assertEqual actual N/A status bar N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_datasets insert assert_called_with projectId N/A self project body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_datasets insert return_value execute assert_called_with N/A N/A TestDeleteDataset N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_datasets N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service datasets return_value N/A self mock_datasets N/A N/A self project project N/A N/A self dataset dataset N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A test_delete_datasets_fail N/A N/A self N/A N/A N/A Ensure that if deleting table fails, False is returned. N/A N/A N/A N/A N/A N/A self mock_datasets delete return_value execute side_effect N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A actual N/A N/A N/A self client delete_dataset N/A self dataset N/A N/A N/A self assertFalse actual N/A N/A N/A N/A N/A self mock_datasets delete assert_called_once_with projectId N/A self project datasetId N/A self dataset deleteContents False N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client delete_dataset N/A self dataset N/A N/A N/A self assertEqual actual N/A N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A N/A N/A self mock_datasets delete return_value execute assert_called_with N/A test_delete_datasets_success N/A N/A self N/A N/A N/A Ensure that if deleting table succeeds, True is returned. N/A N/A N/A N/A N/A N/A self mock_datasets delete return_value execute side_effect N/A N/A status foo N/A status bar N/A actual N/A N/A N/A self client delete_dataset N/A self dataset N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client delete_dataset N/A self dataset N/A N/A N/A self assertEqual actual N/A status bar N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_datasets delete assert_called_with projectId N/A self project datasetId N/A self dataset deleteContents False N/A N/A N/A N/A N/A N/A N/A self mock_datasets delete return_value execute assert_called_with N/A test_delete_datasets_delete_contents_success N/A N/A self N/A N/A N/A Ensure that if deleting table succeeds, True is returned. N/A N/A N/A N/A N/A N/A self mock_datasets delete return_value execute side_effect N/A N/A status foo N/A status bar N/A actual N/A N/A N/A self client delete_dataset N/A self dataset True N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client delete_dataset N/A self dataset True N/A N/A N/A self assertEqual actual N/A status bar N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_datasets delete assert_called_with projectId N/A self project datasetId N/A self dataset deleteContents True N/A N/A N/A N/A N/A N/A N/A self mock_datasets delete return_value execute assert_called_with N/A N/A N/A FULL_DATASET_LIST_RESPONSE N/A kind etag datasets totalItems bigquery#dataseteList "GSclnjk0zID1ucM3F-xYinOm1oE/cn58Rpu8v8pB4eoJQaiTe11lPQc" N/A N/A kind id datasetReference bigquery#dataset project:dataset1 N/A projectId datasetId project dataset1 N/A kind id datasetReference bigquery#dataset project:dataset2 N/A projectId datasetId project dataset2 N/A kind id datasetReference bigquery#dataset project:dataset3 N/A projectId datasetId project dataset3 N/A kind id datasetReference bigquery#dataset project:dataset4 N/A projectId datasetId project dataset4 N/A kind id datasetReference bigquery#dataset project:dataset5 N/A projectId datasetId project dataset5 N/A kind id datasetReference bigquery#dataset project:dataset6 N/A projectId datasetId project dataset6 N/A kind id datasetReference bigquery#dataset project:dataset7 N/A projectId datasetId project dataset7 N/A kind id bigquery#dataset bad dataset data 8 TestGetDatasets N/A N/A unittest TestCase N/A test_get_datasets N/A N/A self N/A N/A N/A Ensure datasets are returned. N/A mock_execute N/A N/A mock Mock N/A N/A N/A mock_execute execute return_value FULL_DATASET_LIST_RESPONSE N/A mock_datasets N/A N/A mock Mock N/A N/A N/A mock_datasets list return_value mock_execute N/A mock_bq_service N/A N/A mock Mock N/A N/A N/A mock_bq_service datasets return_value mock_datasets N/A bq N/A N/A client BigQueryClient mock_bq_service project N/A datasets N/A N/A bq get_datasets N/A N/A N/A six assertCountEqual self datasets N/A FULL_DATASET_LIST_RESPONSE N/A datasets N/A test_get_datasets_returns_no_list N/A N/A self N/A N/A N/A Ensure we handle the no datasets case N/A mock_execute N/A N/A mock Mock N/A N/A N/A mock_execute execute return_value N/A kind etag bigquery#dataseteList "GSclnjk0zID1ucM3F-xYinOm1oE/cn58Rpu8v8pB4eoJQaiTe11lP" N/A mock_datasets N/A N/A mock Mock N/A N/A N/A mock_datasets list return_value mock_execute N/A mock_bq_service N/A N/A mock Mock N/A N/A N/A mock_bq_service datasets return_value mock_datasets N/A bq N/A N/A client BigQueryClient mock_bq_service project N/A datasets N/A N/A bq get_datasets N/A N/A N/A six assertCountEqual self datasets N/A N/A N/A TestUpdateDataset N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock_bq_service N/A N/A mock Mock N/A N/A self mock_datasets N/A N/A mock Mock N/A N/A N/A N/A self mock_bq_service datasets return_value N/A self mock_datasets N/A N/A self dataset dataset N/A N/A self project project N/A N/A self client N/A N/A client BigQueryClient N/A self mock_bq_service N/A self project N/A N/A self friendly_name friendly name N/A N/A self description description N/A N/A self access N/A N/A userByEmail bob@gmail.com N/A N/A self body N/A datasetReference friendlyName description access N/A datasetId projectId N/A self dataset N/A self project N/A self friendly_name N/A self description N/A self access N/A test_dataset_update_failed N/A N/A self N/A N/A N/A Ensure that if creating the table fails, False is returned. N/A N/A N/A N/A N/A N/A self mock_datasets update return_value execute side_effect N/A HttpError N/A HttpResponse 404 N/A N/A There was an error encode utf8 N/A actual N/A N/A N/A self client update_dataset N/A self dataset friendly_name N/A self friendly_name description N/A self description access N/A self access N/A N/A N/A self assertFalse actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client update_dataset N/A self dataset friendly_name N/A self friendly_name description N/A self description access N/A self access N/A N/A N/A self assertEqual actual N/A N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_datasets update assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_datasets update return_value execute assert_called_with N/A test_dataset_update_success N/A N/A self N/A N/A N/A Ensure that if creating the table fails, False is returned. N/A N/A N/A N/A N/A N/A self mock_datasets update return_value execute side_effect N/A N/A status foo N/A status bar N/A actual N/A N/A N/A self client update_dataset N/A self dataset N/A self friendly_name N/A self description N/A self access N/A N/A N/A self assertTrue actual N/A N/A N/A self client swallow_results False N/A actual N/A N/A N/A self client update_dataset N/A self dataset N/A self friendly_name N/A self description N/A self access N/A N/A N/A self assertEqual actual N/A status bar N/A N/A N/A self client swallow_results True N/A N/A N/A N/A N/A self mock_datasets update assert_called_with projectId N/A self project datasetId N/A self dataset body N/A self body N/A N/A N/A N/A N/A N/A N/A self mock_datasets update return_value execute assert_called_with N/A N/A