Module Import alias ImportFrom alias alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad SubscriptLoad NameLoad Index Num decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr body Expr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Str If AttributeLoad NameLoad attr body AugAssignAdd NameStore Str Expr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Return Assign NameStore BinOpAdd BinOpAdd Str IfExp AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Str Str If AttributeLoad NameLoad attr body If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpAdd BinOpMult Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr orelse Raise Call NameLoad Str AugAssignAdd NameStore Call AttributeLoad Str attr NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Dict Assign NameStore Num For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad ListLoad Str Str Str Str Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr GeneratorExp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num TryExcept body While NameLoad body AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Num Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr If CompareLt NameLoad Num body Return orelse For NameStore Call NameLoad NameLoad body AugAssignAdd AttributeStore NameLoad attr Num While NameLoad body TryExcept body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Break handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Num While NameLoad body If CompareLtE Call NameLoad AttributeLoad NameLoad attr NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Break Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore AttributeLoad NameLoad attr If BoolOpOr CompareLt NameLoad Num CompareIs AttributeLoad NameLoad attr NameLoad CompareLt AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass Return SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareLt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd NameStore NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return IfExp AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Num If CompareEq Call NameLoad NameLoad Num body Return TupleLoad NameLoad NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Return TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If Call NameLoad ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If Call NameLoad ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad orelse If CompareNotEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr NameLoad Str Assign NameStore Call NameLoad If Call NameLoad NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If BoolOpOr NameLoad NameLoad body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TryExcept body Expr SubscriptLoad NameLoad Index Num Raise Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad body Pass TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Raise AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore IfExp Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Return NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Num If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Return NameLoad If CompareLt NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Return NameLoad If CompareLt NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq NameLoad Str AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If NameLoad body Raise Call NameLoad Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad orelse Raise NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Return Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If BinOpSub NameLoad Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr body Return Call NameLoad ListComp CompareIn NameLoad AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot CompareNotEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot Call NameLoad GeneratorExp BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad UnaryOpNot NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If UnaryOpNot AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad body If BoolOpAnd UnaryOpNot Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If AttributeLoad NameLoad attr body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Return ListComp AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr comprehension NameStore NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Return Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index NameLoad orelse Return Lambda arguments args NameParam defaults ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr If CompareEq NameLoad SubscriptLoad NameLoad Index Num body Raise Call NameLoad Str Return TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str If UnaryOpNot NameLoad body Return Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Continue Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareGt Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore BoolOpAnd NameLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Continue If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad If CompareIs NameLoad NameLoad body Continue If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Continue Assign NameStore BoolOpAnd NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If BoolOpAnd BoolOpOr NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assert CompareEq Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad If BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Str Return Call AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore IfExp CompareEq Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore BoolOpAnd NameLoad Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Continue Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body If AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Continue Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIs NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr body Continue Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad GeneratorExp CompareIs NameLoad NameLoad comprehension NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list
N/A N/A copy datetime datetime timedelta functools partial N/A time N/A six warnings warn cassandra.query SimpleStatement cassandra.cqlengine columns CQLEngineException ValidationError UnicodeMixin cassandra.cqlengine connection cassandra.cqlengine.functions Token BaseQueryFunction QueryValue cassandra.cqlengine.operators InOperator EqualsOperator GreaterThanOperator GreaterThanOrEqualOperator LessThanOperator LessThanOrEqualOperator ContainsOperator BaseWhereOperator cassandra.cqlengine.statements WhereClause SelectStatement DeleteStatement UpdateStatement InsertStatement BaseCQLStatement MapDeleteClause ConditionalClause QueryException N/A CQLEngineException N/A N/A N/A IfNotExistsWithCounterColumn N/A CQLEngineException N/A N/A N/A IfExistsWithCounterColumn N/A CQLEngineException N/A N/A N/A LWTException N/A CQLEngineException N/A N/A Lightweight conditional exception.

    This exception will be raised when a write using an `IF` clause could not be
    applied due to existing data violating the condition. The existing data is
    available through the ``existing`` attribute.

    :param existing: The current state of the data which prevented the write.
     __init__ N/A N/A self existing N/A N/A N/A N/A N/A N/A super LWTException self __init__ LWT Query was not applied N/A N/A self existing existing N/A N/A DoesNotExist N/A QueryException N/A N/A N/A MultipleObjectsReturned N/A QueryException N/A N/A N/A check_applied N/A N/A result N/A N/A N/A 
    Raises LWTException if it looks like a failed LWT request.
     N/A N/A N/A applied N/A result was_applied N/A N/A N/A Exception N/A N/A applied True N/A N/A applied N/A N/A N/A LWTException N/A result N/A 0 N/A AbstractQueryableColumn N/A UnicodeMixin N/A N/A 
    exposes cql query operators through pythons
    builtin comparator symbols
     _get_column N/A N/A self N/A N/A N/A NotImplementedError N/A __unicode__ N/A N/A self N/A N/A N/A NotImplementedError N/A _to_database N/A N/A self val N/A N/A N/A N/A isinstance val QueryValue N/A N/A val N/A N/A N/A N/A N/A N/A self _get_column to_database val N/A in_ N/A N/A self item N/A N/A N/A 
        Returns an in operator

        used where you'd typically want to use python's `in` operator
         N/A N/A WhereClause N/A N/A six text_type self N/A InOperator item N/A contains_ N/A N/A self item N/A N/A N/A 
        Returns a CONTAINS operator
         N/A N/A WhereClause N/A N/A six text_type self N/A ContainsOperator item N/A __eq__ N/A N/A self other N/A N/A N/A N/A WhereClause N/A N/A six text_type self N/A EqualsOperator N/A N/A self _to_database other N/A __gt__ N/A N/A self other N/A N/A N/A N/A WhereClause N/A N/A six text_type self N/A GreaterThanOperator N/A N/A self _to_database other N/A __ge__ N/A N/A self other N/A N/A N/A N/A WhereClause N/A N/A six text_type self N/A GreaterThanOrEqualOperator N/A N/A self _to_database other N/A __lt__ N/A N/A self other N/A N/A N/A N/A WhereClause N/A N/A six text_type self N/A LessThanOperator N/A N/A self _to_database other N/A __le__ N/A N/A self other N/A N/A N/A N/A WhereClause N/A N/A six text_type self N/A LessThanOrEqualOperator N/A N/A self _to_database other N/A N/A BatchType N/A object N/A N/A Unlogged UNLOGGED N/A Counter COUNTER N/A BatchQuery N/A object N/A N/A 
    Handles the batching of queries

    http://www.datastax.com/docs/1.2/cql_cli/cql/BATCH
     N/A warn_multiple_exec True N/A _consistency None __init__ N/A N/A self batch_type timestamp consistency execute_on_exception timeout N/A None None None False N/A connection NOT_SET N/A N/A 
        :param batch_type: (optional) One of batch type values available through BatchType enum
        :type batch_type: str or None
        :param timestamp: (optional) A datetime or timedelta object with desired timestamp to be applied
            to the batch conditional.
        :type timestamp: datetime or timedelta or None
        :param consistency: (optional) One of consistency values ("ANY", "ONE", "QUORUM" etc)
        :type consistency: The :class:`.ConsistencyLevel` to be used for the batch query, or None.
        :param execute_on_exception: (Defaults to False) Indicates that when the BatchQuery instance is used
            as a context manager the queries accumulated within the context must be executed despite
            encountering an error within the context. By default, any exception raised from within
            the context scope will cause the batched queries not to be executed.
        :type execute_on_exception: bool
        :param timeout: (optional) Timeout for the entire batch (in seconds), if not specified fallback
            to default session timeout
        :type timeout: float or None
         N/A N/A self queries N/A N/A N/A self batch_type batch_type N/A N/A N/A timestamp None N/A N/A isinstance timestamp N/A datetime timedelta N/A N/A N/A CQLEngineException timestamp object must be an instance of datetime N/A N/A self timestamp timestamp N/A N/A self _consistency consistency N/A N/A self _execute_on_exception execute_on_exception N/A N/A self _timeout timeout N/A N/A self _callbacks N/A N/A N/A self _executed False N/A N/A self _context_entered False N/A add_query N/A N/A self query N/A N/A N/A N/A N/A isinstance query BaseCQLStatement N/A N/A N/A CQLEngineException only BaseCQLStatements can be added to a batch query N/A N/A N/A N/A self queries append query N/A consistency N/A N/A self consistency N/A N/A N/A N/A self _consistency consistency N/A _execute_callbacks N/A N/A self N/A N/A N/A N/A callback args kwargs N/A self _callbacks N/A N/A N/A callback args kwargs N/A add_callback N/A N/A self fn N/A args kwargs N/A N/A Add a function and arguments to be passed to it to be executed after the batch executes.

        A batch can support multiple callbacks.

        Note, that if the batch does not execute, the callbacks are not executed.
        A callback, thus, is an "on batch success" handler.

        :param fn: Callable object
        :type fn: callable
        :param *args: Positional arguments to be passed to the callback at the time of execution
        :param **kwargs: Named arguments to be passed to the callback at the time of execution
         N/A N/A N/A callable fn N/A N/A N/A ValueError N/A N/A Value for argument 'fn' is {0} and is not a callable object. format N/A type fn N/A N/A N/A N/A self _callbacks append N/A fn args kwargs N/A execute N/A N/A self N/A N/A N/A N/A N/A self _executed N/A self warn_multiple_exec N/A N/A msg Batch executed multiple times. N/A N/A self _context_entered N/A N/A msg  If using the batch as a context manager, there is no need to call execute directly. N/A N/A warn msg N/A N/A self _executed True N/A N/A N/A len N/A self queries 0 N/A N/A N/A N/A self _execute_callbacks N/A N/A opener N/A N/A BEGIN  N/A N/A self batch_type N/A N/A self batch_type  BATCH N/A N/A self timestamp N/A N/A N/A isinstance N/A self timestamp N/A six integer_types N/A N/A ts N/A self timestamp N/A N/A N/A isinstance N/A self timestamp N/A datetime timedelta N/A N/A ts N/A self timestamp N/A N/A isinstance N/A self timestamp timedelta N/A N/A ts N/A N/A datetime now N/A ts N/A int N/A N/A N/A N/A time mktime N/A N/A ts timetuple 1000000.0 N/A ts microsecond N/A N/A N/A ValueError Batch expects a long, a timedelta, or a datetime N/A opener N/A N/A  USING TIMESTAMP {0} format ts N/A query_list N/A opener N/A parameters N/A N/A ctx_counter 0 N/A query N/A self queries N/A N/A N/A N/A query update_context_id ctx_counter N/A ctx N/A N/A query get_context N/A ctx_counter N/A len ctx N/A N/A N/A query_list append N/A N/A str query N/A N/A N/A parameters update ctx N/A N/A N/A query_list append APPLY BATCH; N/A tmp N/A N/A connection execute N/A N/A join query_list parameters N/A self _consistency N/A self _timeout N/A N/A check_applied tmp N/A N/A self queries N/A N/A N/A N/A self _execute_callbacks N/A __enter__ N/A N/A self N/A N/A N/A N/A self _context_entered True N/A self N/A __exit__ N/A N/A self exc_type exc_val exc_tb N/A N/A N/A N/A N/A exc_type None N/A N/A self _execute_on_exception N/A N/A N/A N/A N/A self execute N/A N/A AbstractQuerySet N/A object N/A __init__ N/A N/A self model N/A N/A N/A N/A N/A N/A super AbstractQuerySet self __init__ N/A N/A self model model N/A N/A self _where N/A N/A N/A self _conditional N/A N/A N/A self _order N/A N/A N/A self _allow_filtering False N/A N/A self _limit 10000 N/A N/A self _defer_fields N/A set N/A N/A self _deferred_values N/A N/A N/A self _only_fields N/A N/A N/A self _values_list False N/A N/A self _flat_values_list False N/A N/A self _result_cache None N/A N/A self _result_idx None N/A N/A self _result_generator None N/A N/A self _materialize_results True N/A N/A self _distinct_fields None N/A N/A self _count None N/A N/A self _batch None N/A N/A self _ttl N/A getattr model __default_ttl__ None N/A N/A self _consistency None N/A N/A self _timestamp None N/A N/A self _if_not_exists False N/A N/A self _timeout N/A connection NOT_SET N/A N/A self _if_exists False N/A N/A self _fetch_size None N/A column_family_name N/A N/A self N/A N/A N/A N/A N/A N/A self model column_family_name N/A property _execute N/A N/A self statement N/A N/A N/A N/A self _batch N/A N/A N/A N/A N/A self _batch add_query statement N/A N/A result N/A _execute_statement N/A self model statement N/A self _consistency N/A self _timeout N/A N/A N/A self _if_not_exists N/A self _if_exists N/A self _conditional N/A N/A N/A check_applied result N/A result N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A six text_type N/A N/A self _select_query N/A __str__ N/A N/A self N/A N/A N/A N/A str N/A N/A self __unicode__ N/A __call__ N/A N/A self N/A args kwargs N/A N/A N/A N/A self filter args kwargs N/A __deepcopy__ N/A N/A self memo N/A N/A N/A clone N/A N/A self __class__ N/A self model N/A N/A k v N/A N/A N/A self __dict__ items N/A N/A N/A k N/A _con _cur _result_cache _result_idx _result_generator N/A N/A N/A N/A clone __dict__ N/A k None N/A N/A N/A k _batch N/A N/A N/A N/A clone __dict__ N/A k N/A self _batch N/A N/A N/A k _timeout N/A N/A N/A N/A clone __dict__ N/A k N/A self _timeout N/A N/A N/A N/A clone __dict__ N/A k N/A N/A copy deepcopy v memo N/A clone N/A __len__ N/A N/A self N/A N/A N/A N/A N/A self _execute_query N/A N/A N/A self count N/A _select_fields N/A N/A self N/A N/A N/A  returns the fields to select  N/A N/A N/A _validate_select_where N/A N/A self N/A N/A N/A  put select query validation here  N/A _select_query N/A N/A self N/A N/A N/A 
        Returns a select clause based on the given filter args
         N/A N/A self _where N/A N/A N/A N/A self _validate_select_where N/A N/A SelectStatement N/A self column_family_name fields N/A N/A self _select_fields where N/A self _where order_by N/A self _order limit N/A self _limit allow_filtering N/A self _allow_filtering distinct_fields N/A self _distinct_fields fetch_size N/A self _fetch_size N/A _execute_query N/A N/A self N/A N/A N/A N/A self _batch N/A N/A N/A CQLEngineException Only inserts, updates, and deletes are available in batch mode N/A N/A N/A self _result_cache None N/A N/A N/A self _result_generator N/A i N/A i N/A N/A self _execute N/A N/A self _select_query N/A N/A self _result_cache N/A N/A N/A self _construct_result N/A N/A self _maybe_inject_deferred N/A N/A self _get_result_constructor N/A N/A N/A self _materialize_results N/A self _distinct_fields N/A N/A N/A N/A self _fill_result_cache N/A _fill_result_cache N/A N/A self N/A N/A N/A 
        Fill the result cache with all results.
         N/A idx 0 N/A N/A N/A True N/A N/A idx 1000 N/A N/A N/A self _fill_result_cache_to_idx idx N/A N/A N/A StopIteration N/A N/A N/A N/A self _count N/A len N/A self _result_cache N/A _fill_result_cache_to_idx N/A N/A self idx N/A N/A N/A N/A N/A self _execute_query N/A N/A N/A self _result_idx None N/A N/A N/A self _result_idx -1 N/A qty N/A idx N/A self _result_idx N/A N/A qty 1 N/A N/A N/A N/A idx N/A range qty N/A N/A N/A self _result_idx 1 N/A True N/A N/A N/A N/A N/A N/A self _result_cache N/A N/A self _result_idx N/A N/A self _construct_result N/A N/A self _result_cache N/A N/A self _result_idx N/A N/A N/A N/A IndexError N/A N/A N/A N/A N/A self _result_cache append N/A next N/A self _result_generator N/A __iter__ N/A N/A self N/A N/A N/A N/A N/A self _execute_query N/A idx 0 N/A True N/A N/A N/A N/A len N/A self _result_cache idx N/A N/A N/A N/A N/A N/A N/A self _result_cache append N/A next N/A self _result_generator N/A N/A N/A StopIteration N/A N/A N/A instance N/A N/A self _result_cache N/A idx N/A N/A isinstance instance dict N/A N/A N/A N/A self _fill_result_cache_to_idx idx N/A N/A N/A N/A self _result_cache N/A idx N/A idx 1 N/A __getitem__ N/A N/A self s N/A N/A N/A N/A N/A self _execute_query N/A N/A isinstance s slice N/A N/A start N/A N/A s start N/A s start 0 N/A end N/A s stop N/A N/A N/A start 0 N/A N/A s stop None N/A N/A s stop 0 N/A N/A end N/A N/A self count N/A N/A N/A N/A N/A self _fill_result_cache_to_idx end N/A N/A N/A StopIteration N/A N/A N/A N/A N/A self _result_cache N/A start N/A s stop N/A s step N/A N/A N/A N/A s N/A int s N/A N/A N/A N/A ValueError TypeError N/A N/A N/A TypeError QuerySet indices must be integers N/A N/A s 0 N/A N/A num_results N/A N/A self count N/A s num_results N/A N/A N/A N/A N/A self _fill_result_cache_to_idx s N/A N/A N/A StopIteration N/A N/A IndexError N/A N/A N/A self _result_cache N/A s N/A _get_result_constructor N/A N/A self N/A N/A N/A 
        Returns a function that will be used to instantiate query results
         N/A NotImplementedError N/A _construct_with_deferred N/A N/A f deferred row N/A N/A N/A N/A N/A row update deferred N/A N/A f row N/A staticmethod _maybe_inject_deferred N/A N/A self constructor N/A N/A N/A N/A N/A self _deferred_values N/A partial N/A self _construct_with_deferred constructor N/A self _deferred_values constructor N/A batch N/A N/A self batch_obj N/A N/A N/A 
        Set a batch object to run the query on.

        Note: running a select query with a batch object will raise an exception
         N/A N/A N/A batch_obj None N/A N/A isinstance batch_obj BatchQuery N/A N/A N/A CQLEngineException batch_obj must be a BatchQuery instance or None N/A clone N/A N/A copy deepcopy self N/A N/A clone _batch batch_obj N/A clone N/A first N/A N/A self N/A N/A N/A N/A N/A N/A N/A six next N/A iter self N/A N/A N/A StopIteration N/A N/A None N/A all N/A N/A self N/A N/A N/A 
        Returns a queryset matching all rows

        .. code-block:: python

            for user in User.objects().all():
                print(user)
         N/A N/A N/A copy deepcopy self N/A consistency N/A N/A self consistency N/A N/A N/A 
        Sets the consistency level for the operation. See :class:`.ConsistencyLevel`.

        .. code-block:: python

            for user in User.objects(id=3).consistency(CL.ONE):
                print(user)
         N/A clone N/A N/A copy deepcopy self N/A N/A clone _consistency consistency N/A clone N/A _parse_filter_arg N/A N/A self arg N/A N/A N/A 
        Parses a filter arg in the format:
        <colname>__<op>
        :returns: colname, op tuple
         N/A statement N/A N/A arg rsplit __ 1 N/A N/A N/A len statement 1 N/A N/A N/A arg None N/A N/A N/A N/A len statement 2 N/A N/A N/A N/A statement N/A 0 N/A statement N/A 1 N/A N/A N/A QueryException N/A N/A Can't parse '{0}' format arg N/A iff N/A N/A self N/A args kwargs N/A N/A Adds IF statements to queryset N/A N/A len N/A x N/A x N/A N/A kwargs values N/A x None N/A N/A N/A CQLEngineException None values on iff are not allowed N/A clone N/A N/A copy deepcopy self N/A operator args N/A N/A N/A N/A isinstance operator ConditionalClause N/A N/A N/A QueryException N/A N/A {0} is not a valid query operator format operator N/A N/A N/A N/A clone _conditional append operator N/A N/A arg val N/A N/A kwargs items N/A N/A N/A isinstance val Token N/A N/A N/A QueryException Token() values are not valid in conditionals N/A N/A col_name col_op N/A N/A self _parse_filter_arg arg N/A N/A N/A column N/A N/A N/A self model _get_column col_name N/A N/A N/A KeyError N/A N/A N/A QueryException N/A N/A Can't resolve column name: '{0}' format col_name N/A N/A isinstance val BaseQueryFunction N/A N/A query_val val N/A N/A query_val N/A N/A column to_database val N/A operator_class N/A N/A BaseWhereOperator get_operator N/A col_op EQ N/A operator N/A operator_class N/A N/A N/A N/A clone _conditional append N/A WhereClause N/A column db_field_name operator query_val N/A clone N/A filter N/A N/A self N/A args kwargs N/A N/A 
        Adds WHERE arguments to the queryset, returning a new queryset

        See :ref:`retrieving-objects-with-filters`

        Returns a QuerySet filtered on the keyword arguments
         N/A N/A len N/A x N/A x N/A N/A kwargs values N/A x None N/A N/A N/A CQLEngineException None values on filter are not allowed N/A clone N/A N/A copy deepcopy self N/A operator args N/A N/A N/A N/A isinstance operator WhereClause N/A N/A N/A QueryException N/A N/A {0} is not a valid query operator format operator N/A N/A N/A N/A clone _where append operator N/A N/A arg val N/A N/A kwargs items N/A N/A N/A col_name col_op N/A N/A self _parse_filter_arg arg N/A quote_field True N/A N/A N/A isinstance val Token N/A N/A N/A N/A column N/A N/A N/A self model _get_column col_name N/A N/A N/A KeyError N/A N/A N/A QueryException N/A N/A Can't resolve column name: '{0}' format col_name N/A N/A N/A col_name pk__token N/A N/A N/A QueryException Token() values may only be compared to the 'pk__token' virtual column N/A column N/A N/A columns _PartitionKeysToken N/A self model N/A quote_field False N/A partition_columns N/A column partition_columns N/A N/A N/A len partition_columns N/A len N/A val value N/A N/A N/A QueryException N/A N/A Token() received {0} arguments but model has {1} partition keys format N/A len N/A val value N/A len partition_columns N/A N/A N/A val set_columns partition_columns N/A operator_class N/A N/A BaseWhereOperator get_operator N/A col_op EQ N/A operator N/A operator_class N/A N/A isinstance operator InOperator N/A N/A N/A N/A isinstance val N/A list tuple N/A N/A N/A QueryException IN queries must use a list/tuple value N/A query_val N/A N/A N/A column to_database v N/A v val N/A N/A N/A isinstance val BaseQueryFunction N/A N/A query_val val N/A N/A N/A N/A isinstance operator ContainsOperator N/A isinstance column N/A N/A columns List N/A columns Set N/A columns Map N/A N/A query_val val N/A N/A query_val N/A N/A column to_database val N/A N/A col_op N/A N/A N/A N/A N/A clone _defer_fields add col_name N/A N/A N/A clone _deferred_values N/A N/A column db_field_name val N/A N/A N/A N/A clone _where append N/A WhereClause N/A column db_field_name operator query_val quote_field quote_field N/A clone N/A get N/A N/A self N/A args kwargs N/A N/A 
        Returns a single instance matching this query, optionally with additional filter kwargs.

        See :ref:`retrieving-objects-with-filters`

        Returns a single object matching the QuerySet.

        .. code-block:: python

            user = User.get(id=1)

        If no objects are matched, a :class:`~.DoesNotExist` exception is raised.

        If more than one object is found, a :class:`~.MultipleObjectsReturned` exception is raised.
         N/A N/A args kwargs N/A N/A N/A N/A N/A N/A self filter args kwargs get N/A N/A N/A self _execute_query N/A N/A N/A N/A self N/A 1 N/A N/A N/A N/A self model MultipleObjectsReturned Multiple objects found N/A N/A N/A IndexError N/A N/A N/A N/A N/A obj N/A self N/A 0 N/A N/A N/A IndexError N/A N/A N/A N/A self model DoesNotExist N/A obj N/A _get_ordering_condition N/A N/A self colname N/A N/A N/A order_type N/A N/A N/A colname startswith - DESC ASC N/A colname N/A N/A colname replace - N/A N/A colname order_type N/A order_by N/A N/A self N/A colnames N/A N/A 
        Sets the column(s) to be used for ordering

        Default order is ascending, prepend a '-' to any column name for descending

        *Note: column names must be a clustering key*

        .. code-block:: python

            from uuid import uuid1,uuid4

            class Comment(Model):
                photo_id = UUID(primary_key=True)
                comment_id = TimeUUID(primary_key=True, default=uuid1) # second primary key component is a clustering key
                comment = Text()

            sync_table(Comment)

            u = uuid4()
            for x in range(5):
                Comment.create(photo_id=u, comment="test %d" % x)

            print("Normal")
            for comment in Comment.objects(photo_id=u):
                print comment.comment_id

            print("Reversed")
            for comment in Comment.objects(photo_id=u).order_by("-comment_id"):
                print comment.comment_id
         N/A N/A N/A len colnames 0 N/A N/A clone N/A N/A copy deepcopy self N/A N/A clone _order N/A N/A clone N/A conditions N/A N/A colname colnames N/A N/A N/A N/A conditions append N/A N/A "{0}" {1} format N/A N/A self _get_ordering_condition colname N/A clone N/A N/A copy deepcopy self N/A N/A N/A N/A clone _order extend conditions N/A clone N/A count N/A N/A self N/A N/A N/A 
        Returns the number of rows matched by this query.

        *Note: This function executes a SELECT COUNT() and has a performance cost on large datasets*
         N/A N/A self _batch N/A N/A N/A CQLEngineException Only inserts, updates, and deletes are available in batch mode N/A N/A N/A self _count None N/A N/A query N/A N/A self _select_query N/A N/A query count True N/A result N/A N/A self _execute query N/A count_row N/A N/A N/A result N/A 0 popitem N/A N/A self _count N/A count_row N/A 1 N/A N/A self _count N/A distinct N/A N/A self distinct_fields N/A None N/A N/A 
        Returns the DISTINCT rows matched by this query.

        distinct_fields default to the partition key fields if not specified.

        *Note: distinct_fields must be a partition key or a static column*

        .. code-block:: python

            class Automobile(Model):
                manufacturer = columns.Text(partition_key=True)
                year = columns.Integer(primary_key=True)
                model = columns.Text(primary_key=True)
                price = columns.Decimal()

            sync_table(Automobile)

            # create rows

            Automobile.objects.distinct()

            # or

            Automobile.objects.distinct(['manufacturer'])

         N/A clone N/A N/A copy deepcopy self N/A distinct_fields N/A N/A N/A clone _distinct_fields distinct_fields N/A N/A N/A clone _distinct_fields N/A N/A x column_name N/A x N/A N/A N/A N/A self model _partition_keys values N/A clone N/A limit N/A N/A self v N/A N/A N/A 
        Limits the number of results returned by Cassandra. Use *0* or *None* to disable.

        *Note that CQL's default limit is 10,000, so all queries without a limit set explicitly will have an implicit limit of 10,000*

        .. code-block:: python

            # Fetch 100 users
            for user in User.objects().limit(100):
                print(user)

            # Fetch all users
            for user in User.objects().limit(None):
                print(user)
         N/A N/A v None N/A N/A v 0 N/A N/A N/A isinstance v N/A six integer_types N/A N/A TypeError N/A N/A v N/A self _limit N/A N/A self N/A N/A v 0 N/A N/A N/A QueryException Negative limit is not allowed N/A clone N/A N/A copy deepcopy self N/A N/A clone _limit v N/A clone N/A fetch_size N/A N/A self v N/A N/A N/A 
        Sets the number of rows that are fetched at a time.

        *Note that driver's default fetch size is 5000.*

        .. code-block:: python

            for user in User.objects().fetch_size(500):
                print(user)
         N/A N/A N/A isinstance v N/A six integer_types N/A N/A TypeError N/A N/A v N/A self _fetch_size N/A N/A self N/A N/A v 1 N/A N/A N/A QueryException fetch size less than 1 is not allowed N/A clone N/A N/A copy deepcopy self N/A N/A clone _fetch_size v N/A clone N/A allow_filtering N/A N/A self N/A N/A N/A 
        Enables the (usually) unwise practive of querying on a clustering key without also defining a partition key
         N/A clone N/A N/A copy deepcopy self N/A N/A clone _allow_filtering True N/A clone N/A _only_or_defer N/A N/A self action fields N/A N/A N/A N/A N/A action only N/A self _only_fields N/A N/A N/A QueryException QuerySet already has 'only' fields defined N/A clone N/A N/A copy deepcopy self N/A missing_fields N/A f N/A f fields N/A f N/A N/A N/A N/A self model _columns keys N/A missing_fields N/A N/A N/A QueryException N/A N/A Can't resolve fields {0} in {1} format N/A N/A ,  join missing_fields N/A N/A self model __name__ N/A N/A action defer N/A N/A N/A N/A N/A clone _defer_fields update fields N/A N/A N/A action only N/A N/A N/A clone _only_fields fields N/A N/A ValueError N/A clone N/A only N/A N/A self fields N/A N/A N/A  Load only these fields for the returned query  N/A N/A N/A self _only_or_defer only fields N/A defer N/A N/A self fields N/A N/A N/A  Don't load these fields for the returned query  N/A N/A N/A self _only_or_defer defer fields N/A create N/A N/A self N/A kwargs N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self model kwargs batch N/A self _batch ttl N/A self _ttl consistency N/A self _consistency if_not_exists N/A self _if_not_exists timestamp N/A self _timestamp if_exists N/A self _if_exists save N/A delete N/A N/A self N/A N/A N/A 
        Deletes the contents of a query
         N/A partition_keys N/A set N/A N/A x db_field_name N/A x N/A N/A N/A N/A self model _partition_keys values N/A N/A partition_keys N/A set N/A N/A c field N/A c N/A self _where N/A N/A N/A QueryException The partition key must be defined on delete queries N/A dq N/A DeleteStatement N/A self column_family_name where N/A self _where timestamp N/A self _timestamp conditionals N/A self _conditional if_exists N/A self _if_exists N/A N/A N/A self _execute dq N/A __eq__ N/A N/A self q N/A N/A N/A N/A N/A len N/A self _where N/A len N/A q _where N/A N/A N/A all N/A N/A w N/A q _where N/A w N/A self _where N/A False N/A __ne__ N/A N/A self q N/A N/A N/A N/A N/A self q N/A timeout N/A N/A self timeout N/A N/A N/A 
        :param timeout: Timeout for the query (in seconds)
        :type timeout: float or None
         N/A clone N/A N/A copy deepcopy self N/A N/A clone _timeout timeout N/A clone N/A N/A ResultObject N/A dict N/A N/A 
    adds attribute access to a dictionary
     __getattr__ N/A N/A self item N/A N/A N/A N/A N/A N/A self N/A item N/A N/A N/A KeyError N/A N/A AttributeError N/A N/A SimpleQuerySet N/A AbstractQuerySet N/A N/A 
    Overrides _get_result_constructor for querysets that do not define a model (e.g. NamedTable queries)
     _get_result_constructor N/A N/A self N/A N/A N/A 
        Returns a function that will be used to instantiate query results
         N/A ResultObject N/A N/A ModelQuerySet N/A AbstractQuerySet N/A N/A _validate_select_where N/A N/A self N/A N/A N/A  Checks that a filterset will not create invalid select statement  N/A equal_ops N/A N/A N/A N/A self model _get_column_by_db_name N/A w field N/A w N/A self _where N/A isinstance N/A w operator EqualsOperator N/A token_comparison N/A any N/A w N/A w N/A self _where N/A isinstance N/A w value Token N/A N/A N/A N/A any N/A N/A N/A w primary_key N/A w index N/A w equal_ops N/A token_comparison N/A N/A self _allow_filtering N/A N/A N/A QueryException Where clauses require either  =, a IN or a CONTAINS (collection) comparison with either a primary key or indexed field N/A N/A N/A self _allow_filtering N/A N/A N/A N/A any N/A N/A w index N/A w equal_ops N/A N/A N/A N/A N/A any N/A N/A w partition_key N/A w equal_ops N/A token_comparison N/A N/A N/A QueryException Filtering on a clustering key without a partition key is not allowed unless allow_filtering() is called on the querset N/A _select_fields N/A N/A self N/A N/A N/A N/A N/A self _defer_fields N/A self _only_fields N/A N/A fields N/A N/A N/A N/A self model _columns keys N/A N/A self _defer_fields N/A N/A fields N/A f N/A f fields N/A f N/A self _defer_fields N/A N/A N/A self _only_fields N/A N/A fields N/A self _only_fields N/A N/A N/A N/A N/A N/A self model _columns N/A f db_field_name N/A f fields N/A N/A N/A N/A super ModelQuerySet self _select_fields N/A _get_result_constructor N/A N/A self N/A N/A N/A  Returns a function that will be used to instantiate query results  N/A N/A N/A self _values_list N/A N/A N/A N/A self model _construct_instance N/A N/A N/A self _flat_values_list N/A N/A key N/A N/A self _only_fields N/A 0 N/A N/A N/A N/A row N/A N/A row N/A key N/A N/A N/A N/A N/A row N/A N/A N/A row N/A f N/A f N/A self _only_fields N/A _get_ordering_condition N/A N/A self colname N/A N/A N/A N/A colname order_type N/A N/A N/A super ModelQuerySet self _get_ordering_condition colname N/A column N/A N/A N/A N/A self model _columns get colname N/A N/A column None N/A N/A N/A QueryException N/A N/A Can't resolve the column name: '{0}' format colname N/A N/A N/A column primary_key N/A N/A N/A QueryException N/A N/A Can't order on '{0}', can only order on (clustered) primary keys format colname N/A pks N/A v N/A N/A k v N/A N/A N/A N/A self model _columns items N/A v primary_key N/A N/A column N/A pks N/A 0 N/A N/A N/A QueryException Can't order by the first primary key (partition key), clustering (secondary) keys only N/A N/A N/A column db_field_name order_type N/A values_list N/A N/A self N/A fields kwargs N/A N/A  Instructs the query set to return tuples, not model instance  N/A flat N/A N/A kwargs pop flat False N/A kwargs N/A N/A N/A TypeError N/A Unexpected keyword arguments to values_list: %s N/A N/A N/A kwargs keys N/A N/A flat N/A N/A len fields 1 N/A N/A N/A TypeError 'flat' is not valid when values_list is called with more than one field. N/A clone N/A N/A self only fields N/A N/A clone _values_list True N/A N/A clone _flat_values_list flat N/A clone N/A ttl N/A N/A self ttl N/A N/A N/A 
        Sets the ttl (in seconds) for modified data.

        *Note that running a select query with a ttl value will raise an exception*
         N/A clone N/A N/A copy deepcopy self N/A N/A clone _ttl ttl N/A clone N/A timestamp N/A N/A self timestamp N/A N/A N/A 
        Allows for custom timestamps to be saved with the record.
         N/A clone N/A N/A copy deepcopy self N/A N/A clone _timestamp timestamp N/A clone N/A if_not_exists N/A N/A self N/A N/A N/A 
        Check the existence of an object before insertion.

        If the insertion isn't applied, a LWTException is raised.
         N/A N/A N/A self model _has_counter N/A N/A N/A IfNotExistsWithCounterColumn if_not_exists cannot be used with tables containing counter columns N/A clone N/A N/A copy deepcopy self N/A N/A clone _if_not_exists True N/A clone N/A if_exists N/A N/A self N/A N/A N/A 
        Check the existence of an object before an update or delete.

        If the update or delete isn't applied, a LWTException is raised.
         N/A N/A N/A self model _has_counter N/A N/A N/A IfExistsWithCounterColumn if_exists cannot be used with tables containing counter columns N/A clone N/A N/A copy deepcopy self N/A N/A clone _if_exists True N/A clone N/A update N/A N/A self N/A values N/A N/A 
        Performs an update on the row selected by the queryset. Include values to update in the
        update like so:

        .. code-block:: python

            Model.objects(key=n).update(value='x')

        Passing in updates for columns which are not part of the model will raise a ValidationError.

        Per column validation will be performed, but instance level validation will not
        (i.e., `Model.validate` is not called).  This is sometimes referred to as a blind update.

        For example:

        .. code-block:: python

            class User(Model):
                id = Integer(primary_key=True)
                name = Text()

            setup(["localhost"], "test")
            sync_table(User)

            u = User.create(id=1, name="jon")

            User.objects(id=1).update(name="Steve")

            # sets name to null
            User.objects(id=1).update(name=None)


        Also supported is blindly adding and removing elements from container columns,
        without loading a model instance from Cassandra.

        Using the syntax `.update(column_name={x, y, z})` will overwrite the contents of the container, like updating a
        non container column. However, adding `__<operation>` to the end of the keyword arg, makes the update call add
        or remove items from the collection, without overwriting then entire column.

        Given the model below, here are the operations that can be performed on the different container columns:

        .. code-block:: python

            class Row(Model):
                row_id      = columns.Integer(primary_key=True)
                set_column  = columns.Set(Integer)
                list_column = columns.List(Integer)
                map_column  = columns.Map(Integer, Integer)

        :class:`~cqlengine.columns.Set`

        - `add`: adds the elements of the given set to the column
        - `remove`: removes the elements of the given set to the column


        .. code-block:: python

            # add elements to a set
            Row.objects(row_id=5).update(set_column__add={6})

            # remove elements to a set
            Row.objects(row_id=5).update(set_column__remove={4})

        :class:`~cqlengine.columns.List`

        - `append`: appends the elements of the given list to the end of the column
        - `prepend`: prepends the elements of the given list to the beginning of the column

        .. code-block:: python

            # append items to a list
            Row.objects(row_id=5).update(list_column__append=[6, 7])

            # prepend items to a list
            Row.objects(row_id=5).update(list_column__prepend=[1, 2])


        :class:`~cqlengine.columns.Map`

        - `update`: adds the given keys/values to the columns, creating new entries if they didn't exist, and overwriting old ones if they did

        .. code-block:: python

            # add items to a map
            Row.objects(row_id=5).update(map_column__update={1: 2, 3: 4})
         N/A N/A values N/A N/A N/A nulled_columns N/A set N/A us N/A UpdateStatement N/A self column_family_name where N/A self _where ttl N/A self _ttl timestamp N/A self _timestamp conditionals N/A self _conditional if_exists N/A self _if_exists N/A N/A name val N/A N/A values items N/A N/A N/A col_name col_op N/A N/A self _parse_filter_arg name N/A col N/A N/A N/A N/A self model _columns get col_name N/A N/A col None N/A N/A N/A ValidationError N/A N/A {0}.{1} has no column named: {2} format N/A self __module__ N/A N/A self model __name__ col_name N/A N/A col is_primary_key N/A N/A N/A ValidationError N/A N/A Cannot apply update to primary key '{0}' for {1}.{2} format col_name N/A self __module__ N/A N/A self model __name__ N/A val N/A N/A col validate val N/A N/A val None N/A N/A N/A N/A nulled_columns add col_name N/A N/A N/A N/A us add_update col val operation col_op N/A N/A us assignments N/A N/A N/A N/A self _execute us N/A nulled_columns N/A N/A ds N/A DeleteStatement N/A self column_family_name fields nulled_columns where N/A self _where conditionals N/A self _conditional if_exists N/A self _if_exists N/A N/A N/A self _execute ds N/A N/A DMLQuery N/A object N/A N/A 
    A query object used for queries performing inserts, updates, or deletes

    this is usually instantiated by the model instance to be modified

    unlike the read query object, this is mutable
     N/A _ttl None N/A _consistency None N/A _timestamp None N/A _if_not_exists False N/A _if_exists False __init__ N/A N/A self model instance batch ttl consistency timestamp if_not_exists conditional timeout if_exists N/A None None None None None False None N/A connection NOT_SET False N/A N/A N/A self model model N/A N/A self column_family_name N/A N/A N/A self model column_family_name N/A N/A self instance instance N/A N/A self _batch batch N/A N/A self _ttl ttl N/A N/A self _consistency consistency N/A N/A self _timestamp timestamp N/A N/A self _if_not_exists if_not_exists N/A N/A self _if_exists if_exists N/A N/A self _conditional conditional N/A N/A self _timeout timeout N/A _execute N/A N/A self statement N/A N/A N/A N/A self _batch N/A N/A N/A N/A N/A self _batch add_query statement N/A N/A results N/A _execute_statement N/A self model statement N/A self _consistency N/A self _timeout N/A N/A N/A self _if_not_exists N/A self _if_exists N/A self _conditional N/A N/A N/A check_applied results N/A results N/A batch N/A N/A self batch_obj N/A N/A N/A N/A N/A batch_obj None N/A N/A isinstance batch_obj BatchQuery N/A N/A N/A CQLEngineException batch_obj must be a BatchQuery instance or None N/A N/A self _batch batch_obj N/A self N/A _delete_null_columns N/A N/A self N/A N/A N/A 
        executes a delete query to remove columns that have changed to null
         N/A ds N/A DeleteStatement N/A self column_family_name conditionals N/A self _conditional if_exists N/A self _if_exists N/A deleted_fields False N/A N/A _ v N/A N/A N/A N/A self instance _values items N/A N/A col N/A v column N/A N/A v deleted N/A N/A N/A N/A ds add_field N/A col db_field_name N/A deleted_fields True N/A N/A N/A isinstance col N/A columns Map N/A N/A uc N/A MapDeleteClause N/A col db_field_name N/A v value N/A v previous_value N/A N/A N/A N/A uc get_context_size 0 N/A N/A N/A N/A ds add_field uc N/A deleted_fields True N/A deleted_fields N/A N/A N/A name col N/A N/A N/A N/A self model _primary_keys items N/A N/A N/A N/A ds add_where col N/A EqualsOperator N/A getattr N/A self instance name N/A N/A N/A self _execute ds N/A update N/A N/A self N/A N/A N/A 
        updates a row.
        This is a blind update call.
        All validation and cleaning needs to happen
        prior to calling this.
         N/A N/A N/A self instance None N/A N/A N/A CQLEngineException DML Query intance attribute is None N/A N/A N/A type N/A self instance N/A self model N/A null_clustering_key N/A N/A N/A len N/A N/A self instance _clustering_keys 0 False True N/A static_changed_only True N/A statement N/A UpdateStatement N/A self column_family_name ttl N/A self _ttl timestamp N/A self _timestamp conditionals N/A self _conditional if_exists N/A self _if_exists N/A N/A name col N/A N/A N/A N/A self instance _clustering_keys items N/A N/A null_clustering_key N/A null_clustering_key N/A N/A col _val_is_null N/A getattr N/A self instance name None N/A N/A name col N/A N/A N/A N/A self model _columns items N/A N/A N/A null_clustering_key N/A N/A col static N/A N/A col partition_key N/A N/A N/A N/A N/A col is_primary_key N/A N/A val N/A getattr N/A self instance name None N/A val_mgr N/A N/A N/A self instance _values N/A name N/A N/A val None N/A N/A N/A N/A N/A N/A val_mgr changed N/A N/A isinstance col N/A columns Counter N/A N/A N/A static_changed_only N/A static_changed_only N/A col static N/A N/A N/A statement add_update col val previous N/A val_mgr previous_value N/A N/A statement assignments N/A N/A N/A name col N/A N/A N/A N/A self model _primary_keys items N/A N/A N/A N/A null_clustering_key static_changed_only N/A N/A col partition_key N/A N/A N/A N/A N/A statement add_where col N/A EqualsOperator N/A getattr N/A self instance name N/A N/A N/A self _execute statement N/A N/A null_clustering_key N/A N/A N/A N/A self _delete_null_columns N/A save N/A N/A self N/A N/A N/A 
        Creates / updates a row.
        This is a blind insert call.
        All validation and cleaning needs to happen
        prior to calling this.
         N/A N/A N/A self instance None N/A N/A N/A CQLEngineException DML Query intance attribute is None N/A N/A N/A type N/A self instance N/A self model N/A nulled_fields N/A set N/A N/A N/A N/A self instance _has_counter N/A N/A N/A self instance _can_update N/A N/A N/A N/A self instance _has_counter N/A N/A N/A warn 'create' and 'save' actions on Counters are deprecated. A future version will disallow this. Use the 'update' mechanism instead. N/A N/A N/A self update N/A N/A insert N/A InsertStatement N/A self column_family_name ttl N/A self _ttl timestamp N/A self _timestamp if_not_exists N/A self _if_not_exists N/A static_save_only N/A N/A N/A len N/A N/A self instance _clustering_keys 0 False True N/A N/A name col N/A N/A N/A N/A self instance _clustering_keys items N/A N/A static_save_only N/A static_save_only N/A N/A col _val_is_null N/A getattr N/A self instance name None N/A N/A name col N/A N/A N/A N/A self instance _columns items N/A N/A N/A static_save_only N/A N/A col static N/A N/A col partition_key N/A N/A N/A val N/A getattr N/A self instance name None N/A N/A N/A col _val_is_null val N/A N/A N/A N/A N/A N/A self instance _values N/A name changed N/A N/A N/A N/A nulled_fields add N/A col db_field_name N/A N/A N/A N/A insert add_assignment col N/A getattr N/A self instance name None N/A N/A N/A insert is_empty N/A N/A N/A N/A self _execute insert N/A N/A static_save_only N/A N/A N/A N/A self _delete_null_columns N/A delete N/A N/A self N/A N/A N/A  Deletes one instance  N/A N/A N/A self instance None N/A N/A N/A CQLEngineException DML Query instance attribute is None N/A ds N/A DeleteStatement N/A self column_family_name timestamp N/A self _timestamp conditionals N/A self _conditional if_exists N/A self _if_exists N/A N/A name col N/A N/A N/A N/A self model _primary_keys items N/A N/A val N/A getattr N/A self instance name N/A N/A N/A val None N/A N/A col parition_key N/A N/A N/A N/A N/A ds add_where col N/A EqualsOperator val N/A N/A N/A self _execute ds N/A N/A _execute_statement N/A N/A model statement consistency_level timeout N/A N/A N/A params N/A N/A statement get_context N/A s N/A SimpleStatement N/A str statement consistency_level consistency_level fetch_size N/A statement fetch_size N/A N/A model _partition_key_index N/A N/A key_values N/A N/A statement partition_key_values N/A model _partition_key_index N/A N/A N/A any N/A N/A v None N/A v key_values N/A N/A parts N/A N/A model _routing_key_from_values key_values N/A N/A N/A connection get_cluster protocol_version N/A N/A s routing_key parts N/A N/A s keyspace N/A N/A model _get_keyspace N/A N/A N/A connection execute s params timeout timeout N/A