Skip to content

Commit afcd26e

Browse files
committed
Get linters passing
1 parent 7b80567 commit afcd26e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

mongoengine/queryset/base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,11 @@ def update(
590590
if multi:
591591
update_func = collection.update_many
592592
result = update_func(
593-
query, update, upsert=upsert, array_filters=array_filters, session=_get_session()
593+
query,
594+
update,
595+
upsert=upsert,
596+
array_filters=array_filters,
597+
session=_get_session(),
594598
)
595599
if full_result:
596600
return result

tests/test_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
from mongoengine.connection import (
3131
DEFAULT_DATABASE_NAME,
3232
ConnectionFailure,
33-
_get_session,
3433
_get_connection_settings,
34+
_get_session,
3535
disconnect,
3636
get_connection,
3737
get_db,

0 commit comments

Comments
 (0)