(self, conn: _AgnosticConnection)
| 1861 | |
| 1862 | class _RawBatchGetMore(_GetMore): |
| 1863 | def use_command(self, conn: _AgnosticConnection) -> bool: |
| 1864 | # Compatibility checks. |
| 1865 | super().use_command(conn) |
| 1866 | if conn.max_wire_version >= 8: |
| 1867 | # MongoDB 4.2+ supports exhaust over OP_MSG |
| 1868 | return True |
| 1869 | elif not self.exhaust: |
| 1870 | return True |
| 1871 | return False |
| 1872 | |
| 1873 | |
| 1874 | class _CursorAddress(tuple[Any, ...]): |
nothing calls this directly
no test coverage detected