Skip to content

Commit 4fdd9c5

Browse files
committed
typing
1 parent 1a364ee commit 4fdd9c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymongo/asynchronous/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ async def run_operation(
224224
if use_cmd:
225225
first = docs[0]
226226
await operation.client._process_response(first, operation.session) # type: ignore[misc, arg-type]
227-
_check_command_response(first, conn.max_wire_version, pool_opts=conn.opts)
227+
_check_command_response(first, conn.max_wire_version, pool_opts=conn.opts) # type:ignore[has-type]
228228
except Exception as exc:
229229
duration = datetime.now() - start
230230
if isinstance(exc, (NotPrimaryError, OperationFailure)):

pymongo/synchronous/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def run_operation(
224224
if use_cmd:
225225
first = docs[0]
226226
operation.client._process_response(first, operation.session) # type: ignore[misc, arg-type]
227-
_check_command_response(first, conn.max_wire_version, pool_opts=conn.opts)
227+
_check_command_response(first, conn.max_wire_version, pool_opts=conn.opts) # type:ignore[has-type]
228228
except Exception as exc:
229229
duration = datetime.now() - start
230230
if isinstance(exc, (NotPrimaryError, OperationFailure)):

0 commit comments

Comments
 (0)