Module Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Call NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword Dict Str Str Str Str Str Num Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str ListLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad ListLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Str FunctionDef arguments args NameParam defaults kwarg body Assign TupleStore NameStore NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore BinOpBitOr Call NameLoad NameLoad Call NameLoad ListLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return UnaryOpNot AttributeLoad NameLoad attr decorator_list decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad Assign NameStore ListLoad Str decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases NameLoad body Assign NameStore Num decorator_list ClassDef bases NameLoad body Assign NameStore Num decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Return Dict Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list Call AttributeLoad NameLoad attr keyword Str ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str keyword Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Str If CompareEq NameLoad Str body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad
N/A N/A os flask Flask request flask.ext.mongoengine MongoEngine flask.ext.mongorest MongoRest flask.ext.mongorest.views ResourceView flask.ext.mongorest.resources Resource flask.ext.mongorest operators ops flask.ext.mongorest.methods * flask.ext.mongorest.authentication AuthenticationBase example schemas documents N/A app N/A Flask __name__ N/A N/A N/A app url_map strict_slashes False N/A N/A N/A N/A app config update DEBUG True TESTING True MONGODB_SETTINGS N/A HOST PORT DB TZ_AWARE localhost 27017 mongorest_example_app True N/A db N/A MongoEngine app N/A api N/A MongoRest app UserResource N/A Resource N/A N/A document N/A documents User N/A schema N/A schemas User N/A filters N/A datetime N/A N/A ops Exact N/A UserView N/A ResourceView N/A N/A resource UserResource N/A methods N/A Create Update Fetch List Delete N/A N/A N/A api register ContentResource N/A Resource N/A N/A document N/A documents Content N/A PostResource N/A Resource N/A N/A document N/A documents Post N/A schema N/A schemas Post N/A related_resources N/A content sections primary_user ContentResource ContentResource UserResource N/A filters N/A title author_id is_published N/A N/A ops Exact N/A ops Startswith N/A N/A ops In allow_negation True N/A N/A ops Exact N/A N/A ops Boolean N/A rename_fields N/A author author_id get_objects N/A N/A self N/A kwargs N/A N/A N/A qs has_more N/A N/A N/A super PostResource self get_objects kwargs N/A N/A qs has_more N/A more stuff N/A get_fields N/A N/A self N/A N/A N/A fields N/A N/A N/A super PostResource self get_fields N/A N/A _include_primary_user N/A request args N/A N/A fields N/A N/A set fields N/A set N/A primary_user N/A fields N/A update_object N/A N/A self obj data save parent_resources N/A None True None N/A N/A data N/A data N/A self data N/A N/A N/A data get author N/A N/A author N/A data N/A author N/A N/A N/A author email vincent@vangogh.com N/A N/A N/A N/A N/A obj tags append art N/A N/A N/A N/A super PostResource self update_object obj data save parent_resources N/A N/A PostView N/A ResourceView N/A N/A resource PostResource N/A methods N/A Create Update BulkUpdate Fetch List Delete N/A N/A N/A api register name posts url /posts/ LimitedPostResource N/A Resource N/A N/A document N/A documents Post N/A related_resources N/A content ContentResource N/A LimitedPostView N/A ResourceView N/A N/A resource LimitedPostResource N/A methods N/A Create Update Fetch List N/A N/A N/A api register name limited_posts url /limited_posts/ DummyAuthenication N/A AuthenticationBase N/A authorized N/A N/A self N/A N/A N/A False N/A N/A DummyAuthView N/A ResourceView N/A N/A resource PostResource N/A methods N/A Create Update Fetch List Delete N/A authentication_methods N/A DummyAuthenication N/A N/A N/A api register name auth url /auth/ RestrictedPostView N/A ResourceView N/A N/A This class allows us to put restrictions in place regarding
       who/what can be read, changed, added or deleted N/A resource PostResource N/A methods N/A Create Update Fetch List Delete has_read_permission N/A N/A self request qs N/A N/A N/A N/A N/A qs filter is_published True N/A has_add_permission N/A N/A self request obj N/A N/A N/A N/A N/A obj is_published N/A has_change_permission N/A N/A self request obj N/A N/A N/A N/A N/A obj is_published N/A has_delete_permission N/A N/A self request obj N/A N/A N/A N/A N/A obj is_published N/A N/A N/A N/A api register name restricted url /restricted/ TestDocument N/A N/A db Document N/A N/A name N/A N/A db StringField N/A other N/A N/A db StringField N/A dictfield N/A N/A db DictField N/A is_new N/A N/A db BooleanField N/A TestResource N/A Resource N/A N/A document TestDocument N/A TestFieldsResource N/A Resource N/A N/A document TestDocument N/A fields N/A id name upper_name upper_name N/A N/A self obj N/A N/A N/A N/A N/A N/A obj name upper N/A N/A TestView N/A ResourceView N/A N/A resource TestResource N/A methods N/A Create Update Fetch List N/A N/A N/A api register name test url /test/ TestFieldsResource N/A ResourceView N/A N/A resource TestFieldsResource N/A methods N/A Create Update Fetch List N/A N/A N/A api register name testfields url /testfields/ LanguageResource N/A Resource N/A N/A document N/A documents Language N/A PersonResource N/A Resource N/A N/A document N/A documents Person N/A schema N/A schemas Person N/A related_resources N/A languages LanguageResource N/A save_related_fields N/A languages N/A PersonView N/A ResourceView N/A N/A resource PersonResource N/A methods N/A Create Update Fetch List N/A N/A N/A api register name person url /person/ Post10Resource N/A PostResource N/A N/A max_limit 10 N/A Post250Resource N/A PostResource N/A N/A max_limit 250 N/A Post10View N/A ResourceView N/A N/A resource Post10Resource N/A methods N/A Create Update BulkUpdate Fetch List Delete N/A N/A N/A api register name posts10 url /posts10/ Post250View N/A ResourceView N/A N/A resource Post250Resource N/A methods N/A Create Update BulkUpdate Fetch List Delete N/A N/A N/A api register name posts250 url /posts250/ A N/A N/A db Document N/A N/A txt N/A N/A db StringField N/A B N/A N/A db Document N/A N/A ref N/A N/A db ReferenceField A dbref True N/A txt N/A N/A db StringField N/A C N/A N/A db Document N/A N/A ref N/A N/A db ReferenceField A N/A txt N/A N/A db StringField N/A AResource N/A Resource N/A N/A document A N/A BResource N/A Resource N/A N/A document B N/A CResource N/A Resource N/A N/A document C N/A AView N/A ResourceView N/A N/A resource AResource N/A methods N/A Create Update BulkUpdate Fetch List Delete N/A N/A N/A api register url /a/ AView N/A ResourceView N/A N/A resource BResource N/A methods N/A Create Update BulkUpdate Fetch List Delete N/A N/A N/A api register url /b/ AView N/A ResourceView N/A N/A resource CResource N/A methods N/A Create Update BulkUpdate Fetch List Delete N/A N/A N/A api register url /c/ MethodTestDoc N/A N/A db Document N/A N/A txt N/A N/A db StringField N/A MethodTestResource N/A Resource N/A N/A document MethodTestDoc N/A CreateOnlyView N/A ResourceView N/A N/A resource MethodTestResource N/A methods N/A Create N/A N/A N/A api register url /create_only/ UpdateOnlyView N/A ResourceView N/A N/A resource MethodTestResource N/A methods N/A Update N/A N/A N/A api register url /update_only/ BulkUpdateOnlyView N/A ResourceView N/A N/A resource MethodTestResource N/A methods N/A BulkUpdate N/A N/A N/A api register url /bulk_update_only/ FetchOnlyView N/A ResourceView N/A N/A resource MethodTestResource N/A methods N/A Fetch N/A N/A N/A api register url /fetch_only/ ListOnlyView N/A ResourceView N/A N/A resource MethodTestResource N/A methods N/A List N/A N/A N/A api register url /list_only/ DeleteOnlyView N/A ResourceView N/A N/A resource MethodTestResource N/A methods N/A Delete N/A N/A N/A api register url /delete_only/ ViewMethodTestDoc N/A N/A db Document N/A N/A txt N/A N/A db StringField N/A ViewMethodTestResource N/A Resource N/A N/A document ViewMethodTestDoc N/A TestViewMethodView N/A ResourceView N/A N/A resource ViewMethodTestResource N/A methods N/A Create Update BulkUpdate Fetch List Delete _dispatch_request N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super TestViewMethodView self _dispatch_request args kwargs N/A N/A method N/A N/A N/A self _resource view_method __name__ N/A N/A N/A N/A api register url /test_view_method/ DateTimeResource N/A Resource N/A N/A document N/A documents DateTime N/A schema N/A schemas DateTime N/A DateTimeView N/A ResourceView N/A N/A resource DateTimeResource N/A methods N/A Create Update Fetch List N/A N/A N/A api register name datetime url /datetime/ DictDoc N/A N/A db Document N/A N/A dict N/A N/A db DictField N/A DictDocResource N/A Resource N/A N/A document DictDoc N/A DictDocView N/A ResourceView N/A N/A resource DictDocResource N/A methods N/A Fetch List Create Update N/A N/A N/A api register url /dict_doc/ N/A N/A __name__ __main__ N/A N/A port N/A int N/A N/A N/A os environ get PORT 8000 N/A N/A N/A app run host 0.0.0.0 port port