From 30ebc1d0902cedfd408b2652aedf847bbf11b22a Mon Sep 17 00:00:00 2001 From: lilinjie <102012657+uniontech-lilinjie@users.noreply.github.com> Date: Tue, 4 Apr 2023 11:46:14 +0000 Subject: [PATCH] fix typo (#1179) --- pymongo/client_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymongo/client_session.py b/pymongo/client_session.py index d73672c5b..1ec0b1647 100644 --- a/pymongo/client_session.py +++ b/pymongo/client_session.py @@ -600,7 +600,7 @@ class ClientSession: In the event of an exception, ``with_transaction`` may retry the commit or the entire transaction, therefore ``callback`` may be invoked multiple times by a single call to ``with_transaction``. Developers - should be mindful of this possiblity when writing a ``callback`` that + should be mindful of this possibility when writing a ``callback`` that modifies application state or has any other side-effects. Note that even when the ``callback`` is invoked multiple times, ``with_transaction`` ensures that the transaction will be committed