MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / __init__

Method __init__

pymongo/asynchronous/cursor.py:1183–1194  ·  view source on GitHub ↗

Create a new cursor / iterator over raw batches of BSON data. Should not be called directly by application developers - see :meth:`~pymongo.asynchronous.collection.AsyncCollection.find_raw_batches` instead. .. seealso:: The MongoDB documentation on `cursors <https:/

(
        self, collection: AsyncCollection[_DocumentType], *args: Any, **kwargs: Any
    )

Source from the content-addressed store, hash-verified

1181 _getmore_class = _RawBatchGetMore
1182
1183 def __init__(
1184 self, collection: AsyncCollection[_DocumentType], *args: Any, **kwargs: Any
1185 ) -> None:
1186 """Create a new cursor / iterator over raw batches of BSON data.
1187
1188 Should not be called directly by application developers -
1189 see :meth:`~pymongo.asynchronous.collection.AsyncCollection.find_raw_batches`
1190 instead.
1191
1192 .. seealso:: The MongoDB documentation on `cursors <https://dochub.mongodb.org/core/cursors>`_.
1193 """
1194 super().__init__(collection, *args, **kwargs)
1195
1196 def _unpack_response(
1197 self,

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected