Module ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Assign NameStore Call NameLoad keyword Call NameLoad NameLoad Str NameLoad keyword Call NameLoad NameLoad Str NameLoad ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore NameLoad If BoolOpAnd NameLoad CompareIn Str AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Return IfExp CompareIsNot NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq Call NameLoad NameLoad Num body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Return Dict Str BinOpAdd NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict If CompareEq NameLoad NameLoad body Return NameLoad For NameStore AttributeLoad NameLoad attr body If CompareNotIn NameLoad ListLoad Str Str Str Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareIs NameLoad NameLoad CompareNotIn Str AttributeLoad NameLoad attr body Return TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore NameLoad If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str Call NameLoad Call AttributeLoad NameLoad attr Str Dict Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad Str keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A bson ObjectId pymongo Connection ASCENDING DESCENDING django.core.exceptions ImproperlyConfigured django.core.urlresolvers reverse django.conf settings tastypie.bundle Bundle tastypie.resources Resource N/A pdb openpds.core.models Profile N/A db N/A Connection host N/A getattr settings MONGODB_HOST None port N/A getattr settings MONGODB_PORT None Document N/A dict N/A N/A __getattr__ N/A dict get N/A MongoDBResource N/A Resource N/A N/A 
    A base resource that allows to make CRUD operations for mongodb.
     get_collection N/A N/A self request N/A N/A N/A 
        Encapsulates collection name.
         N/A N/A N/A database None N/A N/A request N/A datastore_owner__uuid N/A request GET N/A N/A N/A profile created N/A N/A N/A Profile objects get_or_create uuid N/A N/A request GET N/A datastore_owner__uuid N/A database N/A N/A profile getDBName N/A N/A N/A database None N/A N/A db N/A database N/A N/A N/A self _meta collection None N/A N/A N/A AttributeError N/A N/A N/A ImproperlyConfigured Define a collection in your resource. N/A get_filter_object_value N/A N/A self parts value N/A N/A N/A 
        Gets object that describes the operation to apply in a filter, as a mongodb filter object. 
        A simple string value means equality. Compound objects are of the form { operation : value }
        For example, "endsin" becomes { "$regex" : "value$" }
        Note: this currently only handles filtering on top-level fields, not sub-fields, etc.
         N/A N/A N/A len parts 1 N/A N/A value N/A op N/A parts N/A 1 N/A N/A op endsin N/A N/A N/A $regex N/A value $ N/A value N/A get_filter_object N/A N/A self request N/A N/A N/A filter_object N/A N/A N/A request None N/A N/A filter_object N/A var N/A request GET N/A N/A N/A var N/A datastore_owner__uuid format bearer_token order_by N/A N/A value N/A N/A request GET N/A var N/A parts N/A N/A var split __ N/A name N/A parts N/A 0 N/A N/A filter_object N/A name N/A N/A self get_filter_object_value parts value N/A filter_object N/A get_order_field_and_direction N/A N/A self request N/A N/A N/A N/A N/A request None N/A order_by N/A request GET N/A N/A N/A None None N/A field_name N/A N/A request GET N/A order_by N/A direction ASCENDING N/A N/A N/A field_name N/A 0 - N/A N/A field_name N/A field_name N/A 1 N/A direction DESCENDING N/A N/A field_name direction N/A obj_get_list N/A N/A self request N/A None kwargs N/A N/A 
        Maps mongodb documents to Document class.
         N/A filter_object N/A N/A self get_filter_object request N/A list N/A N/A N/A N/A self get_collection request find filter_object N/A N/A order_field direction N/A N/A self get_order_field_and_direction request N/A N/A order_field None N/A N/A N/A N/A list sort order_field direction N/A N/A map Document list N/A obj_get N/A N/A self request N/A None kwargs N/A N/A 
        Returns mongodb document from provided id.
         N/A N/A Document N/A N/A N/A N/A self get_collection request find_one N/A _id N/A ObjectId N/A N/A kwargs get pk N/A obj_create N/A N/A self bundle request N/A None kwargs N/A N/A 
        Creates mongodb document from POST data.
         N/A object_id N/A N/A N/A N/A self get_collection request insert N/A bundle data N/A N/A bundle obj N/A N/A self obj_get request pk object_id N/A bundle N/A obj_update N/A N/A self bundle request N/A None kwargs N/A N/A 
        Updates mongodb document.
         N/A N/A N/A N/A N/A self get_collection request update N/A _id N/A ObjectId N/A N/A kwargs get pk N/A $set N/A bundle data N/A bundle N/A obj_delete N/A N/A self request N/A None kwargs N/A N/A 
        Removes single document from collection
         N/A N/A N/A N/A N/A self get_collection request remove N/A _id N/A ObjectId N/A N/A kwargs get pk N/A obj_delete_list N/A N/A self request N/A None kwargs N/A N/A 
        Removes all documents from collection
         N/A N/A N/A N/A N/A self get_collection request remove N/A get_resource_uri N/A N/A self item N/A N/A N/A 
        Returns resource URI for bundle or object.
         N/A N/A isinstance item Bundle N/A N/A pk N/A N/A item obj _id N/A N/A pk N/A item _id N/A N/A reverse api_dispatch_detail kwargs N/A resource_name api_name pk N/A N/A self _meta resource_name N/A N/A self _meta api_name pk N/A N/A