Module ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword NameLoad If BoolOpAnd Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call NameLoad BinOpMod Str AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr attr NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If CompareNotIn Str AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If BoolOpAnd UnaryOpNot CompareIn Str NameLoad Call NameLoad NameLoad Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot CompareIn Str NameLoad Call NameLoad NameLoad Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot CompareIn Str NameLoad Call NameLoad NameLoad Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot CompareIn Str NameLoad Call NameLoad NameLoad Str body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Return Call SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareGt NameLoad Num body Raise Call NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Num body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub NameLoad Num Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr keyword NameLoad NameLoad decorator_list decorator_list
N/A pymongo.collection Collection PymongoCollection mongokit.mongo_exceptions MultipleResultsFound mongokit.cursor Cursor warnings warn Collection N/A PymongoCollection N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A self _documents N/A N/A N/A self _collections N/A N/A N/A N/A N/A super Collection self __init__ args kwargs N/A N/A self _registered_documents N/A N/A N/A self database connection _registered_documents N/A __getattr__ N/A N/A self key N/A N/A N/A N/A key N/A self _registered_documents N/A N/A N/A N/A key N/A self _documents N/A N/A N/A N/A self _documents N/A key N/A N/A N/A self _registered_documents N/A key collection self N/A N/A N/A hasattr N/A N/A self _documents N/A key i18n N/A N/A N/A self _documents N/A key i18n N/A N/A N/A N/A N/A self _documents N/A key N/A N/A N/A N/A self _documents N/A key indexes N/A N/A N/A warn N/A %s: Be careful, index generation is not automatic anymore.You have to generate your index youself N/A N/A N/A N/A self _documents N/A key _obj_class __name__ DeprecationWarning N/A N/A N/A self _documents N/A key N/A N/A newkey N/A %s.%s N/A N/A self name key N/A N/A N/A newkey N/A self _collections N/A N/A N/A N/A self _collections N/A newkey N/A Collection N/A self database newkey N/A N/A N/A self _collections N/A newkey N/A __call__ N/A N/A self N/A args kwargs N/A N/A N/A . N/A self __name N/A N/A N/A TypeError N/A 'Collection' object is not callable. If you meant to call the '%s' method on a 'Database' object it is failing because no such method exists. N/A self __name N/A name N/A N/A N/A N/A self __name split . N/A -1 N/A N/A TypeError N/A 'Collection' object is not callable. If you meant to call the '%s' method on a 'Collection' object it is failing because no such method exists.
If '%s' is a Document then you may have forgotten to register it to the connection. N/A name name N/A find N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A slave_okay kwargs N/A hasattr self slave_okay N/A N/A N/A kwargs N/A slave_okay N/A self slave_okay N/A N/A N/A N/A read_preference kwargs N/A hasattr self read_preference N/A N/A N/A kwargs N/A read_preference N/A self read_preference N/A N/A N/A N/A tag_sets kwargs N/A hasattr self tag_sets N/A N/A N/A kwargs N/A tag_sets N/A self tag_sets N/A N/A N/A N/A secondary_acceptable_latency_ms kwargs N/A hasattr self secondary_acceptable_latency_ms N/A N/A N/A kwargs N/A secondary_acceptable_latency_ms N/A self secondary_acceptable_latency_ms N/A N/A Cursor self args kwargs N/A N/A N/A find __doc__ N/A N/A N/A PymongoCollection find __doc__ 
        added by mongokit::
            - `wrap` (optional): a class object used to wrap
            documents in the query result
     find_and_modify N/A N/A self N/A args kwargs N/A N/A obj_class N/A N/A kwargs pop wrap None N/A doc N/A N/A N/A super Collection self find_and_modify args kwargs N/A N/A doc obj_class N/A N/A N/A N/A N/A self collection N/A N/A obj_class __name__ doc N/A doc N/A N/A N/A find_and_modify __doc__ N/A N/A N/A PymongoCollection find_and_modify __doc__ 
        added by mongokit::
             - `wrap` (optional): a class object used to wrap
             documents in the query result
      get_from_id N/A N/A self id N/A N/A N/A 
        return the document which has the id
         N/A N/A N/A self find_one N/A _id id N/A one N/A N/A self N/A args kwargs N/A N/A bson_obj N/A N/A self find args kwargs N/A count N/A N/A bson_obj count N/A N/A count 1 N/A N/A N/A MultipleResultsFound N/A %s results found count N/A N/A N/A count 1 N/A N/A N/A N/A bson_obj next N/A find_random N/A N/A self N/A N/A N/A 
        return one random document from the collection
         N/A random N/A max N/A N/A self count N/A max N/A N/A num N/A N/A random randint 0 N/A max 1 N/A N/A N/A N/A N/A N/A N/A self find skip num next N/A find_fulltext N/A N/A self search N/A kwargs N/A N/A 
        Executes a full-text search. Additional parameters may be passed as keyword arguments.
         N/A N/A N/A N/A self database command text N/A self name search search kwargs N/A N/A