Module Expr Str ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias Import alias alias alias alias alias Import alias ImportFrom alias alias alias ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Import alias alias Import alias ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore TupleLoad TupleLoad Str Str TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad FunctionDef arguments args NameParam defaults body Return Dict Str Str Str Str BoolOpOr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call NameLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Return BoolOpOr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return CompareNotEq AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword BinOpAdd AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults kwarg body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Return SubscriptLoad NameLoad Slice NameLoad orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Return SubscriptLoad NameLoad Slice NameLoad orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return ListLoad Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num orelse Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Return Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Str orelse Assign NameStore Str For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body For NameStore SubscriptLoad NameLoad Index Str body AugAssignAdd NameStore BinOpMod Str Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str attr NameLoad orelse AugAssignAdd NameStore BinOpMod Str SubscriptLoad NameLoad Index Str AugAssignAdd NameStore Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd CompareNotEq AttributeLoad NameLoad attr NameLoad BoolOpOr CompareEq AttributeLoad NameLoad attr NameLoad CompareGtE Call AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return BoolOpOr BoolOpAnd CompareNotEq NameLoad NameLoad CompareGtE Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad If BoolOpOr CompareEq AttributeLoad NameLoad attr NameLoad CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str BinOpMod Str AttributeLoad NameLoad attr If BoolOpAnd CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return CompareGtE Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return CompareNotEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr CompareNotEq SubscriptLoad NameLoad Index Str NameLoad If CompareGt Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Str orelse If CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareIn NameLoad NameLoad Assign AttributeStore NameLoad attr ListComp Dict Str NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Str attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If CompareGt Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareNotEq Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body ImportFrom alias Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Str orelse Return Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Assign NameStore BoolOpOr SubscriptLoad NameLoad Index Str Num Assign NameStore BoolOpOr SubscriptLoad NameLoad Index Str Num If CompareGt NameLoad Num body Return ListComp SubscriptLoad NameLoad Index Num comprehension NameStore SubscriptLoad NameLoad Slice NameLoad If CompareEq SubscriptLoad NameLoad Index Str Str body If CompareGtE SubscriptLoad SubscriptLoad NameLoad Index Num Index Num BinOpAdd BinOpDiv NameLoad Num Num body Return ListLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num orelse Return ListLoad orelse Return ListLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return ListComp Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad CompareIn NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str SubscriptLoad NameLoad Index Str NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr kwarg body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad NameLoad For NameStore NameLoad body TryExcept body Expr Yield ListComp Call NameLoad NameLoad Str comprehension NameStore NameLoad handlers ExceptHandler body Expr Yield ListComp Call NameLoad NameLoad Str comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore NameLoad body Expr Yield NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body If CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str For NameStore NameLoad body If CompareLt Call NameLoad NameLoad Num body Continue Assign NameStore Dict Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr If CompareGt Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr orelse Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr If CompareGt Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Num attr orelse Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad BinOpAdd NameLoad Num BinOpAdd BinOpAdd NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign AttributeStore NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad ClassDef bases body Assign NameStore TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad orelse If CompareEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If BoolOpOr CompareEq NameLoad NameLoad CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpMod Str SubscriptLoad NameLoad Slice Num orelse Assign NameStore BinOpMod Str NameLoad Assign NameStore Dict NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Slice NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad TryExcept body Return SubscriptLoad NameLoad Index Num handlers ExceptHandler body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Return AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body TryExcept body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr For NameStore ListLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Num While NameLoad body Assign NameStore SubscriptLoad NameLoad Slice NameLoad If CompareEq Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Num body Break AugAssignAdd NameStore Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Slice NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad ClassDef bases body Assign NameStore TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Data Objects for Helios.

