Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Return Dict Str Call NameLoad Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str BinOpAdd Str Call NameLoad Call NameLoad Num Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str NameLoad Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return Dict decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Delete SubscriptDel NameLoad Index SubscriptLoad AttributeLoad NameLoad attr Index Str Return Dict decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Num NameLoad Expr Call AttributeLoad NameLoad attr
N/A os.path dirname os.path realpath random randint wsgiref.simple_server make_server pyramid.config Configurator pyramid.events NewRequest rest_toolkit resource N/A todos N/A td1 td2 td3 td4 N/A id title td1 Firstie N/A id title td2 Second N/A id title td3 Another N/A id title td4 Last TodoCollection N/A object N/A __init__ N/A N/A self request N/A N/A N/A N/A N/A N/A resource /todos list_todos N/A N/A collection request N/A N/A N/A N/A data N/A list N/A N/A todos values N/A N/A N/A TodoCollection GET add_todo N/A N/A collection request N/A N/A N/A todo N/A id title N/A td N/A str N/A randint 100 9999 N/A N/A request json_body N/A title N/A N/A todos N/A N/A todo N/A id todo N/A N/A data todo N/A N/A N/A TodoCollection POST TodoResource N/A object N/A __init__ N/A N/A self request N/A N/A N/A N/A self data N/A todos N/A N/A N/A request matchdict N/A id N/A N/A N/A resource /todos/{id} view_todo N/A N/A todo request N/A N/A N/A N/A todo data N/A N/A N/A TodoResource GET update_todo N/A N/A todo request N/A N/A N/A N/A N/A todo data N/A title N/A N/A request json_body N/A title N/A N/A N/A N/A N/A TodoResource PUT delete_todo N/A N/A todo request N/A N/A N/A N/A todos N/A N/A N/A todo data N/A id N/A N/A N/A N/A N/A TodoResource DELETE add_cors_callback N/A N/A event N/A N/A N/A headers Origin, Content-Type, Accept, Authorization cors_headers N/A N/A request response N/A N/A N/A N/A N/A N/A response headers update N/A Access-Control-Allow-Origin Access-Control-Allow-Headers * headers N/A N/A N/A N/A N/A event request add_response_callback cors_headers N/A N/A N/A __name__ __main__ N/A N/A config N/A Configurator N/A N/A N/A config include rest_toolkit N/A N/A N/A config add_static_view static N/A dirname N/A realpath __file__ N/A N/A N/A config add_subscriber add_cors_callback NewRequest N/A N/A N/A config scan . N/A app N/A N/A config make_wsgi_app N/A server N/A make_server 0.0.0.0 8088 app N/A N/A N/A server serve_forever