add support for raw command cursors

This commit is contained in:
julius 2022-03-18 14:33:25 -07:00
parent c3cc02ee37
commit a9e08d173b

View File

@ -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(