Module Import alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Assign NameStore Dict Assign NameStore Num TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Num Assign NameStore Dict Str Str Num Call NameLoad NameLoad ExceptHandler type NameLoad name NameStore body Assign NameStore Num Assign NameStore Dict Str Str Num Call NameLoad NameLoad ExceptHandler type NameLoad name NameStore body Assign NameStore Num Expr Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str NameLoad Num Str Call AttributeLoad NameLoad attr Return TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Dict Str Str decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Return Call NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Return Call NameLoad NameLoad NameLoad decorator_list NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpAnd CompareIn Str NameLoad CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num If UnaryOpNot NameLoad body Raise Call NameLoad Str Return Call NameLoad NameLoad NameLoad decorator_list NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If CompareNotIn Str NameLoad body Raise Call NameLoad Str If CompareNotIn Str AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareNotEq SubscriptLoad NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Raise Call NameLoad Str Return Call NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Raise Call NameLoad Str Return Call NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If BoolOpOr CompareEq Call AttributeLoad NameLoad attr Str NameLoad NameLoad CompareGt Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Return Call NameLoad NameLoad NameLoad orelse Raise Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body If BoolOpOr CompareEq Call AttributeLoad NameLoad attr Str NameLoad NameLoad CompareLt Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Return Call NameLoad NameLoad NameLoad orelse Raise Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list
N/A N/A json traceback N/A api api.exceptions * datetime datetime functools wraps flask session request abort api_wrapper N/A N/A f N/A N/A wrapper N/A N/A N/A args kwds N/A N/A web_result N/A N/A response 200 N/A N/A N/A web_result N/A f args kwds N/A N/A N/A WebException N/A error N/A N/A response 200 N/A web_result N/A success message 0 N/A str error N/A N/A APIException N/A error N/A N/A response 500 N/A web_result N/A success message 0 N/A str error N/A N/A Exception N/A error N/A N/A response 200 N/A N/A N/A traceback print_exc N/A web_result N/A success message error 0 Something went wrong! Please notify us about this immediately. N/A N/A traceback format_exc N/A N/A N/A N/A json dumps web_result response N/A Content-Type application/json; charset=utf-8 N/A N/A wraps f N/A wrapper N/A require_login N/A N/A f N/A N/A wrapper N/A N/A N/A args kwds N/A N/A N/A N/A N/A N/A api auth is_logged_in N/A N/A N/A WebException You must be logged in. N/A N/A f args kwds N/A N/A wraps f N/A wrapper N/A require_teacher N/A N/A f N/A N/A wrapper N/A N/A N/A args kwds N/A N/A N/A N/A N/A session get admin False N/A N/A N/A N/A N/A N/A api user is_teacher N/A N/A N/A WebException You must be a teacher! N/A N/A f args kwds N/A require_login N/A wraps f N/A wrapper N/A require_team N/A N/A f N/A N/A wrapper N/A N/A N/A args kwds N/A N/A N/A N/A N/A session get admin False N/A N/A user N/A N/A N/A api user get_user N/A in_team N/A N/A team user N/A N/A len N/A user N/A team 1 N/A N/A in_team N/A N/A N/A WebException You must be in a team! N/A N/A f args kwds N/A require_login N/A wraps f N/A wrapper N/A check_csrf N/A N/A f N/A N/A wrapper N/A N/A N/A args kwds N/A N/A N/A token session N/A N/A N/A WebException CSRF token is not in session. N/A N/A token N/A request form N/A N/A N/A WebException CSRF token is not in form. N/A N/A N/A session N/A token N/A N/A request form N/A token N/A N/A N/A WebException The token is invalid. N/A N/A f args kwds N/A N/A wraps f require_login N/A wrapper N/A require_admin N/A N/A f N/A N/A wrapper N/A N/A N/A args kwds N/A N/A N/A N/A N/A session get admin False N/A N/A N/A WebException You must be an admin! N/A N/A f args kwds N/A N/A wraps f N/A wrapper N/A block_before_competition N/A N/A return_result N/A N/A decorator N/A N/A f N/A N/A wrapper N/A N/A N/A args kwds N/A N/A N/A N/A N/A N/A session get admin False True N/A N/A N/A N/A N/A datetime utcnow timestamp N/A N/A N/A N/A api config start_time timestamp N/A N/A N/A f args kwds N/A N/A N/A WebException return_result N/A N/A wraps f N/A wrapper N/A N/A decorator N/A block_after_competition N/A N/A return_result N/A N/A decorator N/A N/A f N/A N/A wrapper N/A N/A N/A args kwds N/A N/A N/A N/A N/A N/A session get admin False True N/A N/A N/A N/A N/A datetime utcnow timestamp N/A N/A N/A N/A api config end_time timestamp N/A N/A N/A f args kwds N/A N/A N/A WebException return_result N/A N/A wraps f N/A wrapper N/A N/A decorator N/A