Skip to content

Commit 70636a2

Browse files
committed
pre commit
1 parent 0b69e83 commit 70636a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mongoengine/queryset/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,9 @@ def update(
562562

563563
queryset = self.clone()
564564
query = queryset._query
565-
if "__raw__" in update and isinstance(update["__raw__"], list): # Case of Update with Aggregation Pipeline
565+
if "__raw__" in update and isinstance(
566+
update["__raw__"], list
567+
): # Case of Update with Aggregation Pipeline
566568
update = [
567569
transform.update(queryset._document, **{"__raw__": u})
568570
for u in update["__raw__"]

0 commit comments

Comments
 (0)