Do a dict.copy() so we don't overwrite the original.
This commit is contained in:
parent
c0276b5609
commit
a197097164
@ -200,6 +200,9 @@ def delete(object_id):
|
||||
|
||||
def find(query, sorting=None, limit=None, offset=None, reply_handler=None,
|
||||
error_handler=None):
|
||||
|
||||
query = query.copy()
|
||||
|
||||
if sorting:
|
||||
query['order_by'] = sorting
|
||||
if limit:
|
||||
|
Loading…
Reference in New Issue
Block a user