Skip to content

Commit 9ca4cdd

Browse files
committed
Clean up run_in_transaction doc string
Not a context mgr anymore
1 parent 0729223 commit 9ca4cdd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mongoengine/connection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,7 @@ def run_in_transaction(
509509
session_kwargs=None,
510510
transaction_kwargs=None,
511511
):
512-
"""run_in_transaction context manager
513-
Execute queries within a MongoDB transaction.
512+
"""Execute queries within a MongoDB transaction.
514513
515514
Usage:
516515

0 commit comments

Comments
 (0)