@@ -50,7 +50,7 @@ def _unpack_response(response, *args, **kwargs):
50
50
# Wrap Cursor.insert for getting queries
51
51
@functools .wraps (_original_methods ['insert' ])
52
52
def _insert (collection_self , doc_or_docs , manipulate = True ,
53
- safe = False , check_keys = True , ** kwargs ):
53
+ safe = None , check_keys = True , ** kwargs ):
54
54
start_time = time .time ()
55
55
result = _original_methods ['insert' ](
56
56
collection_self ,
@@ -76,7 +76,7 @@ def _insert(collection_self, doc_or_docs, manipulate=True,
76
76
# Wrap Cursor.update for getting queries
77
77
@functools .wraps (_original_methods ['update' ])
78
78
def _update (collection_self , spec , document , upsert = False ,
79
- maniuplate = False , safe = False , multi = False , ** kwargs ):
79
+ maniuplate = False , safe = None , multi = False , ** kwargs ):
80
80
start_time = time .time ()
81
81
result = _original_methods ['update' ](
82
82
collection_self ,
@@ -106,7 +106,7 @@ def _update(collection_self, spec, document, upsert=False,
106
106
107
107
# Wrap Cursor.remove for getting queries
108
108
@functools .wraps (_original_methods ['remove' ])
109
- def _remove (collection_self , spec_or_id , safe = False , ** kwargs ):
109
+ def _remove (collection_self , spec_or_id , safe = None , ** kwargs ):
110
110
start_time = time .time ()
111
111
result = _original_methods ['remove' ](
112
112
collection_self ,
0 commit comments