We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 606eaa6 commit b98b99aCopy full SHA for b98b99a
pymongo/_csot.py
@@ -71,7 +71,7 @@ def reset() -> Generator:
71
if timeout is None:
72
deadline_token = DEADLINE.set(DEADLINE.get())
73
else:
74
- deadline_token = DEADLINE.set(DEADLINE.get() + timeout) # type: ignore[operator]
+ deadline_token = DEADLINE.set(DEADLINE.get() + timeout)
75
yield
76
DEADLINE.reset(deadline_token)
77
0 commit comments