Module Import alias ImportFrom alias alias alias Assign NameStore Call NameLoad NameLoad Import alias FunctionDef arguments args defaults body Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Num body Return Call NameLoad Str Return Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str
N/A N/A json flask Flask render_template request N/A app N/A Flask __name__ N/A requests index N/A N/A N/A N/A N/A N/A render_template index.html N/A N/A N/A app route / vote N/A N/A voting_id N/A N/A N/A N/A N/A request method POST N/A N/A option N/A N/A request form N/A voting_option N/A data N/A option option N/A result N/A N/A requests post http://localhost:8080/vote data N/A N/A json dumps data N/A N/A N/A result status_code 204 N/A N/A N/A render_template success.html N/A N/A render_template vote.html N/A N/A N/A app route /voting/<int:voting_id> methods N/A GET POST N/A N/A __name__ __main__ N/A N/A N/A N/A app run debug True host 0.0.0.0