File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 )):
Original file line number Diff line number Diff 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 )):
You can’t perform that action at this time.
0 commit comments