Skip to content

Commit 816632a

Browse files
committed
typing
1 parent 3cfdfee commit 816632a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymongo/asynchronous/client_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def active(self) -> bool:
414414
def starting(self) -> bool:
415415
return self.state == _TxnState.STARTING
416416

417-
def set_starting(self):
417+
def set_starting(self) -> None:
418418
self.state = _TxnState.STARTING
419419

420420
@property

pymongo/synchronous/client_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def active(self) -> bool:
412412
def starting(self) -> bool:
413413
return self.state == _TxnState.STARTING
414414

415-
def set_starting(self):
415+
def set_starting(self) -> None:
416416
self.state = _TxnState.STARTING
417417

418418
@property

0 commit comments

Comments
 (0)