Module ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num If CompareGtE Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A BulkInsertBuffer N/A object N/A __init__ N/A N/A self doc_cls maxsize N/A 1000 N/A N/A 
        Arguments:

        * doc_cls - MongoEngine Document class
        * maxsize - Maximum items in buffer. Default is 1000. 
         N/A N/A self _doc_cls doc_cls N/A N/A self _maxsize maxsize N/A N/A self _items N/A N/A N/A self _count 0 N/A append N/A N/A self obj N/A N/A N/A N/A N/A N/A self _items append obj N/A N/A self _count 1 N/A N/A N/A len N/A self _items N/A self _maxsize N/A N/A N/A N/A self flush N/A flush N/A N/A self N/A N/A N/A N/A len N/A self _items N/A N/A N/A N/A N/A N/A self _doc_cls objects insert N/A self _items load_bulk False N/A N/A self _items N/A N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self _items N/A count N/A N/A self N/A N/A N/A N/A self _count N/A N/A