Ben Adida
(ben@adida.net)
 django.db models transaction N/A json django.conf settings django.core.mail send_mail N/A datetime logging uuid random io N/A bleach crypto electionalgs algs utils helios utils heliosutils N/A helios.views helios datatypes helios_auth.models User AUTH_SYSTEMS helios_auth.jsonfield JSONField helios.datatypes.djangofield LDObjectField N/A csv copy N/A unicodecsv HeliosModel N/A N/A models Model N/A datatypes LDObjectContainer N/A Meta N/A N/A N/A abstract True N/A N/A Election N/A HeliosModel N/A N/A admin N/A N/A models ForeignKey User N/A uuid N/A N/A models CharField max_length 50 null False N/A datatype N/A N/A models CharField max_length 250 null False default legacy/Election N/A short_name N/A N/A models CharField max_length 100 N/A name N/A N/A models CharField max_length 250 N/A ELECTION_TYPES N/A N/A election Election N/A referendum Referendum N/A election_type N/A N/A models CharField max_length 250 null False default election choices ELECTION_TYPES N/A private_p N/A N/A models BooleanField default False null False N/A description N/A N/A models TextField N/A public_key N/A LDObjectField type_hint legacy/EGPublicKey null True N/A private_key N/A LDObjectField type_hint legacy/EGSecretKey null True N/A questions N/A LDObjectField type_hint legacy/Questions null True N/A eligibility N/A LDObjectField type_hint legacy/Eligibility null True N/A openreg N/A N/A models BooleanField default False N/A featured_p N/A N/A models BooleanField default False N/A use_voter_aliases N/A N/A models BooleanField default False N/A use_advanced_audit_features N/A N/A models BooleanField default True null False N/A randomize_answer_order N/A N/A models BooleanField default False null False N/A cast_url N/A N/A models CharField max_length 500 N/A created_at N/A N/A models DateTimeField auto_now_add True N/A modified_at N/A N/A models DateTimeField auto_now_add True N/A frozen_at N/A N/A models DateTimeField auto_now_add False default None null True N/A archived_at N/A N/A models DateTimeField auto_now_add False default None null True N/A registration_starts_at N/A N/A models DateTimeField auto_now_add False default None null True N/A voting_starts_at N/A N/A models DateTimeField auto_now_add False default None null True N/A voting_ends_at N/A N/A models DateTimeField auto_now_add False default None null True N/A complaint_period_ends_at N/A N/A models DateTimeField auto_now_add False default None null True N/A tallying_starts_at N/A N/A models DateTimeField auto_now_add False default None null True N/A voting_started_at N/A N/A models DateTimeField auto_now_add False default None null True N/A voting_extended_until N/A N/A models DateTimeField auto_now_add False default None null True N/A voting_ended_at N/A N/A models DateTimeField auto_now_add False default None null True N/A tallying_started_at N/A N/A models DateTimeField auto_now_add False default None null True N/A tallying_finished_at N/A N/A models DateTimeField auto_now_add False default None null True N/A tallies_combined_at N/A N/A models DateTimeField auto_now_add False default None null True N/A result_released_at N/A N/A models DateTimeField auto_now_add False default None null True N/A voters_hash N/A N/A models CharField max_length 100 null True N/A encrypted_tally N/A LDObjectField type_hint legacy/Tally null True N/A result N/A LDObjectField type_hint legacy/Result null True N/A result_proof N/A JSONField null True N/A help_email N/A N/A models EmailField null True N/A election_info_url N/A N/A models CharField max_length 300 null True metadata N/A N/A self N/A N/A N/A N/A help_email private_p use_advanced_audit_features randomize_answer_order N/A N/A self help_email help@heliosvoting.org N/A self private_p N/A self use_advanced_audit_features N/A self randomize_answer_order N/A property pretty_type N/A N/A self N/A N/A N/A N/A N/A dict N/A self ELECTION_TYPES N/A N/A self election_type N/A property num_cast_votes N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self voter_set exclude vote None count N/A property num_voters N/A N/A self N/A N/A N/A N/A N/A N/A self voter_set count N/A property num_trustees N/A N/A self N/A N/A N/A N/A N/A N/A self trustee_set count N/A property last_alias_num N/A N/A self N/A N/A N/A 
    FIXME: we should be tracking alias number, not the V* alias which then
    makes things a lot harder
     N/A N/A N/A self use_voter_aliases N/A N/A None N/A N/A N/A N/A heliosutils one_val_raw_sql N/A N/A select max(cast(substring(alias, 2) as integer)) from  N/A N/A Voter _meta db_table  where election_id = %s N/A N/A self id 0 N/A property encrypted_tally_hash N/A N/A self N/A N/A N/A N/A N/A self encrypted_tally N/A N/A None N/A N/A N/A utils hash_b64 N/A N/A N/A self encrypted_tally toJSON N/A property is_archived N/A N/A self N/A N/A N/A N/A N/A self archived_at None N/A property description_bleached N/A N/A self N/A N/A N/A N/A N/A bleach clean N/A self description tags N/A N/A bleach ALLOWED_TAGS N/A p h4 h5 h3 h2 br u N/A property get_featured N/A N/A cls N/A N/A N/A N/A N/A N/A N/A N/A cls objects filter featured_p True order_by short_name N/A classmethod get_or_create N/A N/A cls N/A kwargs N/A N/A N/A N/A N/A cls objects get_or_create short_name N/A kwargs N/A short_name defaults kwargs N/A classmethod get_by_user_as_admin N/A N/A cls user archived_p limit N/A None None N/A N/A query N/A N/A N/A cls objects filter admin user N/A N/A archived_p True N/A N/A query N/A N/A query exclude archived_at None N/A N/A archived_p False N/A N/A query N/A N/A query filter archived_at None N/A query N/A N/A query order_by -created_at N/A limit N/A N/A N/A query N/A limit N/A N/A query N/A classmethod get_by_user_as_voter N/A N/A cls user archived_p limit N/A None None N/A N/A query N/A N/A N/A cls objects filter voter__user user N/A N/A archived_p True N/A N/A query N/A N/A query exclude archived_at None N/A N/A archived_p False N/A N/A query N/A N/A query filter archived_at None N/A query N/A N/A query order_by -created_at N/A limit N/A N/A N/A query N/A limit N/A N/A query N/A classmethod get_by_uuid N/A N/A cls uuid N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A cls objects select_related get uuid uuid N/A N/A N/A N/A cls DoesNotExist N/A N/A None N/A classmethod get_by_short_name N/A N/A cls short_name N/A N/A N/A N/A N/A N/A N/A N/A cls objects get short_name short_name N/A N/A N/A N/A cls DoesNotExist N/A N/A None N/A classmethod add_voters_file N/A N/A self uploaded_file N/A N/A N/A 
    expects a django uploaded_file data structure, which has filename, content, size...
     N/A new_voter_file N/A VoterFile election self voter_file_content N/A N/A uploaded_file read N/A N/A N/A new_voter_file save N/A N/A N/A self append_log N/A ElectionLog VOTER_FILE_ADDED N/A new_voter_file N/A user_eligible_p N/A N/A self user N/A N/A N/A 
    Checks if a user is eligible for this election.
     N/A N/A N/A self openreg N/A N/A False N/A N/A N/A self eligibility None N/A N/A True N/A eligibility_case N/A self eligibility N/A N/A N/A N/A user is_eligible_for eligibility_case N/A N/A True N/A False N/A eligibility_constraint_for N/A N/A self user_type N/A N/A N/A N/A N/A self eligibility N/A N/A N/A N/A relevant_constraints N/A N/A constraint N/A constraint N/A constraint N/A self eligibility N/A N/A N/A constraint N/A auth_system user_type N/A N/A constraint has_key constraint N/A N/A N/A len relevant_constraints 0 N/A N/A N/A relevant_constraints N/A 0 N/A N/A N/A N/A eligibility_category_id N/A N/A self user_type N/A N/A N/A when eligibility is by category, this returns the category_id N/A N/A N/A self eligibility N/A N/A None N/A constraint_for N/A N/A self eligibility_constraint_for user_type N/A N/A N/A len constraint_for 0 N/A N/A constraint N/A constraint_for N/A 0 N/A N/A N/A N/A AUTH_SYSTEMS N/A user_type eligibility_category_id constraint N/A N/A None N/A pretty_eligibility N/A N/A self N/A N/A N/A N/A N/A self eligibility N/A N/A Anyone can vote. N/A N/A return_val <ul> N/A constraint N/A self eligibility N/A N/A N/A N/A constraint has_key constraint N/A N/A one_constraint N/A constraint N/A constraint N/A N/A return_val N/A <li>%s</li> N/A N/A N/A AUTH_SYSTEMS N/A N/A constraint N/A auth_system pretty_eligibility one_constraint N/A N/A return_val N/A <li> any %s user</li> N/A constraint N/A auth_system N/A return_val </ul> N/A return_val N/A property voting_has_started N/A N/A self N/A N/A N/A 
    has voting begun? voting begins if the election is frozen, at the prescribed date or at the date that voting was forced to start
     N/A N/A N/A N/A self frozen_at None N/A N/A N/A self voting_starts_at None N/A N/A N/A N/A datetime datetime utcnow N/A N/A self voting_started_at N/A self voting_starts_at N/A voting_has_stopped N/A N/A self N/A N/A N/A 
    has voting stopped? if tally computed, yes, otherwise if we have passed the date voting was manually stopped at,
    or failing that the date voting was extended until, or failing that the date voting is scheduled to end at.
     N/A voting_end N/A N/A self voting_ended_at N/A self voting_extended_until N/A self voting_ends_at N/A N/A N/A N/A voting_end None N/A N/A N/A N/A datetime datetime utcnow voting_end N/A self encrypted_tally N/A issues_before_freeze N/A N/A self N/A N/A N/A issues N/A N/A N/A N/A N/A self questions None N/A N/A len N/A self questions 0 N/A N/A N/A N/A issues append N/A type action questions add questions to the ballot N/A trustees N/A N/A Trustee get_by_election self N/A N/A N/A len trustees 0 N/A N/A N/A N/A issues append N/A type action trustees add at least one trustee N/A t trustees N/A N/A N/A N/A t public_key None N/A N/A N/A N/A issues append N/A type action trustee keypairs N/A have trustee %s generate a keypair N/A t name N/A N/A N/A N/A N/A N/A self voter_set count 0 N/A N/A self openreg N/A N/A N/A N/A issues append N/A type action voters enter your voter list (or open registration to the public) N/A issues N/A property ready_for_tallying N/A N/A self N/A N/A N/A N/A N/A N/A N/A datetime datetime utcnow N/A self tallying_starts_at N/A compute_tally N/A N/A self N/A N/A N/A 
    tally the election, assuming votes already verified
     N/A tally N/A N/A self init_tally N/A voter N/A N/A N/A self voter_set exclude vote None N/A N/A N/A N/A tally add_vote N/A voter vote verify_p False N/A N/A self encrypted_tally tally N/A N/A N/A self save N/A ready_for_decryption N/A N/A self N/A N/A N/A N/A N/A self encrypted_tally None N/A ready_for_decryption_combination N/A N/A self N/A N/A N/A 
    do we have a tally from all trustees?
     N/A t N/A N/A Trustee get_by_election self N/A N/A N/A N/A t decryption_factors N/A N/A False N/A True N/A release_result N/A N/A self N/A N/A N/A 
    release the result that should already be computed
     N/A N/A N/A self result N/A N/A N/A N/A self result_released_at N/A N/A N/A datetime datetime utcnow N/A combine_decryptions N/A N/A self N/A N/A N/A 
    combine all of the decryption results
     N/A trustees N/A N/A Trustee get_by_election self N/A decryption_factors N/A N/A t decryption_factors N/A t trustees N/A N/A self result N/A N/A N/A self encrypted_tally decrypt_from_factors decryption_factors N/A self public_key N/A N/A N/A self append_log N/A ElectionLog DECRYPTIONS_COMBINED N/A N/A N/A self save N/A generate_voters_hash N/A N/A self N/A N/A N/A 
    look up the list of voters, make a big file, and hash it
     N/A N/A N/A self openreg N/A N/A N/A self voters_hash None N/A N/A voters N/A N/A Voter get_by_election self N/A voters_json N/A N/A utils to_json N/A N/A N/A v toJSONDict N/A v voters N/A N/A self voters_hash N/A N/A utils hash_b64 voters_json N/A increment_voters N/A N/A self N/A N/A N/A 0 N/A increment_cast_votes N/A N/A self N/A N/A N/A 0 N/A set_eligibility N/A N/A self N/A N/A N/A 
    if registration is closed and eligibility has not been
    already set, then this call sets the eligibility criteria
    based on the actual list of voters who are already there.

    This helps ensure that the login box shows the proper options.

    If registration is open but no voters have been added with password,
    then that option is also canceled out to prevent confusion, since
    those elections usually just use the existing login systems.
     N/A N/A N/A self eligibility None N/A N/A N/A auth_systems N/A N/A copy copy N/A settings AUTH_ENABLED_AUTH_SYSTEMS N/A voter_types N/A N/A r N/A user__user_type N/A r N/A N/A N/A N/A N/A self voter_set values user__user_type distinct N/A N/A r N/A user__user_type None N/A N/A N/A N/A N/A N/A N/A self voter_set filter user None count 0 N/A N/A N/A N/A voter_types append password N/A N/A N/A password auth_systems N/A N/A N/A N/A auth_systems remove password N/A N/A N/A self openreg N/A N/A auth_systems N/A vt N/A vt voter_types N/A vt auth_systems N/A N/A self eligibility N/A N/A auth_system auth_system N/A auth_system auth_systems N/A N/A N/A self save N/A freeze N/A N/A self N/A N/A N/A 
    election is frozen when the voter registration, questions, and trustees are finalized
     N/A N/A N/A len N/A self issues_before_freeze 0 N/A N/A N/A Exception cannot freeze an election that has issues N/A N/A self frozen_at N/A N/A N/A datetime datetime utcnow N/A N/A N/A self generate_voters_hash N/A N/A N/A self set_eligibility N/A trustees N/A N/A Trustee get_by_election self N/A combined_pk N/A N/A trustees N/A 0 public_key N/A t N/A trustees N/A 1 N/A N/A combined_pk N/A combined_pk N/A t public_key N/A N/A self public_key combined_pk N/A N/A N/A self append_log N/A ElectionLog FROZEN N/A N/A N/A self save N/A generate_trustee N/A N/A self params N/A N/A N/A 
    generate a trustee including the secret key,
    thus a helios-based trustee
     N/A keypair N/A N/A params generate_keypair N/A trustee N/A Trustee election self N/A N/A trustee uuid N/A str N/A N/A uuid uuid4 N/A N/A trustee name N/A settings DEFAULT_FROM_NAME N/A N/A trustee email N/A settings DEFAULT_FROM_EMAIL N/A N/A trustee public_key N/A keypair pk N/A N/A trustee secret_key N/A keypair sk N/A N/A trustee public_key_hash N/A N/A N/A N/A datatypes LDObject instantiate N/A trustee public_key datatype legacy/EGPublicKey hash N/A N/A trustee pok N/A N/A N/A trustee secret_key prove_sk N/A algs DLog_challenge_generator N/A N/A N/A trustee save N/A get_helios_trustee N/A N/A self N/A N/A N/A trustees_with_sk N/A N/A N/A self trustee_set exclude secret_key None N/A N/A N/A len trustees_with_sk 0 N/A N/A N/A trustees_with_sk N/A 0 N/A N/A None N/A has_helios_trustee N/A N/A self N/A N/A N/A N/A N/A N/A self get_helios_trustee None N/A helios_trustee_decrypt N/A N/A self N/A N/A N/A tally N/A self encrypted_tally N/A N/A N/A tally init_election self N/A trustee N/A N/A self get_helios_trustee N/A N/A factors proof N/A N/A tally decryption_factors_and_proofs N/A trustee secret_key N/A N/A trustee decryption_factors factors N/A N/A trustee decryption_proofs proof N/A N/A N/A trustee save N/A append_log N/A N/A self text N/A N/A N/A item N/A ElectionLog election self log text at N/A N/A N/A datetime datetime utcnow N/A N/A N/A item save N/A item N/A get_log N/A N/A self N/A N/A N/A N/A N/A N/A self electionlog_set order_by -at N/A url N/A N/A self N/A N/A N/A N/A N/A N/A helios views get_election_url self N/A property init_tally N/A N/A self N/A N/A helios.workflows homomorphic N/A N/A N/A homomorphic Tally election self N/A registration_status_pretty N/A N/A self N/A N/A N/A N/A self openreg N/A N/A Open N/A N/A Closed N/A property one_question_winner N/A N/A cls question result num_cast_votes N/A N/A N/A 
    determining the winner for one question
     N/A counts N/A sorted N/A enumerate result key N/A N/A N/A x N/A N/A x N/A 1 N/A N/A N/A counts reverse N/A the_max N/A N/A question N/A max 1 N/A the_min N/A N/A question N/A min 0 N/A N/A the_max 1 N/A N/A N/A N/A c N/A 0 N/A c N/A counts N/A the_max N/A N/A N/A question N/A result_type absolute N/A N/A N/A N/A N/A counts N/A 0 N/A 1 N/A N/A num_cast_votes 2 1 N/A N/A N/A N/A N/A counts N/A 0 N/A 0 N/A N/A N/A N/A N/A N/A N/A N/A counts N/A 0 N/A 0 N/A classmethod winners N/A N/A self N/A N/A N/A 
    Depending on the type of each question, determine the winners
    returns an array of winners for each question, aka an array of arrays.
    assumes that if there is a max to the question, that's how many winners there are.
     N/A N/A N/A N/A self one_question_winner N/A N/A self questions N/A i N/A N/A self result N/A i N/A self num_cast_votes N/A i N/A range N/A len N/A self questions N/A property pretty_result N/A N/A self N/A N/A N/A N/A N/A self result N/A N/A None N/A winners N/A self winners N/A raw_result N/A self result N/A prettified_result N/A N/A i N/A range N/A len N/A self questions N/A N/A q N/A N/A self questions N/A i N/A pretty_question N/A N/A j N/A range N/A len N/A q N/A answers N/A N/A a N/A N/A q N/A answers N/A j N/A count N/A N/A raw_result N/A i N/A j N/A N/A N/A pretty_question append N/A answer count winner a count N/A j N/A winners N/A i N/A N/A N/A prettified_result append N/A question answers N/A q N/A short_name pretty_question N/A prettified_result N/A property N/A ElectionLog N/A N/A models Model N/A N/A 
  a log of events for an election
   N/A FROZEN frozen N/A VOTER_FILE_ADDED voter file added N/A DECRYPTIONS_COMBINED decryptions combined N/A election N/A N/A models ForeignKey Election N/A log N/A N/A models CharField max_length 500 N/A at N/A N/A models DateTimeField auto_now_add True N/A unicode_csv_reader N/A N/A unicode_csv_data dialect N/A N/A csv excel kwargs N/A N/A csv_reader N/A N/A csv reader N/A utf_8_encoder unicode_csv_data dialect dialect kwargs N/A row csv_reader N/A N/A N/A N/A N/A N/A N/A unicode cell utf-8 N/A cell row N/A N/A N/A N/A N/A N/A N/A unicode cell latin-1 N/A cell row N/A utf_8_encoder N/A N/A unicode_csv_data N/A N/A N/A line unicode_csv_data N/A N/A N/A line N/A VoterFile N/A N/A models Model N/A N/A 
  A model to store files that are lists of voters to be processed
   N/A PATH N/A settings VOTER_UPLOAD_REL_PATH N/A election N/A N/A models ForeignKey Election N/A voter_file N/A N/A models FileField upload_to PATH max_length 250 null True N/A voter_file_content N/A N/A models TextField null True N/A uploaded_at N/A N/A models DateTimeField auto_now_add True N/A processing_started_at N/A N/A models DateTimeField auto_now_add False null True N/A processing_finished_at N/A N/A models DateTimeField auto_now_add False null True N/A num_voters N/A N/A models IntegerField null True itervoters N/A N/A self N/A N/A N/A N/A self voter_file_content N/A N/A N/A N/A type N/A self voter_file_content unicode N/A N/A content N/A N/A N/A self voter_file_content encode utf-8 N/A N/A content N/A self voter_file_content N/A content N/A N/A N/A N/A content replace replace N/A voter_stream N/A N/A io BytesIO content N/A N/A voter_stream N/A open N/A N/A self voter_file path rU N/A reader N/A N/A unicodecsv reader voter_stream encoding utf-8 N/A voter_fields reader N/A N/A N/A N/A len voter_fields 1 N/A N/A N/A return_dict N/A voter_id N/A N/A N/A voter_fields N/A 0 strip N/A N/A N/A len voter_fields 1 N/A N/A N/A return_dict N/A email N/A N/A N/A voter_fields N/A 1 strip N/A N/A N/A return_dict N/A email N/A N/A N/A voter_fields N/A 0 strip N/A N/A N/A len voter_fields 2 N/A N/A N/A return_dict N/A name N/A N/A N/A voter_fields N/A 2 strip N/A N/A N/A return_dict N/A name N/A return_dict N/A email N/A N/A return_dict N/A process N/A N/A self N/A N/A N/A N/A self processing_started_at N/A N/A N/A datetime datetime utcnow N/A N/A N/A self save N/A election N/A self election N/A last_alias_num N/A election last_alias_num N/A num_voters 0 N/A new_voters N/A N/A voter N/A N/A self itervoters N/A N/A num_voters 1 N/A existing_voter N/A N/A Voter get_by_election_and_voter_id election N/A voter N/A voter_id N/A N/A existing_voter N/A N/A voter_uuid N/A str N/A N/A uuid uuid4 N/A existing_voter N/A Voter uuid voter_uuid user None voter_login_id N/A voter N/A voter_id voter_name N/A voter N/A name voter_email N/A voter N/A email election election N/A N/A N/A existing_voter generate_password N/A N/A N/A new_voters append existing_voter N/A N/A N/A existing_voter save N/A N/A election use_voter_aliases N/A N/A voter_alias_integers N/A range N/A last_alias_num 1 N/A N/A last_alias_num 1 num_voters N/A N/A N/A random shuffle voter_alias_integers N/A N/A i voter N/A enumerate new_voters N/A N/A N/A voter alias N/A V%s N/A voter_alias_integers N/A i N/A N/A N/A voter save N/A N/A self num_voters num_voters N/A N/A self processing_finished_at N/A N/A N/A datetime datetime utcnow N/A N/A N/A self save N/A num_voters N/A N/A Voter N/A HeliosModel N/A N/A election N/A N/A models ForeignKey Election N/A uuid N/A N/A models CharField max_length 50 N/A user N/A N/A models ForeignKey helios_auth.User null True N/A voter_login_id N/A N/A models CharField max_length 100 null True N/A voter_password N/A N/A models CharField max_length 100 null True N/A voter_name N/A N/A models CharField max_length 200 null True N/A voter_email N/A N/A models CharField max_length 250 null True N/A alias N/A N/A models CharField max_length 100 null True N/A vote N/A LDObjectField type_hint legacy/EncryptedVote null True N/A vote_hash N/A N/A models CharField max_length 100 null True N/A cast_at N/A N/A models DateTimeField auto_now_add False null True Meta N/A N/A N/A unique_together N/A election voter_login_id N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super Voter self __init__ args kwargs N/A N/A N/A self user N/A N/A N/A self user N/A User user_type password user_id N/A self voter_email name N/A self voter_name N/A register_user_in_election N/A N/A cls user election N/A N/A N/A voter_uuid N/A str N/A N/A uuid uuid4 N/A voter N/A Voter uuid voter_uuid user user election election N/A N/A election use_voter_aliases N/A N/A N/A N/A heliosutils lock_row Election N/A election id N/A alias_num N/A N/A election last_alias_num 1 N/A N/A voter alias N/A V%s alias_num N/A N/A N/A voter save N/A voter N/A classmethod N/A transaction atomic get_by_election N/A N/A cls election cast order_by after limit N/A None voter_login_id None None N/A N/A 
    FIXME: review this for non-GAE?
     N/A query N/A N/A N/A cls objects filter election election N/A N/A cast True N/A N/A query N/A N/A query exclude cast_at None N/A N/A N/A cast False N/A N/A query N/A N/A query filter cast_at None N/A N/A N/A cast None N/A order_by cast_at N/A order_by -cast_at N/A N/A query N/A N/A query order_by order_by N/A after N/A N/A N/A N/A order_by N/A 0 - N/A N/A field_name N/A %s__gt N/A order_by N/A 1 N/A N/A field_name N/A %s__gt order_by N/A conditions N/A field_name after N/A query N/A N/A query filter conditions N/A limit N/A N/A query N/A query N/A limit N/A query N/A classmethod get_all_by_election_in_chunks N/A N/A cls election cast chunk N/A None 100 N/A N/A N/A N/A cls get_by_election election N/A classmethod get_by_election_and_voter_id N/A N/A cls election voter_id N/A N/A N/A N/A N/A N/A N/A N/A cls objects get election election voter_login_id voter_id N/A N/A N/A N/A cls DoesNotExist N/A N/A None N/A classmethod get_by_election_and_user N/A N/A cls election user N/A N/A N/A N/A N/A N/A N/A N/A cls objects get election election user user N/A N/A N/A N/A cls DoesNotExist N/A N/A None N/A classmethod get_by_election_and_uuid N/A N/A cls election uuid N/A N/A N/A query N/A N/A N/A cls objects filter election election uuid uuid N/A N/A N/A N/A query N/A 0 N/A N/A N/A N/A None N/A classmethod get_by_user N/A N/A cls user N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A cls objects select_related filter user user order_by -cast_at N/A classmethod datatype N/A N/A self N/A N/A N/A N/A N/A N/A N/A self election datatype replace Election Voter N/A property vote_tinyhash N/A N/A self N/A N/A N/A 
    get the tinyhash of the latest castvote
     N/A N/A N/A self vote_hash N/A N/A None N/A N/A N/A N/A N/A CastVote objects get vote_hash N/A self vote_hash vote_tinyhash N/A property election_uuid N/A N/A self N/A N/A N/A N/A N/A self election uuid N/A property name N/A N/A self N/A N/A N/A N/A N/A self user name N/A property voter_id N/A N/A self N/A N/A N/A N/A N/A self user user_id N/A property voter_id_hash N/A N/A self N/A N/A N/A N/A self voter_login_id N/A N/A value_to_hash N/A self voter_login_id N/A N/A value_to_hash N/A self voter_id N/A N/A N/A N/A N/A utils hash_b64 value_to_hash N/A N/A N/A N/A N/A N/A N/A N/A utils hash_b64 N/A N/A value_to_hash encode latin-1 N/A N/A N/A N/A N/A N/A utils hash_b64 N/A N/A value_to_hash encode utf-8 N/A property voter_type N/A N/A self N/A N/A N/A N/A N/A self user user_type N/A property display_html_big N/A N/A self N/A N/A N/A N/A N/A self user display_html_big N/A property send_message N/A N/A self subject body N/A N/A N/A N/A N/A N/A self user send_message subject body N/A generate_password N/A N/A self length N/A 10 N/A N/A N/A self voter_password N/A N/A N/A Exception password already exists N/A N/A self voter_password N/A N/A heliosutils random_string length alphabet abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ23456789 N/A store_vote N/A N/A self cast_vote N/A N/A N/A N/A N/A self cast_at N/A N/A cast_vote cast_at N/A self cast_at N/A N/A N/A N/A self vote N/A cast_vote vote N/A N/A self vote_hash N/A cast_vote vote_hash N/A N/A self cast_at N/A cast_vote cast_at N/A N/A N/A self save N/A last_cast_vote N/A N/A self N/A N/A N/A N/A CastVote vote N/A self vote vote_hash N/A self vote_hash cast_at N/A self cast_at voter self N/A N/A CastVote N/A HeliosModel N/A N/A voter N/A N/A models ForeignKey Voter N/A vote N/A LDObjectField type_hint legacy/EncryptedVote N/A vote_hash N/A N/A models CharField max_length 100 N/A vote_tinyhash N/A N/A models CharField max_length 50 null True unique True N/A cast_at N/A N/A models DateTimeField auto_now_add True N/A quarantined_p N/A N/A models BooleanField default False null False N/A released_from_quarantine_at N/A N/A models DateTimeField auto_now_add False null True N/A verified_at N/A N/A models DateTimeField null True N/A invalidated_at N/A N/A models DateTimeField null True datatype N/A N/A self N/A N/A N/A N/A N/A N/A N/A self voter datatype replace Voter CastVote N/A property voter_uuid N/A N/A self N/A N/A N/A N/A N/A self voter uuid N/A property voter_hash N/A N/A self N/A N/A N/A N/A N/A self voter hash N/A property is_quarantined N/A N/A self N/A N/A N/A N/A N/A self quarantined_p N/A N/A self released_from_quarantine_at N/A property set_tinyhash N/A N/A self N/A N/A N/A 
    find a tiny version of the hash for a URL slug.
     N/A safe_hash N/A self vote_hash N/A c N/A / + N/A N/A safe_hash N/A N/A safe_hash replace c N/A length 8 N/A True N/A N/A vote_tinyhash N/A safe_hash N/A length N/A N/A N/A N/A N/A N/A N/A CastVote objects filter vote_tinyhash vote_tinyhash count 0 N/A N/A N/A length 1 N/A N/A self vote_tinyhash vote_tinyhash N/A save N/A N/A self N/A args kwargs N/A N/A 
    override this just to get a hook
     N/A N/A N/A self vote_tinyhash N/A N/A N/A N/A self set_tinyhash N/A N/A N/A N/A super CastVote self save args kwargs N/A get_by_voter N/A N/A cls voter N/A N/A N/A N/A N/A N/A N/A N/A cls objects filter voter voter order_by -cast_at N/A classmethod verify_and_store N/A N/A self N/A N/A N/A N/A self is_quarantined N/A N/A N/A Exception cast vote is quarantined, verification and storage is delayed. N/A result N/A N/A N/A self vote verify N/A N/A self voter election N/A result N/A N/A N/A self verified_at N/A N/A N/A datetime datetime utcnow N/A N/A N/A self invalidated_at N/A N/A N/A datetime datetime utcnow N/A N/A N/A self save N/A result N/A N/A N/A N/A N/A self voter store_vote self N/A result N/A issues N/A N/A self election N/A N/A N/A 
    Look for consistency problems
     N/A issues N/A N/A N/A N/A N/A self vote election_uuid N/A election uuid N/A N/A N/A N/A issues append the vote's election UUID does not match the election for which this vote is being cast N/A issues N/A N/A AuditedBallot N/A N/A models Model N/A N/A 
  ballots for auditing
   N/A election N/A N/A models ForeignKey Election N/A raw_vote N/A N/A models TextField N/A vote_hash N/A N/A models CharField max_length 100 N/A added_at N/A N/A models DateTimeField auto_now_add True get N/A N/A cls election vote_hash N/A N/A N/A N/A N/A N/A cls objects get election election vote_hash vote_hash N/A classmethod get_by_election N/A N/A cls election after limit N/A None None N/A N/A query N/A N/A N/A N/A N/A cls objects filter election election order_by vote_hash N/A after N/A N/A query N/A N/A query filter vote_hash__gt after N/A limit N/A N/A query N/A query N/A limit N/A query N/A classmethod N/A Trustee N/A HeliosModel N/A N/A election N/A N/A models ForeignKey Election N/A uuid N/A N/A models CharField max_length 50 N/A name N/A N/A models CharField max_length 200 N/A email N/A N/A models EmailField N/A secret N/A N/A models CharField max_length 100 N/A public_key N/A LDObjectField type_hint legacy/EGPublicKey null True N/A public_key_hash N/A N/A models CharField max_length 100 N/A secret_key N/A LDObjectField type_hint legacy/EGSecretKey null True N/A pok N/A LDObjectField type_hint legacy/DLogProof null True N/A decryption_factors N/A LDObjectField type_hint N/A N/A datatypes arrayOf N/A N/A datatypes arrayOf core/BigInteger null True N/A decryption_proofs N/A LDObjectField type_hint N/A N/A datatypes arrayOf N/A N/A datatypes arrayOf legacy/EGZKProof null True Meta N/A N/A N/A unique_together N/A election email N/A save N/A N/A self N/A args kwargs N/A N/A 
    override this just to get a hook
     N/A N/A N/A self secret N/A N/A N/A self secret N/A N/A heliosutils random_string 12 N/A N/A N/A N/A self election append_log N/A Trustee %s added N/A self name N/A N/A N/A N/A super Trustee self save args kwargs N/A get_by_election N/A N/A cls election N/A N/A N/A N/A N/A N/A cls objects filter election election N/A classmethod get_by_uuid N/A N/A cls uuid N/A N/A N/A N/A N/A N/A cls objects get uuid uuid N/A classmethod get_by_election_and_uuid N/A N/A cls election uuid N/A N/A N/A N/A N/A N/A cls objects get election election uuid uuid N/A classmethod get_by_election_and_email N/A N/A cls election email N/A N/A N/A N/A N/A N/A N/A N/A cls objects get election election email email N/A N/A N/A N/A cls DoesNotExist N/A N/A None N/A classmethod datatype N/A N/A self N/A N/A N/A N/A N/A N/A N/A self election datatype replace Election Trustee N/A property verify_decryption_proofs N/A N/A self N/A N/A N/A 
    verify that the decryption proofs match the tally for the election
     N/A N/A N/A N/A N/A self election encrypted_tally verify_decryption_proofs N/A self decryption_factors N/A self decryption_proofs N/A self public_key N/A algs EG_fiatshamir_challenge_generator N/A N/A