From a9e08d173b5505993ed51e0bf181f6b63e7e27f4 Mon Sep 17 00:00:00 2001 From: julius Date: Fri, 18 Mar 2022 14:33:25 -0700 Subject: [PATCH] add support for raw command cursors --- pymongo/command_cursor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pymongo/command_cursor.py b/pymongo/command_cursor.py index 0c7fd6740..dc32bde16 100644 --- a/pymongo/command_cursor.py +++ b/pymongo/command_cursor.py @@ -316,6 +316,7 @@ class RawBatchCommandCursor(CommandCursor, Generic[_DocumentType]): max_await_time_ms: Optional[int] = None, session: Optional["ClientSession"] = None, explicit_session: bool = False, + comment: Any = None, ) -> None: """Create a new cursor / iterator over raw batches of BSON data. @@ -334,6 +335,7 @@ class RawBatchCommandCursor(CommandCursor, Generic[_DocumentType]): max_await_time_ms, session, explicit_session, + comment, ) def _unpack_response(